This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
from ffd2eb5b14 arch/arm: only compare callee-saved registers for fpu add 9af5dca7dc risc-v/esp32c3: Refactor and rename linker scripts add 1ced1e9f35 risc-v/esp32c3: Move files shared between boards into a common folder No new revisions were added by this update. Summary of changes: arch/risc-v/src/esp32c3/esp32c3_allocateheap.c | 6 +- arch/risc-v/src/esp32c3/esp32c3_rtcheap.c | 4 +- boards/Kconfig | 3 + .../esp32c3/{esp32c3-devkit => common}/Kconfig | 60 - .../{esp32c3-devkit-rust-1/src => common}/Makefile | 54 +- .../include/esp32c3_board_adc.h} | 65 +- .../include/esp32c3_board_apds9960.h} | 79 +- .../include/esp32c3_board_bmp180.h} | 81 +- .../include/esp32c3_board_i2c.h} | 58 +- .../include/esp32c3_board_ledc.h} | 65 +- .../include/esp32c3_board_oneshot.h} | 66 +- .../include/esp32c3_board_spidev.h} | 64 +- .../include/esp32c3_board_spiflash.h} | 65 +- .../include/esp32c3_board_spislavedev.h} | 58 +- .../include/esp32c3_board_twai.h} | 65 +- .../include/esp32c3_board_wdt.h} | 65 +- .../include/esp32c3_board_wlan.h} | 61 +- .../{esp32c3-devkit => common}/kernel/Makefile | 14 +- .../kernel/esp32c3_userspace.c | 0 .../esp32c3}/common/scripts/.gitignore | 0 .../scripts/esp32c3_aliases.ld | 2 +- .../scripts/esp32c3_rom.ld | 6 +- .../scripts/flat_memory.ld} | 10 +- .../scripts/kernel-space.ld | 0 .../scripts/legacy_sections.ld} | 2 +- .../scripts/mcuboot_sections.ld} | 2 +- .../scripts/protected_memory.ld} | 13 +- .../scripts/user-space.ld | 0 boards/risc-v/esp32c3/common/src/Make.defs | 95 + .../src/esp32c3_board_adc.c} | 7 +- .../src/esp32c3_board_apa102.c} | 3 +- .../src/esp32c3_board_apds9960.c} | 8 +- .../src/esp32c3_board_bmp180.c} | 27 +- .../src/esp32c3_board_gc9a01.c} | 2 +- .../src/esp32c3_board_i2c.c} | 8 +- .../src/esp32c3_board_ledc.c} | 15 +- .../src/esp32c3_board_oneshot.c} | 10 +- .../src/esp32c3_board_spi.c | 2 +- .../src/esp32c3_board_spidev.c | 13 +- .../src/esp32c3_board_spiflash.c} | 15 +- .../src/esp32c3_board_spislavedev.c | 4 +- .../src/esp32c3_board_st7735.c} | 2 +- .../src/esp32c3_board_st7789.c} | 2 +- .../src/esp32c3_board_twai.c} | 18 +- .../src/esp32c3_board_wdt.c} | 9 +- .../src/esp32c3_board_wlan.c | 7 +- .../configs/shiftgame/defconfig | 1 + .../esp32c3-devkit-rust-1/scripts/.gitignore | 1 - .../esp32c3-devkit-rust-1/scripts/Make.defs | 20 +- .../esp32c3-devkit-rust-1/scripts/esp32c3.ld | 260 --- .../esp32c3-devkit-rust-1/scripts/flat.template.ld | 148 -- .../src/{Makefile => Make.defs} | 46 +- .../src/esp32c3-devkit-rust-1.h | 228 --- .../esp32c3-devkit-rust-1/src/esp32c3_bringup.c | 2 +- boards/risc-v/esp32c3/esp32c3-devkit/Kconfig | 70 - .../esp32c3/esp32c3-devkit/configs/adc/defconfig | 1 + .../esp32c3-devkit/configs/autopm/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/ble/defconfig | 1 + .../esp32c3-devkit/configs/bmp180/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/cxx/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/efuse/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/elf/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/gpio/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/knsh/defconfig | 3 +- .../esp32c3/esp32c3-devkit/configs/lvgl/defconfig | 1 + .../configs/mcuboot_slot_confirm/defconfig | 1 + .../esp32c3-devkit/configs/module/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/nsh/defconfig | 1 + .../esp32c3-devkit/configs/nvcfgdata/defconfig | 1 + .../esp32c3-devkit/configs/oneshot/defconfig | 1 + .../esp32c3-devkit/configs/ostest/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/pm/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/pwm/defconfig | 1 + .../esp32c3-devkit/configs/random/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/romfs/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/rtc/defconfig | 1 + .../esp32c3-devkit/configs/sotest/defconfig | 1 + .../esp32c3-devkit/configs/spiflash/defconfig | 1 + .../esp32c3-devkit/configs/sta_softap/defconfig | 1 + .../esp32c3-devkit/configs/tickless/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/timer/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/twai/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/uid/defconfig | 1 + .../esp32c3-devkit/configs/usbconsole/defconfig | 1 + .../esp32c3/esp32c3-devkit/configs/wapi/defconfig | 1 + .../esp32c3-devkit/configs/watchdog/defconfig | 1 + .../esp32c3-devkit/configs/watcher/defconfig | 1 + .../esp32c3/esp32c3-devkit/scripts/.gitignore | 1 - .../esp32c3/esp32c3-devkit/scripts/Make.defs | 16 +- .../esp32c3/esp32c3-devkit/scripts/esp32c3_rom.ld | 2036 -------------------- .../src/Makefile => esp32c3-devkit/src/Make.defs} | 51 +- boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile | 133 -- .../esp32c3/esp32c3-devkit/src/esp32c3-devkit.h | 199 -- .../esp32c3/esp32c3-devkit/src/esp32c3_bringup.c | 20 +- 94 files changed, 690 insertions(+), 3791 deletions(-) copy boards/risc-v/esp32c3/{esp32c3-devkit => common}/Kconfig (58%) copy boards/risc-v/esp32c3/{esp32c3-devkit-rust-1/src => common}/Makefile (50%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_adc.h} (67%) rename boards/risc-v/esp32c3/{esp32c3-devkit-rust-1/src/esp32c3_board_spi.c => common/include/esp32c3_board_apds9960.h} (60%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_twai.c => common/include/esp32c3_board_bmp180.h} (61%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_i2c.c => common/include/esp32c3_board_i2c.h} (68%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_ledc.h} (66%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_oneshot.c => common/include/esp32c3_board_oneshot.h} (66%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_spislavedev.c => common/include/esp32c3_board_spidev.h} (66%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_spiflash.h} (65%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_spislavedev.c => common/include/esp32c3_board_spislavedev.h} (70%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_twai.h} (67%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_wdt.h} (67%) copy boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_board_wlan.c => common/include/esp32c3_board_wlan.h} (69%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/kernel/Makefile (83%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/kernel/esp32c3_userspace.c (100%) copy boards/{xtensa/esp32 => risc-v/esp32c3}/common/scripts/.gitignore (100%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/scripts/esp32c3_aliases.ld (94%) rename boards/risc-v/esp32c3/{esp32c3-devkit-rust-1 => common}/scripts/esp32c3_rom.ld (99%) rename boards/risc-v/esp32c3/{esp32c3-devkit/scripts/flat.template.ld => common/scripts/flat_memory.ld} (92%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/scripts/kernel-space.ld (100%) rename boards/risc-v/esp32c3/{esp32c3-devkit/scripts/esp32c3.ld => common/scripts/legacy_sections.ld} (98%) rename boards/risc-v/esp32c3/{esp32c3-devkit/scripts/esp32c3_mcuboot.ld => common/scripts/mcuboot_sections.ld} (99%) rename boards/risc-v/esp32c3/{esp32c3-devkit/scripts/protected.template.ld => common/scripts/protected_memory.ld} (90%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/scripts/user-space.ld (100%) create mode 100644 boards/risc-v/esp32c3/common/src/Make.defs rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_adc.c => common/src/esp32c3_board_adc.c} (97%) rename boards/risc-v/esp32c3/{esp32c3-devkit-rust-1/src/esp32c3_apa102.c => common/src/esp32c3_board_apa102.c} (96%) rename boards/risc-v/esp32c3/{esp32c3-devkit-rust-1/src/esp32c3_apds9960.c => common/src/esp32c3_board_apds9960.c} (96%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_bmp180.c => common/src/esp32c3_board_bmp180.c} (68%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_gc9a01.c => common/src/esp32c3_board_gc9a01.c} (98%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_i2c.c => common/src/esp32c3_board_i2c.c} (94%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_ledc.c => common/src/esp32c3_board_ledc.c} (90%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_oneshot.c => common/src/esp32c3_board_oneshot.c} (92%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/src/esp32c3_board_spi.c (97%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/src/esp32c3_board_spidev.c (84%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_spiflash.c => common/src/esp32c3_board_spiflash.c} (97%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/src/esp32c3_board_spislavedev.c (96%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_st7735.c => common/src/esp32c3_board_st7735.c} (98%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_st7789.c => common/src/esp32c3_board_st7789.c} (98%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_twai.c => common/src/esp32c3_board_twai.c} (88%) rename boards/risc-v/esp32c3/{esp32c3-devkit/src/esp32c3_wdt.c => common/src/esp32c3_board_wdt.c} (94%) rename boards/risc-v/esp32c3/{esp32c3-devkit => common}/src/esp32c3_board_wlan.c (95%) delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/.gitignore delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/esp32c3.ld delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit-rust-1/scripts/flat.template.ld copy boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/{Makefile => Make.defs} (59%) delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit/scripts/.gitignore delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3_rom.ld rename boards/risc-v/esp32c3/{esp32c3-devkit-rust-1/src/Makefile => esp32c3-devkit/src/Make.defs} (55%) delete mode 100644 boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile