mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-04 04:51:53 +00:00
[bsp][nxp]:fix mcxa346 ci err
This commit is contained in:
@@ -5,5 +5,11 @@ scons.args: &scons
|
|||||||
# ------ component CI ------
|
# ------ component CI ------
|
||||||
component.can:
|
component.can:
|
||||||
kconfig:
|
kconfig:
|
||||||
- CONFIG_BSP_USING_CAN
|
- CONFIG_BSP_USING_CAN=y
|
||||||
- CONFIG_BSP_USING_CAN0
|
- CONFIG_BSP_USING_CAN0=y
|
||||||
|
|
||||||
|
# ------ Peripheral CI ------
|
||||||
|
Peripheral.arduino:
|
||||||
|
kconfig:
|
||||||
|
- CONFIG_BSP_USING_ARDUINO=y
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -20,55 +20,51 @@ menu "On-chip Peripheral Drivers"
|
|||||||
default y
|
default y
|
||||||
|
|
||||||
menuconfig BSP_USING_UART
|
menuconfig BSP_USING_UART
|
||||||
config BSP_USING_UART
|
bool "Enable UART"
|
||||||
bool "Enable UART"
|
select RT_USING_UART
|
||||||
select RT_USING_UART
|
default y
|
||||||
default y
|
|
||||||
|
|
||||||
if BSP_USING_UART
|
if BSP_USING_UART
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable LPUART2 as defalt UART"
|
bool "Enable LPUART2 as defalt UART"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
menuconfig BSP_USING_I2C
|
menuconfig BSP_USING_I2C
|
||||||
config BSP_USING_I2C
|
bool "Enable I2C"
|
||||||
bool "Enable I2C"
|
select RT_USING_I2C
|
||||||
select RT_USING_I2C
|
default y
|
||||||
default y
|
|
||||||
|
|
||||||
if BSP_USING_I2C
|
if BSP_USING_I2C
|
||||||
config BSP_USING_I2C3
|
config BSP_USING_I2C3
|
||||||
bool "Enable Flexcomm3 I2C"
|
bool "Enable Flexcomm3 I2C"
|
||||||
default y
|
default y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_SPI
|
menuconfig BSP_USING_SPI
|
||||||
config BSP_USING_SPI
|
bool "Enable SPI"
|
||||||
bool "Enable SPI"
|
select RT_USING_SPI
|
||||||
select RT_USING_SPI
|
default y
|
||||||
default y
|
|
||||||
|
|
||||||
if BSP_USING_SPI
|
if BSP_USING_SPI
|
||||||
config BSP_USING_SPI1
|
config BSP_USING_SPI1
|
||||||
bool "Enable LPSPI1"
|
bool "Enable LPSPI1"
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_ADC
|
menuconfig BSP_USING_ADC
|
||||||
config BSP_USING_ADC
|
bool "Enable ADC Channel"
|
||||||
bool "Enable ADC Channel"
|
select RT_USING_ADC
|
||||||
select RT_USING_ADC
|
default y
|
||||||
default y
|
|
||||||
|
|
||||||
if BSP_USING_ADC
|
if BSP_USING_ADC
|
||||||
config BSP_USING_ADC0_CH22
|
config BSP_USING_ADC0_CH22
|
||||||
bool "Enable ADC0 Channel22"
|
bool "Enable ADC0 Channel22"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_RTC
|
config BSP_USING_RTC
|
||||||
bool "Enable RTC"
|
bool "Enable RTC"
|
||||||
@@ -81,61 +77,58 @@ menu "On-chip Peripheral Drivers"
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
menuconfig BSP_USING_HWTIMER
|
menuconfig BSP_USING_HWTIMER
|
||||||
config BSP_USING_HWTIMER
|
bool "Enable Timer"
|
||||||
bool "Enable Timer"
|
select RT_USING_HWTIMER
|
||||||
select RT_USING_HWTIMER
|
default y
|
||||||
default y
|
|
||||||
|
|
||||||
if BSP_USING_HWTIMER
|
if BSP_USING_HWTIMER
|
||||||
config BSP_USING_CTIMER0
|
config BSP_USING_CTIMER0
|
||||||
bool "Enable CIMER0"
|
bool "Enable CIMER0"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BSP_USING_CTIMER1
|
config BSP_USING_CTIMER1
|
||||||
bool "Enable CIMER1"
|
bool "Enable CIMER1"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_CTIMER3
|
config BSP_USING_CTIMER3
|
||||||
bool "Enable CIMER3"
|
bool "Enable CIMER3"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_CTIMER4
|
config BSP_USING_CTIMER4
|
||||||
bool "Enable CIMER4"
|
bool "Enable CIMER4"
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_PWM
|
menuconfig BSP_USING_PWM
|
||||||
config BSP_USING_PWM
|
bool "Enable PWM"
|
||||||
bool "Enable PWM"
|
select RT_USING_PWM
|
||||||
select RT_USING_PWM
|
default n
|
||||||
default n
|
|
||||||
|
|
||||||
if BSP_USING_PWM
|
if BSP_USING_PWM
|
||||||
config BSP_USING_PWM0
|
config BSP_USING_PWM0
|
||||||
bool "Enable eFlex PWM0"
|
bool "Enable eFlex PWM0"
|
||||||
default n
|
default n
|
||||||
config BSP_USING_PWM1
|
config BSP_USING_PWM1
|
||||||
bool "Enable eFlex PWM1"
|
bool "Enable eFlex PWM1"
|
||||||
default n
|
default n
|
||||||
config BSP_USING_PWM2
|
config BSP_USING_PWM2
|
||||||
bool "Enable eFlex PWM2"
|
bool "Enable eFlex PWM2"
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_CAN
|
menuconfig BSP_USING_CAN
|
||||||
config BSP_USING_CAN
|
bool "Enable CAN"
|
||||||
bool "Enable CAN"
|
select RT_USING_CAN
|
||||||
select RT_USING_CAN
|
default n
|
||||||
default n
|
if BSP_USING_CAN
|
||||||
if BSP_USING_CAN
|
config BSP_USING_CAN0
|
||||||
config BSP_USING_CAN0
|
bool "Enable CAN0"
|
||||||
bool "Enable CAN0"
|
default n
|
||||||
default n
|
|
||||||
|
config BSP_USING_CAN1
|
||||||
config BSP_USING_CAN1
|
bool "Enable CAN1"
|
||||||
bool "Enable CAN1"
|
default n
|
||||||
default n
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user