Automated Code Generation and Validation for Software Components of Microcontrollers
Haug, Sebastian, Böhm, Christoph, Mayer, Daniel
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Feb-26-2025
- Country:
- Europe > Germany
- Bavaria > Upper Bavaria > Munich (0.05)
- North America > Dominican Republic (0.04)
- Europe > Germany
- Genre:
- Research Report (1.00)
- Technology: