两侧同时换到之前的修订记录 前一修订版 | |
developmentboard:mspm0l1306 [2023/09/13 06:05] – admin12 | developmentboard:mspm0l1306 [2023/09/13 06:09] (当前版本) – admin12 |
---|
{{http://ele-think.com/wp-content/uploads/2023/09/7.png?nolink&527x172}}点击import。 | {{http://ele-think.com/wp-content/uploads/2023/09/7.png?nolink&527x172}}点击import。 |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/8.png?nolink&424x361}}选择SDK目录下。 | {{http://ele-think.com/wp-content/uploads/2023/09/8.png?nolink&424x361}} |
| |
MSPM0_SDK_syscfg_menu_import.cfg文件。 | Select the SDK directory. |
| |
点击打开。 | MSPM0_SDK_syscfg_menu_import.cfg file.Click to open. |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/9.png?nolink&611x318}}Click OK. | {{http://ele-think.com/wp-content/uploads/2023/09/9.png?nolink&611x318}} |
| |
| Click OK. |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/10.png?nolink&660x555}}At this time, the SYSCONFIG option will appear in the Tool directory of keil. | {{http://ele-think.com/wp-content/uploads/2023/09/10.png?nolink&660x555}}At this time, the SYSCONFIG option will appear in the Tool directory of keil. |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/11.png?nolink&571x156}}When we need to modify the MCU peripheral initialization options, we need to double-click to open the .syscfg file in the project and let the file appear in front of you. Click Sysconfig in Tool to open the SYSCONFIG tool to configure the current project. | {{http://ele-think.com/wp-content/uploads/2023/09/11.png?nolink&571x156}} |
| |
| When we need to modify the MCU peripheral initialization options, we need to double-click to open the .syscfg file in the project and let the file appear in front of you. Click Sysconfig in Tool to open the SYSCONFIG tool to configure the current project. |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/12.png?nolink&1080x621}}“ | {{http://ele-think.com/wp-content/uploads/2023/09/12.png?nolink&1080x621}}“ |
**3. The role of the SYSCONFIG tool** | **3. The role of the SYSCONFIG tool** |
| |
SYSCONFIG虽然跟STM32用的cubeMX一样是一个代码配置工具,但是SYSCONFIG不会生成代码,它只生成4个文件。\\ | Although SYSCONFIG is a code configuration tool like cubeMX used for STM32, SYSCONFIG does not generate code, it only generates 4 files. |
| |
{{http://ele-think.com/wp-content/uploads/2023/09/13.png?nolink&1037x255}}The first and second files in the picture above are the C and H files of the initialization code. In an empty project, the most basic program is like this. | {{http://ele-think.com/wp-content/uploads/2023/09/13.png?nolink&1037x255}}The first and second files in the picture above are the C and H files of the initialization code. In an empty project, the most basic program is like this. |
Click to view: | Click to view: |
| |
https://dreampuf.github.io/GraphvizOnline/ | [[https://dreampuf.github.io/GraphvizOnline/|https://dreampuf.github.io/GraphvizOnline/]] |
| |
The last syscfg file is the file that we open every time we start SYSCONFIG. SYSCONFIG relies on this file to identify what parameters are configured. | The last syscfg file is the file that we open every time we start SYSCONFIG. SYSCONFIG relies on this file to identify what parameters are configured. |
| |
| |