Urgent.News

What's breaking now, across thousands of outlets.

AI

LLMs Confidently Lie About Your Microcontroller

Embedded development is the field where the soldering iron and the IDE sit closest together. Naturally, AI has arrived here too: ask a model to write firmware and it produces tidy code. It compiles on the first try and flashes without errors. And then the screen shows colorful noise. The code isn't the problem. The display uses an ST7789 controller designed for a 240×320 panel, but the glass on…

In the realm of embedded development, AI has found its way into the process. When prompted to write firmware, models produce tidy code that compiles and flashes without errors. However, the results often display colorful noise, indicating a problem. The issue lies not with the AI's intelligence but in the scattered nature of knowledge about specific boards. This knowledge is scattered across datasheets, manuals, and debugging experiences, leaving AI without the necessary context to avoid issues.

For example, the Waveshare ESP32-C6-LCD-1.47 display controller expects a 34-pixel offset to prevent the image from shifting sideways. Similarly, the Raspberry Pi Pico's GPIO23, 24, 25, and 29, while programmed as real GPIOs, lack physical presence on the 40-pin header. The ESP32's ADC2 is fully occupied by Wi-Fi, causing analog sensor circuits using ADC2 to fail silently.

The STM32F411 microcontroller's USB interface fails to function at 100 MHz, and HAL_Delay() causes the board to hang due to manual definition of SysTick_Handler, a detail rarely documented.

To address these challenges, an open collection of skills for Claude Code has been created, one skill per board. Each skill is a directory containing a skill summary, in-depth details, and a working project template, extracted from real-world debugging experiences. This approach aims to fill the gaps in AI's knowledge about specific boards, such as pin mappings, chip characteristics, and potential pitfalls.

The project currently covers various microcontroller families, including STM32, ESP32, Arduino Nano, and Raspberry Pi RP2040. By cloning the repository and installing the skills, users can automatically load the necessary knowledge for their boards when working in Claude Code. This allows the AI to avoid costly mistakes and provides a persistent knowledge base across sessions, preventing the "forgetting" issue that arises during long-running projects.

By versioning the skills alongside the code, teams can benefit from shared knowledge and collaborate more effectively.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

𝖧𝗈𝗐 🚀 𝖨 𝖡𝗎𝗂𝗅𝖽𝖾𝖽 𝖠𝗇 𝖠𝖨 𝖠𝗀𝖾𝗇𝗍 𝖳𝗁𝖺𝗍 𝖠𝖼𝗍𝗎𝖺𝗅𝗅𝗒 𝖶𝗈𝗋𝗄𝗌 (𝖶𝗂𝗍𝗁𝗈𝗎𝗍 𝖫𝗈𝗌𝗂𝗇𝗀 𝖬𝗒 𝖲𝖺𝗇𝗂𝗍𝗒) 🔥

𝖫ℯ𝓉’𝓈 𝒷ℯ 𝒽ℴ𝓃ℯ𝓈𝓉. 𝖶ℯ’𝓿ℯ 𝒶𝓁𝓁 𝓈ℯℯ𝓃 𝓉𝒽ℯ "𝘐 𝒷𝓊𝒾𝓁𝓉 𝒶 𝒮𝒶𝒶𝒮 𝒾𝓃 𝟤 𝒽ℴ𝓊𝓇𝓈 𝓌𝒾𝓉𝒽 𝒵ℯ𝓇ℴ 𝒞ℴ𝒹ℯ!" 𝓅ℴ𝓈𝓉𝓈 ℴ𝓃 𝒹ℯ𝓋.𝓉ℴ 𝒶𝓃𝒹 𝖫𝗂𝗇𝗄ℯ𝒹𝖨𝗇.

OpenAI Eyes $1.2 Trillion Valuation in Pre-IPO Funding Round

OpenAI is reportedly weighing a funding round at a $1.2 trillion valuation before going public. The artificial intelligence (AI) startup has held early discussions with investors about a private funding round ahead of its planned initial public offering (IPO), according to a Financial Times (FT) report Tuesday (Sept.

More from Wednesday 16 September →