Automated Code Generation and Validation for Software Components of Microcontrollers
This addresses the problem of manual coding for embedded systems developers, though it appears incremental as it builds on existing techniques like AST and RAG.
The paper tackles automated software component generation for embedded systems by proposing a method that uses Abstract Syntax Trees and Retrieval-Augmented Generation to generate hardware abstraction layer code for GPIO operations on an STM32F407 microcontroller, enabling autonomous code completion without developer intervention.
This paper proposes a method for generating software components for embedded systems, integrating seamlessly into existing implementations without developer intervention. We demonstrate this by automatically generating hardware abstraction layer (HAL) code for GPIO operations on the STM32F407 microcontroller. Using Abstract Syntax Trees (AST) for code analysis and Retrieval-Augmented Generation (RAG) for component generation, our approach enables autonomous code completion for embedded applications.