From 40124ca12b7b39c7ebd77f8f0d98878f2e61df76 Mon Sep 17 00:00:00 2001 From: hydevcode Date: Tue, 22 Oct 2024 21:52:34 +0800 Subject: [PATCH] [action] add nrf5340 ci config --- bsp/nrf5x/nrf5340/.ci/attachconfig/devices/adc.attach | 1 + bsp/nrf5x/nrf5340/.ci/attachconfig/devices/chip_flash.attach | 1 + bsp/nrf5x/nrf5340/.ci/attachconfig/devices/i2c.attach | 4 ++++ bsp/nrf5x/nrf5340/.ci/attachconfig/devices/ipc.attach | 1 + bsp/nrf5x/nrf5340/.ci/attachconfig/devices/pwm.attach | 1 + bsp/nrf5x/nrf5340/.ci/attachconfig/devices/qspi_flash.attach | 2 ++ bsp/nrf5x/nrf5340/.ci/attachconfig/devices/rtc.attach | 1 + bsp/nrf5x/nrf5340/.ci/attachconfig/devices/spi.attach | 4 ++++ bsp/nrf5x/nrf5340/.ci/attachconfig/devices/tim.attach | 2 ++ bsp/nrf5x/nrf5340/.ci/attachconfig/devices/wdt.attach | 1 + bsp/nrf5x/nrf5340/board/Kconfig | 4 ++-- 11 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/adc.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/chip_flash.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/i2c.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/ipc.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/pwm.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/qspi_flash.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/rtc.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/spi.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/tim.attach create mode 100644 bsp/nrf5x/nrf5340/.ci/attachconfig/devices/wdt.attach diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/adc.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/adc.attach new file mode 100644 index 0000000000..f800def214 --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/adc.attach @@ -0,0 +1 @@ +CONFIG_RT_USING_ADC=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/chip_flash.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/chip_flash.attach new file mode 100644 index 0000000000..5c49eb48fc --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/chip_flash.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ON_CHIP_FLASH=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/i2c.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/i2c.attach new file mode 100644 index 0000000000..487a3d3137 --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/i2c.attach @@ -0,0 +1,4 @@ +CONFIG_BSP_USING_I2C=y +CONFIG_BSP_USING_I2C0=n +CONFIG_BSP_USING_I2C1=n +CONFIG_BSP_USING_I2C2=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/ipc.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/ipc.attach new file mode 100644 index 0000000000..5a7131a48e --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/ipc.attach @@ -0,0 +1 @@ +CONFIG_RT_USING_IPC=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/pwm.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/pwm.attach new file mode 100644 index 0000000000..919d74a7ba --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/pwm.attach @@ -0,0 +1 @@ +CONFIG_RT_USING_PWM=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/qspi_flash.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/qspi_flash.attach new file mode 100644 index 0000000000..f29eb44fb7 --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/qspi_flash.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_QSPI_FLASH=y +CONFIG_RT_USING_SFUD=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/rtc.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/rtc.attach new file mode 100644 index 0000000000..fb6acc20cd --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/rtc.attach @@ -0,0 +1 @@ +CONFIG_BSP_USING_ONCHIP_RTC=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/spi.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/spi.attach new file mode 100644 index 0000000000..93ffe518ce --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/spi.attach @@ -0,0 +1,4 @@ +CONFIG_BSP_USING_SPI=y +CONFIG_BSP_USING_SPI0=n +CONFIG_BSP_USING_SPI1=n +CONFIG_BSP_USING_SPI2=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/tim.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/tim.attach new file mode 100644 index 0000000000..b0176a0ff6 --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/tim.attach @@ -0,0 +1,2 @@ +CONFIG_BSP_USING_TIM=y +CONFIG_BSP_USING_TIM1=y diff --git a/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/wdt.attach b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/wdt.attach new file mode 100644 index 0000000000..5c834f43db --- /dev/null +++ b/bsp/nrf5x/nrf5340/.ci/attachconfig/devices/wdt.attach @@ -0,0 +1 @@ +CONFIG_RT_USING_WDT=y \ No newline at end of file diff --git a/bsp/nrf5x/nrf5340/board/Kconfig b/bsp/nrf5x/nrf5340/board/Kconfig index 323e979abb..9ca008c633 100644 --- a/bsp/nrf5x/nrf5340/board/Kconfig +++ b/bsp/nrf5x/nrf5340/board/Kconfig @@ -37,7 +37,7 @@ menu "Onboard Peripheral Drivers" menuconfig BSP_USING_QSPI_FLASH - select PKG_USING_FAL + select RT_USING_FAL bool "Enable QSPI FLASH(MX25R64 8MB)" default n depends on BSP_BOARD_PCA_10095 @@ -482,7 +482,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH - select PKG_USING_FAL + select RT_USING_FAL bool "Enable on-chip FLASH" default n