1747 views|1 replies

539

Posts

3

Resources
The OP
 

[GD32L233C-START Review] 2. Create a minimal project that suits you [Copy link]

In the previous article, the platform has been built, and the template project provided by GD can be compiled normally and downloaded to the development board.

At this point, you can actually start developing your project, but after all, it always feels awkward to develop your own project under the official firmware library folder.

Therefore, it is necessary to establish a minimum project that suits your own project and style to facilitate later development.

Now let’s get started:

1. Create your own folder

My project folder is as follows:

2. Put the relevant files in the specified folder

The files in the App folder are as follows:

The CMSIS folder is as follows:

The CMSIS folder can directly copy the CMSIS in the GD firmware library:

copy standard library files:

Create a new Keil project and save it in the prj folder:

The following points should be noted during the construction process:

1. You need to check the core:

2. Include header files

3. Debugger selection

4. The RAM of the download program should be increased, otherwise, the download will fail.

3. Write test code

Write the LED test code and select LED to flip once every 1,500ms

4. Compile, download and verify

Compiles without errors and warnings

Download it to the board and run the load as expected.

The minimum project has been established and the project development can proceed normally

Attached is the minimum engineering source code:

gd_finger.zip (577.75 KB, downloads: 0)

This post is from GD32 MCU

Latest reply

Looking forward to the follow-up   Details Published on 2022-1-17 10:41
 

2w

Posts

74

Resources
2
 

Looking forward to the follow-up :)

This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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