diff --git a/.github/workflows/bsp_buildings.yml b/.github/workflows/bsp_buildings.yml index 59fac313e75..c27c57ab91d 100644 --- a/.github/workflows/bsp_buildings.yml +++ b/.github/workflows/bsp_buildings.yml @@ -32,7 +32,7 @@ jobs: build: runs-on: ubuntu-latest name: ${{ matrix.legs.RTT_BSP }} - if: github.repository_owner == 'RT-Thread' + # if: github.repository_owner == 'RT-Thread' strategy: fail-fast: false matrix: @@ -41,6 +41,7 @@ jobs: RTT_TOOL_CHAIN: "sourcery-arm" SUB_RTT_BSP: - "stm32/stm32f407-rt-spark" + - "nrf5x/nrf52840" - RTT_BSP: "RTduino/Arduino Libraries (STM32F412 Nucleo)" RTT_TOOL_CHAIN: "sourcery-arm" SUB_RTT_BSP: @@ -305,7 +306,6 @@ jobs: - "nrf5x/nrf51822" - "nrf5x/nrf52832" - "nrf5x/nrf52833" - - "nrf5x/nrf52840" - "nrf5x/nrf5340" - "Infineon/psoc6-cy8ckit-062S2-43012" - "Infineon/psoc6-cy8ckit-062-BLE" diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-printf.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-printf.attach new file mode 100644 index 00000000000..7cdb5205ac6 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-printf.attach @@ -0,0 +1,3 @@ +# scons: --strict + +CONFIG_RT_KLIBC_USING_PRINTF_LONGLONG=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-stdlib.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-stdlib.attach new file mode 100644 index 00000000000..92d7428b782 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-stdlib.attach @@ -0,0 +1,4 @@ +# scons: --strict + +CONFIG_RT_KLIBC_USING_STDLIB=y +CONFIG_RT_KLIBC_USING_STDLIB_MEMORY=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-tinysize.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-tinysize.attach new file mode 100644 index 00000000000..a0e4bddb24a --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/kernel/klibc-tinysize.attach @@ -0,0 +1,3 @@ +# scons: --strict + +CONFIG_RT_KLIBC_USING_TINY_SIZE=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/nano.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/nano.attach new file mode 100644 index 00000000000..f1ad05b2391 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/nano.attach @@ -0,0 +1,2 @@ +# scons: --strict +CONFIG_RT_USING_NANO=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/iot/at_devices.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/iot/at_devices.attach new file mode 100644 index 00000000000..014a10cbc2c --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/iot/at_devices.attach @@ -0,0 +1,91 @@ +# scons: --strict + +CONFIG_PKG_USING_AT_DEVICE=y + +# Quectel M26/MC20 +CONFIG_AT_DEVICE_USING_M26=y +CONFIG_AT_DEVICE_M26_INIT_ASYN=y + +# Quectel EC20 +CONFIG_AT_DEVICE_USING_EC20=y +CONFIG_AT_DEVICE_EC20_INIT_ASYN=y + +# Espressif ESP32 +CONFIG_AT_DEVICE_USING_ESP32=y +CONFIG_AT_DEVICE_ESP32_INIT_ASYN=y + +# Espressif ESP8266 +CONFIG_AT_DEVICE_USING_ESP8266=y +CONFIG_AT_DEVICE_ESP8266_INIT_ASYN=y + +# Realthread RW007 +CONFIG_AT_DEVICE_USING_RW007=y +CONFIG_AT_DEVICE_RW007_INIT_ASYN=y + +# SIMCom SIM800C +CONFIG_AT_DEVICE_USING_SIM800C=y +CONFIG_AT_DEVICE_SIM800C_INIT_ASYN=y + +# SIMCom SIM76XX +CONFIG_AT_DEVICE_USING_SIM76XX=y +CONFIG_AT_DEVICE_SIM76XX_INIT_ASYN=y + +# Notion MW31 +CONFIG_AT_DEVICE_USING_MW31=y +CONFIG_AT_DEVICE_MW31_INIT_ASYN=y + +# WinnerMicro W60X +CONFIG_AT_DEVICE_USING_W60X=y +CONFIG_AT_DEVICE_W60X_INIT_ASYN=y + +# Ai-Think A9G +CONFIG_AT_DEVICE_USING_A9G=y +CONFIG_AT_DEVICE_A9G_INIT_ASYN=y + +# Quectel BC26 +CONFIG_AT_DEVICE_USING_BC26=y +CONFIG_AT_DEVICE_BC26_INIT_ASYN=y + +# luat Air720 +CONFIG_AT_DEVICE_USING_AIR720=y +CONFIG_AT_DEVICE_AIR720_INIT_ASYN=y + +# Gosuncn ME3616 +CONFIG_AT_DEVICE_USING_ME3616=y +CONFIG_AT_DEVICE_ME3616_INIT_ASYN=y + +# ChinaMobile M6315 +CONFIG_AT_DEVICE_USING_M6315=y +CONFIG_AT_DEVICE_M6315_INIT_ASYN=y + +# Quectel BC28 +CONFIG_AT_DEVICE_USING_BC28=y +CONFIG_AT_DEVICE_BC28_INIT_ASYN=y + +# Quectel EC200T/EC200S +CONFIG_AT_DEVICE_USING_EC200X=y +CONFIG_AT_DEVICE_EC200X_INIT_ASYN=y + +# Neoway N21 +CONFIG_AT_DEVICE_USING_N21=y +CONFIG_AT_DEVICE_N21_INIT_ASYN=y + +# Neoway N58 +CONFIG_AT_DEVICE_USING_N58=y +CONFIG_AT_DEVICE_N58_INIT_ASYN=y + +# ChinaMobile M5311 +CONFIG_AT_DEVICE_USING_M5311=y +CONFIG_AT_DEVICE_M5311_INIT_ASYN=y + +# Fibocom L610 +CONFIG_AT_DEVICE_USING_L610=y +CONFIG_AT_DEVICE_L610_INIT_ASYN=y + +# Neoway N720 +CONFIG_AT_DEVICE_USING_N720=y +CONFIG_AT_DEVICE_N720_INIT_ASYN=y + +# Gosuncn ML305 +CONFIG_AT_DEVICE_USING_ML305=y +CONFIG_AT_DEVICE_ML305_INIT_ASYN=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/misc.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/misc.attach new file mode 100644 index 00000000000..10ca7940047 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/misc.attach @@ -0,0 +1,4 @@ +# scons: --strict + +# MultiButton +CONFIG_PKG_USING_MULTIBUTTON=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/vi.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/vi.attach new file mode 100644 index 00000000000..29acf55118f --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/misc/vi.attach @@ -0,0 +1,16 @@ +# scons: --strict +CONFIG_PKG_USING_VI=y +# CONFIG_VI_ENABLE_8BIT=y +CONFIG_VI_ENABLE_COLON=y +CONFIG_VI_ENABLE_COLON_EXPAND=y +CONFIG_VI_ENABLE_YANKMARK=y +CONFIG_VI_ENABLE_SEARCH=y +CONFIG_VI_ENABLE_DOT_CMD=y +CONFIG_VI_ENABLE_READONLY=y +CONFIG_VI_ENABLE_SETOPTS=y +CONFIG_VI_ENABLE_SET=y +CONFIG_VI_ENABLE_WIN_RESIZE=y +CONFIG_VI_ENABLE_VI_ASK_TERMINAL=y +CONFIG_VI_ENABLE_UNDO=y +CONFIG_VI_ENABLE_UNDO_QUEUE=y +CONFIG_VI_ENABLE_VERBOSE_STATUS=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-latest.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-latest.attach new file mode 100644 index 00000000000..4f880123278 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-latest.attach @@ -0,0 +1,5 @@ +# scons: --strict + +CONFIG_BSP_USING_LVGL=y +CONFIG_BSP_USING_LVGL_DEMO=y +CONFIG_PKG_LVGL_USING_LATEST=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3-latest.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3-latest.attach new file mode 100644 index 00000000000..a78c274465c --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3-latest.attach @@ -0,0 +1,5 @@ +# scons: --strict + +CONFIG_BSP_USING_LVGL=y +CONFIG_BSP_USING_LVGL_DEMO=y +CONFIG_PKG_LVGL_USING_V8_3_LATEST=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3.11.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3.11.attach new file mode 100644 index 00000000000..e1305a8091d --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.3.11.attach @@ -0,0 +1,5 @@ +# scons: --strict + +CONFIG_BSP_USING_LVGL=y +CONFIG_BSP_USING_LVGL_DEMO=y +CONFIG_PKG_LVGL_USING_V080311=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.4-latest.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.4-latest.attach new file mode 100644 index 00000000000..7179f1247ba --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/multimedia/lvgl/lvgl-v8.4-latest.attach @@ -0,0 +1,5 @@ +# scons: --strict + +CONFIG_BSP_USING_LVGL=y +CONFIG_BSP_USING_LVGL_DEMO=y +CONFIG_PKG_LVGL_USING_V8_4_LATEST=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/enhanced-kservice.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/enhanced-kservice.attach new file mode 100644 index 00000000000..7571f1664b2 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/enhanced-kservice.attach @@ -0,0 +1,4 @@ +# scons: --strict +CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE=y +CONFIG_PKG_USING_RT_MEMCPY_CM=y +CONFIG_PKG_USING_RT_VSNPRINTF_FULL=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/os-wrappers.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/os-wrappers.attach new file mode 100644 index 00000000000..216d8f1fef3 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/online-packages/system/os-wrappers.attach @@ -0,0 +1,2 @@ +# scons: --strict +CONFIG_PKG_USING_FREERTOS_WRAPPER=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/aht21.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/aht21.attach new file mode 100644 index 00000000000..e9269471b5c --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/aht21.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_AHT21=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ap3216c.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ap3216c.attach new file mode 100644 index 00000000000..b8da5bcfb3b --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ap3216c.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_AP3216C=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ethernet_28j60.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ethernet_28j60.attach new file mode 100644 index 00000000000..085b183d92d --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/ethernet_28j60.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ENC28j60=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/fal_easyflash.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/fal_easyflash.attach new file mode 100644 index 00000000000..70aac6f9746 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/fal_easyflash.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_EASYFLASH=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/filesystem.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/filesystem.attach new file mode 100644 index 00000000000..72c479e8d05 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/filesystem.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_FS=y +CONFIG_BSP_USING_FLASH_FATFS=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/icm20608.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/icm20608.attach new file mode 100644 index 00000000000..922671ca355 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/icm20608.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ICM20608=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/lcd_st7787.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/lcd_st7787.attach new file mode 100644 index 00000000000..c4044805ae6 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/lcd_st7787.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ONBOARD_LCD=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/led_matrix.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/led_matrix.attach new file mode 100644 index 00000000000..7c184020222 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/led_matrix.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ONBOARD_LED_MATRIX=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rs485.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rs485.attach new file mode 100644 index 00000000000..144fb35d85d --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rs485.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_RS485=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rw007.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rw007.attach new file mode 100644 index 00000000000..be96228ae15 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/rw007.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_RW007_WLAN=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/spi_flash_w25q64.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/spi_flash_w25q64.attach new file mode 100644 index 00000000000..a2a4b419932 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/spi_flash_w25q64.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_SPI_FLASH=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/sram.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/sram.attach new file mode 100644 index 00000000000..516182d2b51 --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/sram.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_SRAM=y diff --git a/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/usb_mouse.attach b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/usb_mouse.attach new file mode 100644 index 00000000000..ad9c397d8bc --- /dev/null +++ b/bsp/nrf5x/nrf52840/.ci/attachconfig/peripheral/usb_mouse.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_USB_MOUSE=y