2194 views|1 replies

3

Posts

0

Resources
The OP
 

【GD32L233C-START Review】New Construction [Copy link]

This post was last edited by paty on 2022-4-14 17:23

1. Create a new project folder " GD32L233_Project ", the folder name can be arbitrary.

2. Create new folders named " Fwlib ", " Project ", " Sys ", and " User " in the folder; the Fwlib folder is used to store firmware library files, the Project folder is used to store project files, the Sys folder is used to store interrupt files, and the User folder is used to store the source files and header files we wrote.

3. Copy the three folders in the firmware library "GD32L23x_Demo_Suites_V1.1.0\GD32L23x_Firmware_Library" folder to the "Fwlib" folder.

4. Copy " gd32l23x_it.c ", " gd32l23x_it.h " and " gd32l23x_libopt.h " under the firmware library " GD32L23x_Demo_Suites_V1.1.0\GD32L233C_START_Demo_Suites\Projects\01_GPIO_Running_LED " to the " Sys " folder.

5. Open Keil5 , click Project in the menu and select New Project, save the project file to the " GD32L233_Project\Project " folder, and select " GigaDevice->GD32L233->GD32L233CC " in the Select Device window that pops up .

6. In the pop-up Manage window, check " CMSIS->CORE "

7. Open Project->Manage->Project Items… and create new “ Startup ”, “ Fwlib ”, “ System ” and “ User ” folders.

8. Select "Startup" , click "Add Files..." , open the "GD32L233_Project\Fwlib\CMSIS\GD\GD32L23x\Source\ARM" folder and select the "startup_gd32l23x" file

9. Select "Fwlib" , click "Add Files..." , open the "GD32L233_Project\Fwlib\GD32L23x_standard_peripheral\Source" folder and select to add all files

10. Select "System" , click "Add Files..." , open "GD32L233_Project\Sys" , select the "gd32l23x_it.c" file; open the "GD32L233_Project\Fwlib\CMSIS\GD\GD32L23x\Source" folder and select the "system_gd32l23x.c" file

11. Create new main.c and main.h files and save them in the User folder, and add main.c to the User option

12. Open " Project->Options for Target ' Tartget1 '", add the folder where the header file is located under Include Paths under C/C++

13. Open " Project->Options for Target ' Tartget1 '", select " AC5-like " in Warming under C/C++

14. Click "Rebuild" in the toolbar to compile the project. If 0 errors and 0 warnings are displayed, it means the project is complete.

This post is from GD32 MCU

Latest reply

The author took the trouble to write this article about the new model version. In fact, if you write an article yourself, you will understand what each one is used for.  Details Published on 2022-4-14 17:51
 

6841

Posts

11

Resources
2
 
The author took the trouble to write this article about the new model version. In fact, if you write an article yourself, you will understand what each one is used for.
This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list