Skip to content

Commit d0b659f

Browse files
committed
Fix GD32 peripheral source paths
Update the GD32 build configuration to use the correct standard peripheral source directory casing for GD32F10x files. This matches the actual project layout and prevents missing-source errors during compilation.
1 parent 9f5d52b commit d0b659f

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

lib-gd32/Makefile.GD32

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ EXTRA_C_SOURCE_FILES =
1111
ifneq ($(MAKE_FLAGS),)
1212
EXTRA_SRCDIR+=gd32f10x/CMSIS/GD/gd32f10x/Source
1313

14-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_adc.c
15-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_bkp.c
16-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_dma.c
17-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_enet.c
18-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_exti.c
19-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_fmc.c
20-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_fwdgt.c
21-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_gpio.c
22-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_i2c.c
23-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_pmu.c
24-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_rcu.c
25-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_rtc.c
26-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_spi.c
27-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_usart.c
28-
EXTRA_C_SOURCE_FILES+=gd32f10x/gd32f10x_standard_peripheral/Source/gd32f10x_timer.c
14+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_adc.c
15+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_bkp.c
16+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_dma.c
17+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_enet.c
18+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_exti.c
19+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_fmc.c
20+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_fwdgt.c
21+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_gpio.c
22+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_i2c.c
23+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_pmu.c
24+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_rcu.c
25+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_rtc.c
26+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_spi.c
27+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_usart.c
28+
EXTRA_C_SOURCE_FILES+=gd32f10x/GD32F10x_standard_peripheral/Source/gd32f10x_timer.c
2929

3030
ifeq ($(findstring NO_EMAC,$(MAKE_FLAGS)), NO_EMAC)
3131
else

0 commit comments

Comments
 (0)