牛卧堂MCU技术交流

标题: [M55M1/M5531] Code Generation with VS Code NuCodeGen [打印本页]

作者: admin    时间: 昨天 14:12
标题: [M55M1/M5531] Code Generation with VS Code NuCodeGen
Application
This example demonstrates how to use the NuCodeGen extension in VS Code to generate M55M1 code.
BSP Version
M55M1_Series_BSP_CMSIS_V3.01.003
Hardware
NuMaker-X-M55M1

This document explains how to use NuCodeGen, a VS Code extension, to automatically generate source code using large language models (LLMs). This approach is designed to enhance development efficiency and reduce manual coding costs. The content first demonstrates NuCodeGen’s basic operations through a UART example, followed by a full code‑generation workflow illustrated with an I2C example. Both examples include the chat files and the final generated code to clearly present each stage of the code‑generation process.

This example utilizes VS Code as the development environment, integrated with the Nuvoton NuMicro Cortex-M Pack development toolset (which includes NuCodeGen). Prior to implementation, please ensure that the toolset is properly installed within VS Code.

While this document uses the NuMaker-X-M55M1 as an example, the workflows and methods covered in this document apply to the entire Nuvoton NuMicro family, such as the M0, M23, and M4 series.

More examples can be found in the NuCodeGen sample prompts.

You can download the sample code at EC_M55M1_Code_Generation_with_VSCode_NuCodeGen_V1.00.







欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2