Microchip MPLAB for VS Code, OpenAI Codex, and AVR GNU Toolchain 4.0.0 Agentic embedded software development: environment configuration, build automation, and machine-code verification

This article examines the organization of software development for eight-bit AVRmicrocontrollers in Visual Studio Code using the official Microchip MPLAB extensions andthe OpenAI Codex agent. It describes extension installation, manual registration of thestandalone AVR GNU Toolchain 4.0.0 (GCC 15.1.0), automatic dependency provisioning,project creation, and build management through CMake and Ninja. In an experimenttargeting the ATmega328P architecture, the agent was tasked with implementing Blink in Cwithout Arduino Core. The resulting .text section was 176 bytes long, and its SHA-256 hashmatched that of the earlier standalone AVR-07 build. The article discusses the capabilitiesand limitations of this verification method, the division of responsibilities between theengineer and the agent, and the conditions for subsequent hardware testing.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24710113
Primary Topic
Embedded Systems Design Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Microchip MPLAB for VS Code, OpenAI Codex, and AVR GNU Toolchain 4.0.0 Agentic embedded software development: environment configuration, build automation, and machine-code verification

Alex Malachevsky
Zenodo (CERN European Organization for Nuclear Research)
Embedded Systems Design Techniques
preprint

Microchip MPLAB for VS Code, OpenAI Codex, and AVR GNU Toolchain 4.0.0 Agentic embedded software development: environment configuration, build automation, and machine-code verification

Alex Malachevsky
preprint en

Abstract

This article examines the organization of software development for eight-bit AVRmicrocontrollers in Visual Studio Code using the official Microchip MPLAB extensions andthe OpenAI Codex agent. It describes extension installation, manual registration of thestandalone AVR GNU Toolchain 4.0.0 (GCC 15.1.0), automatic dependency provisioning,project creation, and build management through CMake and Ninja. In an experimenttargeting the ATmega328P architecture, the agent was tasked with implementing Blink in Cwithout Arduino Core. The resulting .text section was 176 bytes long, and its SHA-256 hashmatched that of the earlier standalone AVR-07 build. The article discusses the capabilitiesand limitations of this verification method, the division of responsibilities between theengineer and the agent, and the conditions for subsequent hardware testing.

Zenodo (CERN European Organization for Nuclear Research)
Embedded Systems Design Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon