summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-04-29 21:41:34 +0700
committerhathach <[email protected]>2025-04-29 21:41:34 +0700
commitd221d55b080a818bdf9d43317660e22fd0a832c5 (patch)
treefd08867c2c8bb5d9d79195929906d4f432608466
parent538684ac621f2ba0ad17865e2d5670089bfbb296 (diff)
fix pre-commmit
-rw-r--r--hw/bsp/lpc51/family.mk2
-rw-r--r--hw/bsp/lpc55/family.mk2
-rw-r--r--hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h2
-rw-r--r--hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c2
-rw-r--r--hw/bsp/mcx/boards/frdm_mcxa156/clock_config.h3
-rw-r--r--hw/bsp/mcx/boards/frdm_mcxa156/pin_mux.c2
-rw-r--r--hw/bsp/mcx/drivers/spc/fsl_spc.c4
-rw-r--r--hw/bsp/mcx/drivers/spc/fsl_spc.h2
8 files changed, 8 insertions, 11 deletions
diff --git a/hw/bsp/lpc51/family.mk b/hw/bsp/lpc51/family.mk
index f37360a71..91d1261cb 100644
--- a/hw/bsp/lpc51/family.mk
+++ b/hw/bsp/lpc51/family.mk
@@ -40,7 +40,7 @@ INC += \
$(TOP)/$(SDK_DIR)/drivers/flexcomm/usart \
$(TOP)/$(SDK_DIR)/drivers/lpc_iocon \
$(TOP)/$(SDK_DIR)/drivers/lpc_gpio
-
+
SRC_S += $(MCU_DIR)/gcc/startup_$(MCU).S
LIBS += $(TOP)/$(MCU_DIR)/gcc/libpower.a
diff --git a/hw/bsp/lpc55/family.mk b/hw/bsp/lpc55/family.mk
index 85b9a2cc9..b83942c87 100644
--- a/hw/bsp/lpc55/family.mk
+++ b/hw/bsp/lpc55/family.mk
@@ -62,5 +62,3 @@ INC += \
$(TOP)/$(SDK_DIR)/drivers/sctimer
SRC_S += $(MCU_DIR)/gcc/startup_$(MCU_CORE).S
-
-
diff --git a/hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h b/hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h
index 079d0d312..aae811052 100644
--- a/hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h
+++ b/hw/bsp/mcx/boards/frdm_mcxa153/clock_config.h
@@ -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.
diff --git a/hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c b/hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c
index fce756e72..47709951b 100644
--- a/hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c
+++ b/hw/bsp/mcx/boards/frdm_mcxa153/pin_mux.c
@@ -67,7 +67,7 @@ void BOARD_InitPins(void)
/* PORT3 peripheral is released from reset */
RESET_ReleasePeripheralReset(kPORT3_RST_SHIFT_RSTn);
-
+
/* Write to PORT0: Peripheral clock is enabled */
CLOCK_EnableClock(kCLOCK_GatePORT0);
/* LPUART0 peripheral is released from reset */
diff --git a/hw/bsp/mcx/boards/frdm_mcxa156/clock_config.h b/hw/bsp/mcx/boards/frdm_mcxa156/clock_config.h
index db80b79f3..3f5dfefda 100644
--- a/hw/bsp/mcx/boards/frdm_mcxa156/clock_config.h
+++ b/hw/bsp/mcx/boards/frdm_mcxa156/clock_config.h
@@ -3,7 +3,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.
@@ -167,4 +167,3 @@ void BOARD_BootClockFRO96M(void);
#endif /* __cplusplus*/
#endif /* _CLOCK_CONFIG_H_ */
-
diff --git a/hw/bsp/mcx/boards/frdm_mcxa156/pin_mux.c b/hw/bsp/mcx/boards/frdm_mcxa156/pin_mux.c
index 317c311b5..de35103a6 100644
--- a/hw/bsp/mcx/boards/frdm_mcxa156/pin_mux.c
+++ b/hw/bsp/mcx/boards/frdm_mcxa156/pin_mux.c
@@ -81,7 +81,7 @@ void BOARD_InitPins(void)
RESET_ReleasePeripheralReset(kGPIO0_RST_SHIFT_RSTn);
/* PORT3 peripheral is released from reset */
RESET_ReleasePeripheralReset(kPORT0_RST_SHIFT_RSTn);
-
+
/* PORT0: Peripheral clock is enabled */
CLOCK_EnableClock(kCLOCK_GatePORT0);
/* LPUART0 peripheral is released from reset */
diff --git a/hw/bsp/mcx/drivers/spc/fsl_spc.c b/hw/bsp/mcx/drivers/spc/fsl_spc.c
index b39a406cb..b16ca5fc5 100644
--- a/hw/bsp/mcx/drivers/spc/fsl_spc.c
+++ b/hw/bsp/mcx/drivers/spc/fsl_spc.c
@@ -454,9 +454,9 @@ status_t SPC_EnableLowPowerModeCoreLowVoltageDetect(SPC_Type *base, bool enable)
*
* This function selects the system VDD low-voltage level. Changing system VDD low-voltage level
* must be done after disabling the System VDD low voltage reset and interrupt.
- *
+ *
* @deprecated In latest RM, reserved for all devices, will removed in next release.
- *
+ *
* param base SPC peripheral base address.
* param level System VDD Low-Voltage level selection. See @ref spc_low_voltage_level_select_t for details.
*/
diff --git a/hw/bsp/mcx/drivers/spc/fsl_spc.h b/hw/bsp/mcx/drivers/spc/fsl_spc.h
index d3e75fbcb..69a001098 100644
--- a/hw/bsp/mcx/drivers/spc/fsl_spc.h
+++ b/hw/bsp/mcx/drivers/spc/fsl_spc.h
@@ -206,7 +206,7 @@ typedef enum _spc_dcdc_drive_strength
{
kSPC_DCDC_PulseRefreshMode = 0x0U, /*!< DCDC_CORE Regulator Drive Strength set to Pulse Refresh Mode,
* This enum member is only useful for Low Power Mode config, please
- * note that pluse refresh mode is invalid in SLEEP mode.
+ * note that pulse refresh mode is invalid in SLEEP mode.
*/
kSPC_DCDC_LowDriveStrength = 0x1U, /*!< DCDC_CORE regulator Drive Strength set to low. */
kSPC_DCDC_NormalDriveStrength = 0x2U, /*!< DCDC_CORE regulator Drive Strength set to Normal. */