fix pre-commit format
This commit is contained in:
@@ -6,7 +6,7 @@ CPU_CORE ?= cortex-m33-nodsp-nofp
|
||||
CFLAGS += \
|
||||
-DCPU_MCXA153VLH \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_MCXA15 \
|
||||
|
||||
|
||||
JLINK_DEVICE = MCXA153
|
||||
PYOCD_TARGET = MCXA153
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
|
||||
/***********************************************************************************************************************
|
||||
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
||||
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
|
||||
/***********************************************************************************************************************
|
||||
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
||||
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
||||
|
@@ -151,7 +151,7 @@ void board_init(void)
|
||||
CLOCK_EnableClock(kCLOCK_Usb0Ram);
|
||||
CLOCK_EnableClock(kCLOCK_Usb0Fs);
|
||||
CLOCK_EnableUsbfsClock();
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#if PORT_SUPPORT_DEVICE(1) && (CFG_TUSB_MCU == OPT_MCU_MCXN9)
|
||||
|
@@ -27,13 +27,13 @@ function(add_board_target BOARD_TARGET)
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_gpio.c
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_common_arm.c
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_lpuart.c
|
||||
|
||||
|
||||
# mcu
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_clock.c
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_reset.c
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/system_${MCU_CORE}.c
|
||||
)
|
||||
|
||||
|
||||
if (${FAMILY_MCUS} STREQUAL "MCXN9")
|
||||
target_sources(${BOARD_TARGET} PRIVATE
|
||||
${SDK_DIR}/devices/${MCU_VARIANT}/drivers/fsl_lpflexcomm.c
|
||||
@@ -105,7 +105,7 @@ function(family_configure_example TARGET RTOS)
|
||||
elseif(${FAMILY_MCUS} STREQUAL "MCXA15")
|
||||
family_add_tinyusb(${TARGET} OPT_MCU_MCXA15 ${RTOS})
|
||||
endif()
|
||||
|
||||
|
||||
target_sources(${TARGET}-tinyusb PUBLIC
|
||||
# TinyUSB: Port0 is chipidea FS, Port1 is chipidea HS
|
||||
${TOP}/src/portable/chipidea/$<IF:${PORT},ci_hs/dcd_ci_hs.c,ci_fs/dcd_ci_fs.c>
|
||||
|
@@ -38,7 +38,7 @@ SRC_C += \
|
||||
$(SDK_DIR)/devices/$(MCU_VARIANT)/drivers/fsl_gpio.c \
|
||||
$(SDK_DIR)/devices/$(MCU_VARIANT)/drivers/fsl_lpuart.c \
|
||||
$(SDK_DIR)/devices/$(MCU_VARIANT)/drivers/fsl_common_arm.c \
|
||||
|
||||
|
||||
|
||||
# fsl_lpflexcomm just needed for MCXN9
|
||||
ifeq ($(MCU_VARIANT), MCXN947)
|
||||
@@ -54,7 +54,7 @@ ifeq ($(MCU_VARIANT), MCXA153)
|
||||
|
||||
endif
|
||||
|
||||
|
||||
|
||||
|
||||
INC += \
|
||||
$(TOP)/$(BOARD_PATH) \
|
||||
|
Reference in New Issue
Block a user