Skip to content

Commit 27ba6b6

Browse files
committed
Fix GD32 peripheral source paths
Corrects the GD32 peripheral source paths in lib-gd32/Makefile.GD32 to match the actual directory casing. This fixes builds on case-sensitive filesystems and ensures the standard peripheral C sources are included properly.
1 parent 189ef98 commit 27ba6b6

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
@@ -9,21 +9,21 @@ EXTRA_SRCDIR =src/f
99
ifneq ($(MAKE_FLAGS),)
1010
EXTRA_SRCDIR+=gd32f4xx/CMSIS/GD/GD32F4xx/Source
1111

12-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_adc.c
13-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_dma.c
14-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_enet.c
15-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_exti.c
16-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_fmc.c
17-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_fwdgt.c
18-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_gpio.c
19-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_i2c.c
20-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_pmu.c
21-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_rcu.c
22-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_rtc.c
23-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_spi.c
24-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_syscfg.c
25-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_usart.c
26-
EXTRA_C_SOURCE_FILES+=gd32f4xx/gd32f4xx_standard_peripheral/Source/gd32f4xx_timer.c
12+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_adc.c
13+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_dma.c
14+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_enet.c
15+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_exti.c
16+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_fmc.c
17+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_fwdgt.c
18+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_gpio.c
19+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_i2c.c
20+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_pmu.c
21+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_rcu.c
22+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c
23+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_spi.c
24+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_syscfg.c
25+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_usart.c
26+
EXTRA_C_SOURCE_FILES+=gd32f4xx/GD32F4xx_standard_peripheral/Source/gd32f4xx_timer.c
2727

2828
ifeq ($(findstring NO_EMAC,$(MAKE_FLAGS)), NO_EMAC)
2929
else

0 commit comments

Comments
 (0)