Instruction response method, device, electronic device and medium in microcontroller unit
By obtaining board-level support packages, adding user code and cross-compiling methods, the problem of difficult and low efficiency in microcontroller unit program development is solved, and a more efficient program development process is achieved.
CN116301880BActive Publication Date: 2025-03-25GODSON ZHONGKE (TAIYUAN) TECH CO LTD
2 Cites 0 Cited by
Patent Information
- Application Number
- CN202211737519.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Technical Problem
In the prior art, it is difficult to develop programs on microcontroller units, resulting in low program development efficiency.
Method used
It provides an instruction response method in a microcontroller unit. By obtaining board-level support packages, adding user code to the target code file, and cross-compiling the support library code file and configuration code file based on the compilation rule file to generate a target program applied to the microcontroller unit.
Benefits of technology
It greatly improves the efficiency of users developing programs for microcontroller units, simplifies the development process, and reduces the complex control needs for underlying hardware.
✦ Generated by Eureka AI based on patent content.
Abstract
The present application discloses a method, device, electronic device and storage medium for responding to instructions in a microcontroller unit, and belongs to the field of program design technology. It includes: obtaining a board support package corresponding to the microcontroller unit, including a support library code file, a compilation rule file and a target code file; adding a user code that has a calling relationship with the code in the support library code file to the target code file according to the code input instruction to obtain a configuration code file; based on the compilation rule file, cross-compiling the support library code file and the configuration code file to obtain a target program applied to the microcontroller unit. The user only needs to add the user code that calls the support library code file in the board support package, and call the various components in the support library code file, and then the required target program can be obtained through cross-compilation of the matching compilation rule file, which greatly improves the efficiency of the user in developing programs for the microcontroller unit.
Need to check novelty before this filing date? Find Prior Art