Skip to content

Commit 91a1ddb

Browse files
committed
Fix GD32 build paths and config
Refreshes the GD32 peripheral source paths in lib-gd32 to match the current uppercase directory layout and removes the RTL8201F link LED define from the bootloader TFTP build config. This also updates the Eclipse CDT environment hashes in the project settings files to keep the toolchain metadata in sync.
1 parent a8d43ee commit 91a1ddb

4 files changed

Lines changed: 17 additions & 19 deletions

File tree

bootloader-tftp/Common.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ DEFINES+=CONFIG_REMOTECONFIG_MINIMUM
99
DEFINES+=UDP_MAX_PORTS_ALLOWED=3
1010
DEFINES+=ENET_RXBUF_NUM=2 ENET_TXBUF_NUM=2
1111

12-
DEFINES+=RTL8201F_LED1_LINK_ALL
13-
1412
SRCDIR+=firmware lib
1513

1614
LIBS+=remoteconfig flashcodeinstall configstore display flashcode flash

lib-clib/.settings/language.settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
66
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
77
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
8-
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="256845103455735194" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
8+
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="465234374226467929" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
99
<language-scope id="org.eclipse.cdt.core.gcc"/>
1010
<language-scope id="org.eclipse.cdt.core.g++"/>
1111
</provider>

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

lib-superloop/.settings/language.settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
66
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
77
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
8-
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="256845103455735194" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
8+
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="465234374226467929" id="org.eclipse.embedcdt.managedbuild.cross.arm.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Arm Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
99
<language-scope id="org.eclipse.cdt.core.gcc"/>
1010
<language-scope id="org.eclipse.cdt.core.g++"/>
1111
</provider>

0 commit comments

Comments
 (0)