diff --git a/bsp/gd32/arm/gd32e503v-eval/board/linker_scripts/link.icf b/bsp/gd32/arm/gd32e503v-eval/board/linker_scripts/link.icf index e777b16a873..a0393aa4182 100644 --- a/bsp/gd32/arm/gd32e503v-eval/board/linker_scripts/link.icf +++ b/bsp/gd32/arm/gd32e503v-eval/board/linker_scripts/link.icf @@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_RAM_end__ = 0x201FFFF; +define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x200; define symbol __ICFEDIT_size_heap__ = 0x200; diff --git a/bsp/gd32/arm/gd32e503v-eval/project.ewp b/bsp/gd32/arm/gd32e503v-eval/project.ewp index 291f5b126f0..aca2f64408c 100644 --- a/bsp/gd32/arm/gd32e503v-eval/project.ewp +++ b/bsp/gd32/arm/gd32e503v-eval/project.ewp @@ -1,5 +1,5 @@ - 2 + 3 Debug @@ -10,7 +10,7 @@ General 3 - 22 + 31 1 1 - - - - - + + + + + + + + + + + + + + + + + + ICCARM 2 - 31 + 35 1 1 @@ -270,10 +325,6 @@ CCRequirePrototypes 0 - - - - - + + + + + + + AARM 2 - 9 + 10 1 1 - @@ -981,7 +1093,7 @@ General 3 - 22 + 31 1 0 - - - - - + + + + + + + + + + + + + + + + + + ICCARM 2 - 31 + 35 1 0 @@ -1242,10 +1408,6 @@ CCRequirePrototypes 0 - - - - - + + + + + + + AARM 2 - 9 + 10 1 0 - @@ -2042,9 +2264,6 @@ $PROJ_DIR$\board\board.c - - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\IAR\startup_gd32e50x_hd.s - $PROJ_DIR$\..\libraries\gd32_drivers\drv_gpio.c @@ -2055,16 +2274,16 @@ Finsh - $PROJ_DIR$\..\..\..\..\components\finsh\shell.c + $PROJ_DIR$\..\..\..\..\components\finsh\msh.c - $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c + $PROJ_DIR$\..\..\..\..\components\finsh\shell.c - $PROJ_DIR$\..\..\..\..\components\finsh\msh.c + $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c - $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c + $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c @@ -2118,19 +2337,19 @@ klibc - $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c + $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c - $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c + $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c - $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c + $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c - $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c + $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c @@ -2151,22 +2370,25 @@ Libraries - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c + $PROJ_DIR$\packages\gd32-arm-cmsis-latest\GD32E50x\GD\GD32E50x\Source\IAR\startup_gd32e50x_hd.s + + + $PROJ_DIR$\packages\gd32-arm-cmsis-latest\GD32E50x\GD\GD32E50x\Source\system_gd32e50x.c - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c + $PROJ_DIR$\packages\gd32-arm-series-latest\GD32E50x\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\system_gd32e50x.c + $PROJ_DIR$\packages\gd32-arm-series-latest\GD32E50x\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c + $PROJ_DIR$\packages\gd32-arm-series-latest\GD32E50x\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c + $PROJ_DIR$\packages\gd32-arm-series-latest\GD32E50x\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c - $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c + $PROJ_DIR$\packages\gd32-arm-series-latest\GD32E50x\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c diff --git a/bsp/gd32/arm/gd32e503v-eval/template.ewp b/bsp/gd32/arm/gd32e503v-eval/template.ewp index d33673620bb..9aa3bc4fecd 100644 --- a/bsp/gd32/arm/gd32e503v-eval/template.ewp +++ b/bsp/gd32/arm/gd32e503v-eval/template.ewp @@ -1,1889 +1,2106 @@ - 2 - - Debug - - ARM - - 1 - - General - 3 - - 22 - 1 + 3 + + Debug + + ARM + 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 31 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 9 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 1 - - - - - - - - - CUSTOM - 3 - - - - 0 - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 16 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 1 - - - - - - - BILINK - 0 - - - - - Release - - ARM - - 0 - - General - 3 - - 22 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 31 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 9 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 0 - - - - - - - - - CUSTOM - 3 - - - - 0 - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 16 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 + + General + 3 + + 31 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 35 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 10 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + 0 + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 23 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + + Release + + ARM + 0 - - - - - - - BILINK - 0 - - - + + General + 3 + + 31 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 35 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 10 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 0 + + + + + + + + + CUSTOM + 3 + + + + 0 + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 23 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 0 + + + + + + + BILINK + 0 + + + - - diff --git a/bsp/gd32/arm/gd32e503v-eval/template.eww b/bsp/gd32/arm/gd32e503v-eval/template.eww new file mode 100644 index 00000000000..bd036bb4c98 --- /dev/null +++ b/bsp/gd32/arm/gd32e503v-eval/template.eww @@ -0,0 +1,10 @@ + + + + + $WS_DIR$\template.ewp + + + + +