diff --git a/examples/coremark/platformio.ini b/examples/coremark/platformio.ini index e82a4e8..3777076 100644 --- a/examples/coremark/platformio.ini +++ b/examples/coremark/platformio.ini @@ -67,14 +67,21 @@ build_flags = ${common.300_flags} -DITERATIONS=4000 [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar +board_build.sysclk = 96000000 +board_build.clksrc = hxtal +board_build.stdclib = libncrt_small build_flags = ${common.200_flags} -DITERATIONS=4000 [env:gd32vf103v_eval] board = gd32vf103v_eval +board_build.sysclk = 108000000 +board_build.clksrc = hxtal build_flags = ${common.200_flags} -DITERATIONS=4000 [env:gd32vf103c_longan_nano] board = gd32vf103c_longan_nano +board_build.sysclk = 72000000 +board_build.clksrc = irc8m build_flags = ${common.200_flags} -DITERATIONS=4000 [env:gd32vf103c_longan_nano_lite] diff --git a/examples/cpuinfo/platformio.ini b/examples/cpuinfo/platformio.ini index db67fd1..5d41340 100644 --- a/examples/cpuinfo/platformio.ini +++ b/examples/cpuinfo/platformio.ini @@ -18,21 +18,33 @@ monitor_speed = 115200 [env:nuclei_fpga_eval] board = nuclei_fpga_eval -board_build.download = ilm +board_build.download = flashxip +board_build.stdclib = libncrt_small [env:gd32vw553h_eval] board = gd32vw553h_eval # Changed to use sram download mode -board_build.download = sram +board_build.download = flashxip +board_build.stdclib = libncrt_nano +board_build.clksrc = hxtal [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar +board_build.sysclk = 108000000 +board_build.clksrc = hxtal +board_build.stdclib = libncrt_small [env:gd32vf103v_eval] board = gd32vf103v_eval +board_build.sysclk = 96000000 +board_build.clksrc = hxtal +board_build.stdclib = libncrt_fast [env:gd32vf103c_longan_nano] board = gd32vf103c_longan_nano +board_build.sysclk = 96000000 +board_build.clksrc = hxtal +board_build.stdclib = libncrt_balanced [env:gd32vf103c_longan_nano_lite] board = gd32vf103c_longan_nano diff --git a/examples/demo_dsp/platformio.ini b/examples/demo_dsp/platformio.ini index b131115..b6d6aa5 100644 --- a/examples/demo_dsp/platformio.ini +++ b/examples/demo_dsp/platformio.ini @@ -23,11 +23,12 @@ board_build.download = ilm board_build.core = n307fd board_build.nmsis_lib_arch = rv32imafdc build_flags = +board_build.stdclib = libncrt_small [env:gd32vw553h_eval] board = gd32vw553h_eval # Changed to use sram download mode -board_build.download = sram +board_build.download = flashxip # you can change to use different toolchain board_build.toolchain = nuclei_gnu board_build.arch_ext = _zba_zbb_zbc_zbs_xxldspn1x @@ -38,6 +39,7 @@ build_flags = [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar build_flags = +board_build.stdclib = libncrt_fast [env:gd32vf103v_eval] board = gd32vf103v_eval diff --git a/examples/demo_eclic/platformio.ini b/examples/demo_eclic/platformio.ini index c517334..d36c0a2 100644 --- a/examples/demo_eclic/platformio.ini +++ b/examples/demo_eclic/platformio.ini @@ -26,12 +26,17 @@ board_build.download = ilm board = gd32vw553h_eval # Changed to use sram download mode board_build.download = sram +board_build.sysclk = 48000000 +board_build.clksrc = irc16m +board_build.stdclib = libncrt_small [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar +board_build.stdclib = libncrt_nano [env:gd32vf103v_eval] board = gd32vf103v_eval +board_build.stdclib = newlib_fast [env:gd32vf103c_longan_nano] board = gd32vf103c_longan_nano diff --git a/examples/demo_nice/platformio.ini b/examples/demo_nice/platformio.ini index 06cd5a7..d7c1094 100644 --- a/examples/demo_nice/platformio.ini +++ b/examples/demo_nice/platformio.ini @@ -20,4 +20,5 @@ monitor_speed = 115200 [env:nuclei_fpga_eval] board = nuclei_fpga_eval -board_build.download = ilm \ No newline at end of file +board_build.download = flash +board_build.stdclib = newlib_fast diff --git a/examples/demo_timer/platformio.ini b/examples/demo_timer/platformio.ini index ec92897..5eab6cc 100644 --- a/examples/demo_timer/platformio.ini +++ b/examples/demo_timer/platformio.ini @@ -24,6 +24,7 @@ board_build.download = ilm board = gd32vw553h_eval # Changed to use sram download mode board_build.download = sram +board_build.stdclib = libncrt_small [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar diff --git a/examples/dhrystone/platformio.ini b/examples/dhrystone/platformio.ini index 461bd93..a5cd9af 100644 --- a/examples/dhrystone/platformio.ini +++ b/examples/dhrystone/platformio.ini @@ -30,14 +30,18 @@ build_flags = ${common.compile_flags} board = nuclei_fpga_eval # Changed to use ilm download mode board_build.download = ilm +board_build.core = n300f +board_build.stdclib = newlib_small [env:gd32vw553h_eval] board = gd32vw553h_eval # Changed to use sram download mode board_build.download = sram +board_build.stdclib = newlib_small [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar +board_build.stdclib = libncrt_small [env:gd32vf103v_eval] board = gd32vf103v_eval diff --git a/examples/freertos_demo/platformio.ini b/examples/freertos_demo/platformio.ini index b65540b..65b8951 100644 --- a/examples/freertos_demo/platformio.ini +++ b/examples/freertos_demo/platformio.ini @@ -21,6 +21,8 @@ board_build.rtos = freertos [env:nuclei_fpga_eval] board = nuclei_fpga_eval board_build.download = ilm +board_build.core = n300 +board_build.arch_ext = _zba_zbb_zbc_zbs [env:gd32vw553h_eval] board = gd32vw553h_eval diff --git a/examples/helloworld/platformio.ini b/examples/helloworld/platformio.ini index f1559f6..21ab9c3 100644 --- a/examples/helloworld/platformio.ini +++ b/examples/helloworld/platformio.ini @@ -18,10 +18,12 @@ monitor_speed = 115200 [env:nuclei_fpga_eval] board = nuclei_fpga_eval -board_build.download = ilm +board_build.download = flashxip +board_build.stdclib = newlib_nano [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar +board_build.stdclib = newlib_small [env:gd32vf103v_eval] board = gd32vf103v_eval diff --git a/examples/rtthread_demo/platformio.ini b/examples/rtthread_demo/platformio.ini index 023f620..a453243 100644 --- a/examples/rtthread_demo/platformio.ini +++ b/examples/rtthread_demo/platformio.ini @@ -24,12 +24,15 @@ debug_build_flags = -O3 -g [env:nuclei_fpga_eval] board = nuclei_fpga_eval board_build.download = ilm -board_build.core = n305 +board_build.core = n307 +board_build.stdclib = newlib_small [env:gd32vw553h_eval] board = gd32vw553h_eval # Changed to use sram download mode board_build.download = sram +board_build.sysclk = 48000000 +board_build.clksrc = irc16m [env:gd32vf103v_rvstar] board = gd32vf103v_rvstar diff --git a/examples/rtthread_msh/platformio.ini b/examples/rtthread_msh/platformio.ini index 7c2812b..22da7c5 100644 --- a/examples/rtthread_msh/platformio.ini +++ b/examples/rtthread_msh/platformio.ini @@ -24,7 +24,7 @@ build_flags = -O3 [env:nuclei_fpga_eval] board = nuclei_fpga_eval board_build.download = ilm -board_build.core = n305 +board_build.core = n900fd [env:gd32vw553h_eval] board = gd32vw553h_eval diff --git a/examples/smphello/platformio.ini b/examples/smphello/platformio.ini index 1a6abba..6ee1871 100644 --- a/examples/smphello/platformio.ini +++ b/examples/smphello/platformio.ini @@ -18,10 +18,10 @@ monitor_speed = 115200 [env:nuclei_fpga_eval] board = nuclei_fpga_eval -board_build.core = nx900fd +board_build.core = nx900f board_build.download = sram board_build.smp = 4 board_build.stacksz = 4k board_build.heapsz = 2k -board_build.boot_hartid = 0 +board_build.boot_hartid = 1 diff --git a/examples/ucosii_demo/platformio.ini b/examples/ucosii_demo/platformio.ini index cbfb0d8..1bc08a7 100644 --- a/examples/ucosii_demo/platformio.ini +++ b/examples/ucosii_demo/platformio.ini @@ -20,10 +20,14 @@ board_build.rtos = ucosii [env:nuclei_fpga_eval] board = nuclei_fpga_eval +board_build.download = ilm +board_build.core = n200 [env:gd32vw553h_eval] board = gd32vw553h_eval # Changed to use sram download mode +board_build.core = n300f +board_build.arch_ext = board_build.download = sram [env:gd32vf103v_rvstar] diff --git a/examples/whetstone/platformio.ini b/examples/whetstone/platformio.ini index a15fe15..1927242 100644 --- a/examples/whetstone/platformio.ini +++ b/examples/whetstone/platformio.ini @@ -26,6 +26,7 @@ build_flags = ${common.compile_flags} board = nuclei_fpga_eval # Changed to use ilm download mode board_build.download = ilm +board_build.core = n300f [env:gd32vw553h_eval] board = gd32vw553h_eval