Skip to content

Commit c374aa2

Browse files
CYFS3kurisaW
authored andcommitted
[bsp][nxp]:fix mcxa346 ci err
1 parent 3e2d924 commit c374aa2

3 files changed

Lines changed: 84 additions & 99 deletions

File tree

bsp/nxp/mcx/mcxa/frdm-mcxa346/.ci/attachconfig/ci.attachconfig.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@ scons.args: &scons
55
# ------ component CI ------
66
component.can:
77
kconfig:
8-
- CONFIG_BSP_USING_CAN
9-
- CONFIG_BSP_USING_CAN0
8+
- CONFIG_BSP_USING_CAN=y
9+
- CONFIG_BSP_USING_CAN0=y
10+
11+
# ------ Peripheral CI ------
12+
Peripheral.arduino:
13+
kconfig:
14+
- CONFIG_BSP_USING_ARDUINO=y
15+

bsp/nxp/mcx/mcxa/frdm-mcxa346/.cl/attachconfig/RTduino.attach

Lines changed: 0 additions & 14 deletions
This file was deleted.

bsp/nxp/mcx/mcxa/frdm-mcxa346/board/Kconfig

Lines changed: 76 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -20,55 +20,51 @@ menu "On-chip Peripheral Drivers"
2020
default y
2121

2222
menuconfig BSP_USING_UART
23-
config BSP_USING_UART
24-
bool "Enable UART"
25-
select RT_USING_UART
26-
default y
23+
bool "Enable UART"
24+
select RT_USING_UART
25+
default y
2726

28-
if BSP_USING_UART
29-
config BSP_USING_UART2
30-
bool "Enable LPUART2 as defalt UART"
31-
default y
27+
if BSP_USING_UART
28+
config BSP_USING_UART2
29+
bool "Enable LPUART2 as defalt UART"
30+
default y
3231

33-
endif
32+
endif
3433

3534

3635
menuconfig BSP_USING_I2C
37-
config BSP_USING_I2C
38-
bool "Enable I2C"
39-
select RT_USING_I2C
40-
default y
36+
bool "Enable I2C"
37+
select RT_USING_I2C
38+
default y
4139

42-
if BSP_USING_I2C
43-
config BSP_USING_I2C3
44-
bool "Enable Flexcomm3 I2C"
45-
default y
46-
endif
40+
if BSP_USING_I2C
41+
config BSP_USING_I2C3
42+
bool "Enable Flexcomm3 I2C"
43+
default y
44+
endif
4745

4846
menuconfig BSP_USING_SPI
49-
config BSP_USING_SPI
50-
bool "Enable SPI"
51-
select RT_USING_SPI
52-
default y
47+
bool "Enable SPI"
48+
select RT_USING_SPI
49+
default y
5350

54-
if BSP_USING_SPI
55-
config BSP_USING_SPI1
56-
bool "Enable LPSPI1"
57-
default n
58-
endif
51+
if BSP_USING_SPI
52+
config BSP_USING_SPI1
53+
bool "Enable LPSPI1"
54+
default n
55+
endif
5956

6057
menuconfig BSP_USING_ADC
61-
config BSP_USING_ADC
62-
bool "Enable ADC Channel"
63-
select RT_USING_ADC
64-
default y
58+
bool "Enable ADC Channel"
59+
select RT_USING_ADC
60+
default y
6561

66-
if BSP_USING_ADC
67-
config BSP_USING_ADC0_CH22
68-
bool "Enable ADC0 Channel22"
69-
default n
62+
if BSP_USING_ADC
63+
config BSP_USING_ADC0_CH22
64+
bool "Enable ADC0 Channel22"
65+
default n
7066

71-
endif
67+
endif
7268

7369
config BSP_USING_RTC
7470
bool "Enable RTC"
@@ -81,61 +77,58 @@ menu "On-chip Peripheral Drivers"
8177
default n
8278

8379
menuconfig BSP_USING_HWTIMER
84-
config BSP_USING_HWTIMER
85-
bool "Enable Timer"
86-
select RT_USING_HWTIMER
87-
default y
80+
bool "Enable Timer"
81+
select RT_USING_HWTIMER
82+
default y
8883

89-
if BSP_USING_HWTIMER
90-
config BSP_USING_CTIMER0
91-
bool "Enable CIMER0"
92-
default y
84+
if BSP_USING_HWTIMER
85+
config BSP_USING_CTIMER0
86+
bool "Enable CIMER0"
87+
default y
9388

94-
config BSP_USING_CTIMER1
95-
bool "Enable CIMER1"
96-
default n
89+
config BSP_USING_CTIMER1
90+
bool "Enable CIMER1"
91+
default n
9792

98-
config BSP_USING_CTIMER3
99-
bool "Enable CIMER3"
100-
default n
93+
config BSP_USING_CTIMER3
94+
bool "Enable CIMER3"
95+
default n
10196

102-
config BSP_USING_CTIMER4
103-
bool "Enable CIMER4"
104-
default n
105-
endif
97+
config BSP_USING_CTIMER4
98+
bool "Enable CIMER4"
99+
default n
100+
endif
106101

107102
menuconfig BSP_USING_PWM
108-
config BSP_USING_PWM
109-
bool "Enable PWM"
110-
select RT_USING_PWM
111-
default n
112-
113-
if BSP_USING_PWM
114-
config BSP_USING_PWM0
115-
bool "Enable eFlex PWM0"
116-
default n
117-
config BSP_USING_PWM1
118-
bool "Enable eFlex PWM1"
119-
default n
120-
config BSP_USING_PWM2
121-
bool "Enable eFlex PWM2"
122-
default n
123-
endif
103+
bool "Enable PWM"
104+
select RT_USING_PWM
105+
default n
106+
107+
if BSP_USING_PWM
108+
config BSP_USING_PWM0
109+
bool "Enable eFlex PWM0"
110+
default n
111+
config BSP_USING_PWM1
112+
bool "Enable eFlex PWM1"
113+
default n
114+
config BSP_USING_PWM2
115+
bool "Enable eFlex PWM2"
116+
default n
117+
endif
124118

125119
menuconfig BSP_USING_CAN
126-
config BSP_USING_CAN
127-
bool "Enable CAN"
128-
select RT_USING_CAN
129-
default n
130-
if BSP_USING_CAN
131-
config BSP_USING_CAN0
132-
bool "Enable CAN0"
133-
default n
134-
135-
config BSP_USING_CAN1
136-
bool "Enable CAN1"
137-
default n
138-
endif
120+
bool "Enable CAN"
121+
select RT_USING_CAN
122+
default n
123+
if BSP_USING_CAN
124+
config BSP_USING_CAN0
125+
bool "Enable CAN0"
126+
default n
127+
128+
config BSP_USING_CAN1
129+
bool "Enable CAN1"
130+
default n
131+
endif
139132

140133
endmenu
141134

0 commit comments

Comments
 (0)