Skip to content

Commit 14daae6

Browse files
Eli Hughesehughes
authored andcommitted
Added initial support for FRDM-MCXA156 and fixed up a crash with MCXN947
I will be porting tinyuf2 to MCXA156 and N947 and need this work in place. This is the 1st step before bringing in support for other MCX devices. We had previous patched https://github.com/hathach/mcux-sdk.git' for MCX support as it was not pulically available I updated get_deps to point to the mcux-sdk version 2.16.10 from NXP. I repointed the entry in the get_deps script to use NXP MCU repo. The existing current code couldn't build as the MCUXpresso SDK was old. - For now, I put a copy of fsl_spc.c in the drivers folder for the mcx family. None of the ports could build with the version in the mcux github sdk. The sdk on github has version 2.4.0. The SDK package that can be downloaded with the SDK generator uses 2.4.2. All of the clock_config routines use versions of the datastructure from 2.4.2. For now, keeping an updated copy in hw/bsp/mcx/drivers so we can build against the latest mcuxpresso sdk and enable MCXA156. I'll file an issue on the nxp github. - Cleaned up the MCX family.c a little bit. the MCXA/N these chips don't have SCT so I removed the neopixel code. - fixed a clock init issue w/ N947 that was causing it to crash when initializing the uart. - I tested the cmake and make scripts on the A153,A156 and N947 using the CDC/MSC sample. All worked OK. - Patched get_deps so it will do a fetch/check on a new folder. Some of the deps were failing on a fresh clone of tinyusb - Fixed lpc51,54 and lpc55 make/cmake files to build with mcuxpresso sdk 2.16.10 The folder structure for flexcomm/uart changed a little bit - lpc55s59 libpower_hardabi.a no longer is included in mcuxpressosdk, (fsl_power.c is replacement). remove of libpower_hardabi.a from the linker config. LPC55 still works as expected.
1 parent b5d4d0f commit 14daae6

File tree

26 files changed

+5163
-102
lines changed

26 files changed

+5163
-102
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ Supported CPUs
167167
| | +-------------------+--------+------+-----------+------------------------+-------------------+
168168
| | | 54, 55 || || lpc_ip3511 | |
169169
| +---------+-------------------+--------+------+-----------+------------------------+-------------------+
170-
| | MCX | N9, A15 || || ci_fs, ci_hs | |
170+
| | MCX | N9 || || ci_fs, ci_hs | |
171+
| | +-------------------+--------+------+-----------+------------------------+-------------------+
172+
| | | A15 || | | ci_fs | |
171173
+--------------+---------+-------------------+--------+------+-----------+------------------------+-------------------+
172174
| Raspberry Pi | RP2040, RP2350 |||| rp2040, pio_usb | |
173175
+--------------+-----+-----------------------+--------+------+-----------+------------------------+-------------------+

hw/bsp/lpc51/family.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function(add_board_target BOARD_TARGET)
3636
# driver
3737
${SDK_DIR}/drivers/lpc_gpio/fsl_gpio.c
3838
${SDK_DIR}/drivers/flexcomm/fsl_flexcomm.c
39-
${SDK_DIR}/drivers/flexcomm/fsl_usart.c
39+
${SDK_DIR}/drivers/flexcomm/usart/fsl_usart.c
4040
# mcu
4141
${SDK_DIR}/devices/${MCU_VARIANT}/system_${MCU_VARIANT}.c
4242
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_clock.c

hw/bsp/lpc51/family.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,19 @@ SRC_C += \
2828
$(MCU_DIR)/drivers/fsl_reset.c \
2929
$(SDK_DIR)/drivers/lpc_gpio/fsl_gpio.c \
3030
$(SDK_DIR)/drivers/flexcomm/fsl_flexcomm.c \
31-
$(SDK_DIR)/drivers/flexcomm/fsl_usart.c
31+
$(SDK_DIR)/drivers/flexcomm/usart/fsl_usart.c
3232

3333
INC += \
34-
$(TOP)/$(BOARD_PATH) \
35-
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
34+
$(TOP)/$(BOARD_PATH) \
35+
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
3636
$(TOP)/$(MCU_DIR) \
3737
$(TOP)/$(MCU_DIR)/drivers \
3838
$(TOP)/$(SDK_DIR)/drivers/common \
3939
$(TOP)/$(SDK_DIR)/drivers/flexcomm \
40+
$(TOP)/$(SDK_DIR)/drivers/flexcomm/usart \
4041
$(TOP)/$(SDK_DIR)/drivers/lpc_iocon \
4142
$(TOP)/$(SDK_DIR)/drivers/lpc_gpio
42-
43+
4344
SRC_S += $(MCU_DIR)/gcc/startup_$(MCU).S
4445

4546
LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower.a

hw/bsp/lpc54/family.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(add_board_target BOARD_TARGET)
4444
${SDK_DIR}/drivers/lpc_gpio/fsl_gpio.c
4545
${SDK_DIR}/drivers/common/fsl_common_arm.c
4646
${SDK_DIR}/drivers/flexcomm/fsl_flexcomm.c
47-
${SDK_DIR}/drivers/flexcomm/fsl_usart.c
47+
${SDK_DIR}/drivers/flexcomm/usart/fsl_usart.c
4848
# mcu
4949
${SDK_DIR}/devices/${MCU_VARIANT}/system_${MCU_CORE}.c
5050
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_clock.c
@@ -56,6 +56,7 @@ function(add_board_target BOARD_TARGET)
5656
# driver
5757
${SDK_DIR}/drivers/common
5858
${SDK_DIR}/drivers/flexcomm
59+
${SDK_DIR}/drivers/flexcomm/usart
5960
${SDK_DIR}/drivers/lpc_iocon
6061
${SDK_DIR}/drivers/lpc_gpio
6162
${SDK_DIR}/drivers/lpuart

hw/bsp/lpc54/family.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SRC_C += \
3636
$(MCU_DIR)/drivers/fsl_reset.c \
3737
$(SDK_DIR)/drivers/lpc_gpio/fsl_gpio.c \
3838
$(SDK_DIR)/drivers/flexcomm/fsl_flexcomm.c \
39-
$(SDK_DIR)/drivers/flexcomm/fsl_usart.c \
39+
$(SDK_DIR)/drivers/flexcomm/usart/fsl_usart.c \
4040
$(SDK_DIR)/drivers/common/fsl_common_arm.c
4141

4242
INC += \
@@ -46,6 +46,7 @@ INC += \
4646
$(TOP)/$(MCU_DIR)/drivers \
4747
$(TOP)/$(SDK_DIR)/drivers/common \
4848
$(TOP)/$(SDK_DIR)/drivers/flexcomm \
49+
$(TOP)/$(SDK_DIR)/drivers/flexcomm/usart \
4950
$(TOP)/$(SDK_DIR)/drivers/lpc_iocon \
5051
$(TOP)/$(SDK_DIR)/drivers/lpc_gpio
5152

hw/bsp/lpc55/family.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(add_board_target BOARD_TARGET)
4444
${SDK_DIR}/drivers/lpc_gpio/fsl_gpio.c
4545
${SDK_DIR}/drivers/common/fsl_common_arm.c
4646
${SDK_DIR}/drivers/flexcomm/fsl_flexcomm.c
47-
${SDK_DIR}/drivers/flexcomm/fsl_usart.c
47+
${SDK_DIR}/drivers/flexcomm/usart/fsl_usart.c
4848
# mcu
4949
${SDK_DIR}/devices/${MCU_VARIANT}/system_${MCU_CORE}.c
5050
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_clock.c
@@ -56,9 +56,9 @@ function(add_board_target BOARD_TARGET)
5656
# driver
5757
${SDK_DIR}/drivers/common
5858
${SDK_DIR}/drivers/flexcomm
59+
${SDK_DIR}/drivers/flexcomm/usart
5960
${SDK_DIR}/drivers/lpc_iocon
6061
${SDK_DIR}/drivers/lpc_gpio
61-
${SDK_DIR}/drivers/lpuart
6262
${SDK_DIR}/drivers/sctimer
6363
# mcu
6464
${SDK_DIR}/devices/${MCU_VARIANT}

hw/bsp/lpc55/family.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SRC_C += \
4545
$(SDK_DIR)/drivers/lpc_gpio/fsl_gpio.c \
4646
$(SDK_DIR)/drivers/common/fsl_common_arm.c \
4747
$(SDK_DIR)/drivers/flexcomm/fsl_flexcomm.c \
48-
$(SDK_DIR)/drivers/flexcomm/fsl_usart.c \
48+
$(SDK_DIR)/drivers/flexcomm/usart/fsl_usart.c \
4949
lib/sct_neopixel/sct_neopixel.c
5050

5151
INC += \
@@ -55,11 +55,12 @@ INC += \
5555
$(TOP)/$(MCU_DIR) \
5656
$(TOP)/$(MCU_DIR)/drivers \
5757
$(TOP)/$(SDK_DIR)/drivers/common \
58-
$(TOP)/$(SDK_DIR)/drivers/flexcomm \
58+
$(TOP)/$(SDK_DIR)/drivers/flexcomm/usart \
59+
$(TOP)/$(SDK_DIR)/drivers/flexcomm/ \
5960
$(TOP)/$(SDK_DIR)/drivers/lpc_iocon \
6061
$(TOP)/$(SDK_DIR)/drivers/lpc_gpio \
6162
$(TOP)/$(SDK_DIR)/drivers/sctimer
6263

6364
SRC_S += $(MCU_DIR)/gcc/startup_$(MCU_CORE).S
6465

65-
LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower_hardabi.a
66+

hw/bsp/mcx/boards/frdm_mcxa153/board.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ extern "C" {
3939
// LED
4040
#define LED_GPIO GPIO3
4141
#define LED_CLK kCLOCK_GateGPIO3
42-
#define LED_PIN 12 // red
42+
#define LED_PIN 12 //red
4343
#define LED_STATE_ON 0
4444

45-
// ISP button (Dummy, use unused pin
45+
// ISP button
4646
#define BUTTON_GPIO GPIO3
4747
#define BUTTON_CLK kCLOCK_GateGPIO3
4848
#define BUTTON_PIN 29 //sw2

hw/bsp/mcx/boards/frdm_mcxa153/clock_config.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ processor_version: 0.13.0
4545
* Variables
4646
******************************************************************************/
4747
/* System clock frequency. */
48-
//uint32_t SystemCoreClock;
48+
//extern uint32_t SystemCoreClock;
4949

5050
/*******************************************************************************
5151
************************ BOARD_InitBootClocks function ************************
5252
******************************************************************************/
5353
void BOARD_InitBootClocks(void)
5454
{
55-
BOARD_BootClockFRO96M();
5655
}
5756

5857
/*******************************************************************************
@@ -386,7 +385,6 @@ void BOARD_BootClockFRO64M(void)
386385
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
387386
!!Configuration
388387
name: BOARD_BootClockFRO96M
389-
called_from_default_init: true
390388
outputs:
391389
- {id: CLK_1M_clock.outFreq, value: 1 MHz}
392390
- {id: CLK_48M_clock.outFreq, value: 48 MHz}

hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
7-
7+
88
/***********************************************************************************************************************
99
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
1010
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.

hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c

Lines changed: 12 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
7-
87
/***********************************************************************************************************************
98
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
109
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
@@ -18,16 +17,13 @@ product: Pins v14.0
1817
processor: MCXA153
1918
package_id: MCXA153VLH
2019
mcu_data: ksdk2_0
21-
processor_version: 0.14.3
22-
pin_labels:
23-
- {pin_num: '38', pin_signal: P3_12/LPUART2_RTS_B/CT1_MAT2/PWM0_X0, label: LED_RED, identifier: LED_RED}
20+
processor_version: 0.14.4
2421
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
2522
*/
2623
/* clang-format on */
2724

2825
#include "fsl_common.h"
2926
#include "fsl_port.h"
30-
#include "fsl_gpio.h"
3127
#include "pin_mux.h"
3228

3329
/* FUNCTION ************************************************************************************************************
@@ -47,8 +43,10 @@ void BOARD_InitBootPins(void)
4743
BOARD_InitPins:
4844
- options: {callFromInitBoot: 'true', coreID: cm33_core0, enableClock: 'true'}
4945
- pin_list:
50-
- {pin_num: '38', peripheral: GPIO3, signal: 'GPIO, 12', pin_signal: P3_12/LPUART2_RTS_B/CT1_MAT2/PWM0_X0, direction: OUTPUT, gpio_init_state: 'false', slew_rate: fast,
51-
open_drain: disable, drive_strength: low, pull_select: down, pull_enable: disable, input_buffer: enable, invert_input: normal}
46+
- {pin_num: '51', peripheral: LPUART0, signal: RX, pin_signal: P0_2/TDO/SWO/LPUART0_RXD/LPSPI0_SCK/CT0_MAT0/UTICK_CAP0/I3C0_PUR, slew_rate: fast, open_drain: disable,
47+
drive_strength: low, pull_select: up, pull_enable: enable, input_buffer: enable, invert_input: normal}
48+
- {pin_num: '52', peripheral: LPUART0, signal: TX, pin_signal: P0_3/TDI/LPUART0_TXD/LPSPI0_SDO/CT0_MAT1/UTICK_CAP1/CMP0_OUT/CMP1_IN1, slew_rate: fast, open_drain: disable,
49+
drive_strength: low, pull_select: up, pull_enable: enable, input_buffer: enable, invert_input: normal}
5250
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
5351
*/
5452
/* clang-format on */
@@ -61,15 +59,6 @@ void BOARD_InitBootPins(void)
6159
* END ****************************************************************************************************************/
6260
void BOARD_InitPins(void)
6361
{
64-
RESET_PeripheralReset(kLPUART0_RST_SHIFT_RSTn);
65-
RESET_PeripheralReset(kPORT0_RST_SHIFT_RSTn);
66-
CLOCK_SetClockDiv(kCLOCK_DivLPUART0, 1u);
67-
CLOCK_AttachClk(kFRO12M_to_LPUART0);
68-
69-
/* write to PORT0: Peripheral clock is enabled */
70-
CLOCK_EnableClock(kCLOCK_GatePORT0);
71-
72-
/* Write to GPIO3: Peripheral clock is enabled */
7362
CLOCK_EnableClock(kCLOCK_GateGPIO3);
7463
/* Write to PORT3: Peripheral clock is enabled */
7564
CLOCK_EnableClock(kCLOCK_GatePORT3);
@@ -78,30 +67,13 @@ void BOARD_InitPins(void)
7867
/* PORT3 peripheral is released from reset */
7968
RESET_ReleasePeripheralReset(kPORT3_RST_SHIFT_RSTn);
8069

81-
const port_pin_config_t port3_12_pin38_config = {/* Internal pull-up/down resistor is disabled */
82-
kPORT_PullDisable,
83-
/* Low internal pull resistor value is selected. */
84-
kPORT_LowPullResistor,
85-
/* Fast slew rate is configured */
86-
kPORT_FastSlewRate,
87-
/* Passive input filter is disabled */
88-
kPORT_PassiveFilterDisable,
89-
/* Open drain output is disabled */
90-
kPORT_OpenDrainDisable,
91-
/* Low drive strength is configured */
92-
kPORT_LowDriveStrength,
93-
/* Normal drive strength is configured */
94-
kPORT_NormalDriveStrength,
95-
/* Pin is configured as P3_12 */
96-
kPORT_MuxAlt0,
97-
/* Digital input enabled */
98-
kPORT_InputBufferEnable,
99-
/* Digital input is not inverted */
100-
kPORT_InputNormal,
101-
/* Pin Control Register fields [15:0] are not locked */
102-
kPORT_UnlockRegister};
103-
/* PORT3_12 (pin 38) is configured as P3_12 */
104-
PORT_SetPinConfig(PORT3, 12U, &port3_12_pin38_config);
70+
71+
/* Write to PORT0: Peripheral clock is enabled */
72+
CLOCK_EnableClock(kCLOCK_GatePORT0);
73+
/* LPUART0 peripheral is released from reset */
74+
RESET_ReleasePeripheralReset(kLPUART0_RST_SHIFT_RSTn);
75+
/* PORT0 peripheral is released from reset */
76+
RESET_ReleasePeripheralReset(kPORT0_RST_SHIFT_RSTn);
10577

10678
const port_pin_config_t port0_2_pin51_config = {/* Internal pull-up resistor is enabled */
10779
kPORT_PullUp,
@@ -152,7 +124,6 @@ void BOARD_InitPins(void)
152124
kPORT_UnlockRegister};
153125
/* PORT0_3 (pin 52) is configured as LPUART0_TXD */
154126
PORT_SetPinConfig(PORT0, 3U, &port0_3_pin52_config);
155-
156127
}
157128
/***********************************************************************************************************************
158129
* EOF

hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
/*
2-
* Copyright 2022 NXP
2+
* Copyright 2023 NXP
33
* All rights reserved.
44
*
55
* SPDX-License-Identifier: BSD-3-Clause
66
*/
7+
/***********************************************************************************************************************
8+
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
9+
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
10+
**********************************************************************************************************************/
711

812
#ifndef _PIN_MUX_H_
913
#define _PIN_MUX_H_
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
set(MCU_VARIANT MCXA156)
2+
set(MCU_CORE MCXA156)
3+
4+
set(JLINK_DEVICE MCXA156_M33)
5+
set(PYOCD_TARGET MCXA156)
6+
set(NXPLINK_DEVICE MCXA156:MCXA156)
7+
8+
set(PORT 0)
9+
10+
function(update_board TARGET)
11+
target_compile_definitions(${TARGET} PUBLIC
12+
CPU_MCXA156VLH
13+
BOARD_TUD_RHPORT=0
14+
BOARD_TUD_MAX_SPEED=OPT_MODE_FULL_SPEED
15+
CFG_EXAMPLE_VIDEO_READONLY
16+
)
17+
target_sources(${TARGET} PUBLIC
18+
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c
19+
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/pin_mux.c
20+
)
21+
endfunction()
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2021, Ha Thach (tinyusb.org)
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
* THE SOFTWARE.
23+
*
24+
* This file is part of the TinyUSB stack.
25+
*/
26+
27+
/* metadata:
28+
name: Freedom MCXA156
29+
url: https://www.nxp.com/design/design-center/development-boards-and-designs/FRDM-MCXA156
30+
*/
31+
32+
#ifndef BOARD_H_
33+
#define BOARD_H_
34+
35+
#ifdef __cplusplus
36+
extern "C" {
37+
#endif
38+
39+
// LED
40+
#define LED_GPIO GPIO3
41+
#define LED_CLK kCLOCK_GateGPIO3
42+
#define LED_PIN 12 // red
43+
#define LED_STATE_ON 0
44+
45+
// ISP button
46+
#define BUTTON_GPIO GPIO0
47+
#define BUTTON_CLK kCLOCK_GateGPIO0
48+
#define BUTTON_PIN 6 //SW3
49+
#define BUTTON_STATE_ACTIVE 0
50+
51+
// UART
52+
#define UART_DEV LPUART0
53+
54+
static inline void board_uart_init_clock(void) {
55+
/* attach 12 MHz clock to LPUART0 (debug console) */
56+
CLOCK_SetClockDiv(kCLOCK_DivLPUART0, 1u);
57+
CLOCK_AttachClk(kFRO12M_to_LPUART0);
58+
59+
RESET_PeripheralReset(kLPUART0_RST_SHIFT_RSTn);
60+
}
61+
62+
// XTAL
63+
#define XTAL0_CLK_HZ (24 * 1000 * 1000U)
64+
65+
#ifdef __cplusplus
66+
}
67+
#endif
68+
69+
#endif
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
MCU_VARIANT = MCXA156
2+
MCU_CORE = MCXA156
3+
PORT = 0
4+
5+
CPU_CORE = cortex-m33-nodsp-nofp
6+
CFLAGS += \
7+
-DCPU_MCXA156VLH \
8+
-DCFG_TUSB_MCU=OPT_MCU_MCXA15 \
9+
10+
JLINK_DEVICE = MCXA156
11+
PYOCD_TARGET = MCXA156
12+
13+
# flash using pyocd
14+
flash: flash-jlink

0 commit comments

Comments
 (0)