Skip to content

Commit d4f74a8

Browse files
committed
Fix GD32 peripheral source paths
The GD32 build was pointing at lowercase peripheral source directories, which do not exist in this tree. Update the Makefile to reference the actual GD32F4xx_standard_peripheral paths so the extra peripheral sources compile correctly when MAKE_FLAGS is used.
1 parent b47ee28 commit d4f74a8

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)