Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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

14 changes: 0 additions & 14 deletions bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach

This file was deleted.

159 changes: 76 additions & 83 deletions bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

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
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

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

Expand Down