summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCYFS <[email protected]>2026-01-27 15:15:30 +0800
committerYuqiang Wang <[email protected]>2026-01-28 13:54:16 +0800
commitc374aa2b19c1c52fdc7e497a3c196551362365c2 (patch)
tree64a81276317dfaf71dc0748b708f579493389b27
parent3e2d924e9dcc12aaeb44c97c5218fb67acc8c5ed (diff)
[bsp][nxp]:fix mcxa346 ci err
-rw-r--r--bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml10
-rw-r--r--bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach14
-rw-r--r--bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig157
3 files changed, 83 insertions, 98 deletions
diff --git a/bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml b/bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml
index a37fda0654..cac6fcae98 100644
--- a/bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml
+++ b/bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml
@@ -5,5 +5,11 @@ scons.args: &scons
# ------ component CI ------
component.can:
kconfig:
- - CONFIG_BSP_USING_CAN
- - CONFIG_BSP_USING_CAN0
+ - CONFIG_BSP_USING_CAN=y
+ - CONFIG_BSP_USING_CAN0=y
+
+# ------ Peripheral CI ------
+Peripheral.arduino:
+ kconfig:
+ - CONFIG_BSP_USING_ARDUINO=y
+
diff --git a/bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach b/bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach
deleted file mode 100644
index b546b5f2c7..0000000000
--- a/bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach
+++ /dev/null
@@ -1,14 +0,0 @@
-CONFIG_PKG_USING_RTDUINO=y
-CONFIG_PKG_RTDUINO_PATH="/packages/arduino/RTduino"
-CONFIG_RTDUINO_THREAD_SIZE=2048
-CONFIG_RTDUINO_THREAD_PRIO=30
-CONFIG_RTDUINO_SUPPORT_HIGH_PRECISION_MICROS=y
-CONFIG_PKG_USING_RTDUINO_LATEST_VERSION=y
-CONFIG_PKG_RTDUINO_VER="latest"
-CONFIG_BSP_USING_I2C=y
-CONFIG_BSP_USING_I2C3=y
-CONFIG_BSP_USING_SPI=y
-CONFIG_BSP_USING_SPI1=y
-CONFIG_BSP_USING_ADC=y
-CONFIG_BSP_USING_PWM=y
-CONFIG_BSP_USING_ARDUINO=y \ No newline at end of file
diff --git a/bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig b/bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig
index 5e2569c132..0820121fc5 100644
--- a/bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig
+++ b/bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig
@@ -20,55 +20,51 @@ menu "On-chip Peripheral Drivers"
default y
menuconfig BSP_USING_UART
- config BSP_USING_UART
- bool "Enable UART"
- select RT_USING_UART
- default y
+ bool "Enable UART"
+ select RT_USING_UART
+ default y
- if BSP_USING_UART
- config BSP_USING_UART2
- bool "Enable LPUART2 as defalt UART"
- default y
+ if BSP_USING_UART
+ config BSP_USING_UART2
+ bool "Enable LPUART2 as defalt UART"
+ default y
- endif
+ endif
menuconfig BSP_USING_I2C
- config BSP_USING_I2C
- bool "Enable I2C"
- select RT_USING_I2C
- default y
+ bool "Enable I2C"
+ select RT_USING_I2C
+ default y
- if BSP_USING_I2C
- config BSP_USING_I2C3
- bool "Enable Flexcomm3 I2C"
- default y
- endif
+ if BSP_USING_I2C
+ config BSP_USING_I2C3
+ bool "Enable Flexcomm3 I2C"
+ default y
+ endif
menuconfig BSP_USING_SPI
- config BSP_USING_SPI
- bool "Enable SPI"
- select RT_USING_SPI
- default y
+ bool "Enable SPI"
+ select RT_USING_SPI
+ default y
- if BSP_USING_SPI
- config BSP_USING_SPI1
- bool "Enable LPSPI1"
- default n
- endif
+ if BSP_USING_SPI
+ config BSP_USING_SPI1
+ bool "Enable LPSPI1"
+ default n
+ endif
menuconfig BSP_USING_ADC
- config BSP_USING_ADC
- bool "Enable ADC Channel"
- select RT_USING_ADC
- default y
+ bool "Enable ADC Channel"
+ select RT_USING_ADC
+ default y
- if BSP_USING_ADC
- config BSP_USING_ADC0_CH22
- bool "Enable ADC0 Channel22"
- default n
+ if BSP_USING_ADC
+ config BSP_USING_ADC0_CH22
+ bool "Enable ADC0 Channel22"
+ default n
- endif
+ endif
config BSP_USING_RTC
bool "Enable RTC"
@@ -81,61 +77,58 @@ menu "On-chip Peripheral Drivers"
default n
menuconfig BSP_USING_HWTIMER
- config BSP_USING_HWTIMER
- bool "Enable Timer"
- select RT_USING_HWTIMER
- default y
+ bool "Enable Timer"
+ select RT_USING_HWTIMER
+ default y
- if BSP_USING_HWTIMER
- config BSP_USING_CTIMER0
- bool "Enable CIMER0"
- default y
+ if BSP_USING_HWTIMER
+ config BSP_USING_CTIMER0
+ bool "Enable CIMER0"
+ default y
- config BSP_USING_CTIMER1
- bool "Enable CIMER1"
- default n
+ config BSP_USING_CTIMER1
+ bool "Enable CIMER1"
+ default n
- config BSP_USING_CTIMER3
- bool "Enable CIMER3"
- default n
+ config BSP_USING_CTIMER3
+ bool "Enable CIMER3"
+ default n
- config BSP_USING_CTIMER4
- bool "Enable CIMER4"
- default n
- endif
+ config BSP_USING_CTIMER4
+ bool "Enable CIMER4"
+ default n
+ endif
menuconfig BSP_USING_PWM
- config BSP_USING_PWM
- bool "Enable PWM"
- select RT_USING_PWM
- default n
+ bool "Enable PWM"
+ select RT_USING_PWM
+ default n
- if BSP_USING_PWM
- config BSP_USING_PWM0
- bool "Enable eFlex PWM0"
- default n
- config BSP_USING_PWM1
- bool "Enable eFlex PWM1"
- default n
- config BSP_USING_PWM2
- bool "Enable eFlex PWM2"
- default n
- endif
+ if BSP_USING_PWM
+ config BSP_USING_PWM0
+ bool "Enable eFlex PWM0"
+ default n
+ config BSP_USING_PWM1
+ bool "Enable eFlex PWM1"
+ default n
+ config BSP_USING_PWM2
+ bool "Enable eFlex PWM2"
+ default n
+ endif
menuconfig BSP_USING_CAN
- config BSP_USING_CAN
- bool "Enable CAN"
- select RT_USING_CAN
- default n
- if BSP_USING_CAN
- config BSP_USING_CAN0
- bool "Enable CAN0"
- default n
-
- config BSP_USING_CAN1
- bool "Enable CAN1"
- default n
- endif
+ bool "Enable CAN"
+ select RT_USING_CAN
+ default n
+ if BSP_USING_CAN
+ config BSP_USING_CAN0
+ bool "Enable CAN0"
+ default n
+
+ config BSP_USING_CAN1
+ bool "Enable CAN1"
+ default n
+ endif
endmenu