createLibraryStructure
fun createLibraryStructure(outputPath: String, libraryName: String, sourceCode: String, headerCode: String, memoryLayout: MemoryLayout, inputDims: IntArray, outputDims: IntArray): ArduinoLibraryResult(source)
Creates a complete Arduino library structure from generated C code.
This method generates the complete Arduino library directory structure with all necessary files and metadata, ready for Arduino IDE integration.
Return
ArduinoLibraryResult containing information about the generated library
Parameters
outputPath
Base path where the library directory will be created
libraryName
Name of the Arduino library (used for directory and file names)
sourceCode
Generated C source file content
headerCode
Generated C header file content
memoryLayout
Memory requirements information for documentation
inputDims
Input tensor dimensions for example generation
outputDims
Output tensor dimensions for example generation