Hi, I started using SES to create applications for the GD32 RISC-V board by seeed studio. At this point I'm only controlling the MCU board, not the LCD.
So, I created a new project for the on-board MCU, the GD32VF103VBT6. Then I wanted to use the provided libraries (mostly gd32vf103.h), so I called some GPIO funcions declared in gd32vf103_gpio.h, but then I got a linker error because these fuinctions are not defined.
Looking for the matching .c files in my project (for example gd32vf103_gpio.c), I failed to find most of them (that's over 15 source files). That seems odd to me since the header files are provided. A simple Google search yielded the necessaary .c files, which I added to my source and the application compiled and ran just fine. However, I figured this does not look like the intended procedure at all.
I looked for the .c files in the installed package ...\packages\GD32VF1xx\Device (where the .h files are stored under the \Include directory), but the \Source directory doesn't have most of the matching .c files. It only has 4, which are exactly the ones originally present in my project.
Am I missing something?
Is this a mistake and the .c files are supposed to be in the installed \Source directory?
So, I created a new project for the on-board MCU, the GD32VF103VBT6. Then I wanted to use the provided libraries (mostly gd32vf103.h), so I called some GPIO funcions declared in gd32vf103_gpio.h, but then I got a linker error because these fuinctions are not defined.
Looking for the matching .c files in my project (for example gd32vf103_gpio.c), I failed to find most of them (that's over 15 source files). That seems odd to me since the header files are provided. A simple Google search yielded the necessaary .c files, which I added to my source and the application compiled and ran just fine. However, I figured this does not look like the intended procedure at all.
I looked for the .c files in the installed package ...\packages\GD32VF1xx\Device (where the .h files are stored under the \Include directory), but the \Source directory doesn't have most of the matching .c files. It only has 4, which are exactly the ones originally present in my project.
Am I missing something?
Is this a mistake and the .c files are supposed to be in the installed \Source directory?