ArduinoCodegenIntegration
Integration class that combines C code generation with Arduino library packaging.
This class provides the integration between the CCodeGenerator and ArduinoLibraryPackager, ensuring that generated C code is properly packaged into a complete Arduino library structure ready for immediate use in Arduino IDE.
The integration handles:
Code generation from ComputeGraph
Template-based C code generation (header and source files)
Arduino library packaging with proper structure
Validation test generation for numerical accuracy
Functions
Link copied to clipboard
fun generateArduinoLibrary(graph: ComputeGraph, outputPath: String, libraryName: String): ArduinoLibraryResult
Generates a complete Arduino library from a ComputeGraph.