File tree Expand file tree Collapse file tree
audio_4_channel_mic_freertos Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11mcu:CH32V103
22mcu:CH32V20X
33mcu:CH32V307
4+ mcu:CH58X
45mcu:CXD56
56mcu:F1C100S
67mcu:GD32VF103
Original file line number Diff line number Diff line change 11mcu:CH32V103
22mcu:CH32V20X
33mcu:CH32V307
4+ mcu:CH58X
45mcu:CXD56
56mcu:F1C100S
67mcu:GD32VF103
Original file line number Diff line number Diff line change 11mcu:CH32V103
22mcu:CH32V20X
33mcu:CH32V307
4+ mcu:CH58X
45mcu:CXD56
56mcu:F1C100S
67mcu:GD32VF103
Original file line number Diff line number Diff line change 11mcu:CH32V103
22mcu:CH32V20X
33mcu:CH32V307
4+ mcu:CH58X
45mcu:CXD56
56mcu:F1C100S
67mcu:GD32VF103
Original file line number Diff line number Diff line change 11mcu:CH32V103
22mcu:CH32V20X
33mcu:CH32V307
4+ mcu:CH58X
45mcu:CXD56
56mcu:F1C100S
67mcu:GD32VF103
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ mcu:GD32VF103
55mcu:CH32V103
66mcu:CH32V20X
77mcu:CH32V307
8+ mcu:CH58X
89mcu:STM32L0
910family:espressif
1011board:curiosity_nano
Original file line number Diff line number Diff line change @@ -45,16 +45,20 @@ function(family_add_board BOARD_TARGET)
4545 target_compile_definitions (${BOARD_TARGET} PUBLIC
4646 CFG_TUD_WCH_USBIP_USBFS=1
4747 FREQ_SYS=60000000
48+ DISK_LIB_ENABLE=0
49+ INT_SOFT
4850 )
4951
5052 update_board (${BOARD_TARGET} )
5153
5254 if (CMAKE_C_COMPILER_ID STREQUAL "GNU" )
5355 target_compile_options (${BOARD_TARGET} PUBLIC
54- -msmall-data-limit=8
56+ -flto
57+ -msmall-data-limit=16
5558 -mno-save-restore
5659 -fmessage-length=0
5760 -fsigned-char
61+ -Wno-error=strict-prototypes
5862 )
5963 endif ()
6064endfunction ()
@@ -82,8 +86,8 @@ function(family_configure_example TARGET RTOS)
8286
8387 if (CMAKE_C_COMPILER_ID STREQUAL "GNU" )
8488 target_link_options (${TARGET} PUBLIC
85- -nostartfiles
86- --specs=nosys.specs --specs=nano.specs
89+ -nostdlib - nostartfiles
90+ --specs=nosys.specs
8791 -Wl,--defsym=__FLASH_SIZE=${LD_FLASH_SIZE}
8892 -Wl,--defsym=__RAM_SIZE=${LD_RAM_SIZE}
8993 "LINKER:--script=${LD_FILE_GNU} "
@@ -99,5 +103,4 @@ function(family_configure_example TARGET RTOS)
99103 # Flashing
100104 family_add_bin_hex (${TARGET} )
101105 family_flash_openocd_wch (${TARGET} )
102- family_flash_wlink_rs (${TARGET} )
103106endfunction ()
You can’t perform that action at this time.
0 commit comments