summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Kowal <[email protected]>2024-07-11 12:13:30 -0400
committerBrent Kowal <[email protected]>2024-07-11 12:13:30 -0400
commit13f5f20c981cc54baa8438e275524db03fb79e94 (patch)
tree64ed26de3f1e430c56339229fd129b080e6f68a7
parent494533f9d7b7961dd9a3acf7c2e9070f8ba172b5 (diff)
Pre-commit fixes.
Resolve codespell and EOF errors found in the pre-commit CI task.
-rw-r--r--hw/bsp/max32650/README.md2
-rw-r--r--hw/bsp/max32650/boards/max32650evkit/max32650.ld2
-rw-r--r--hw/bsp/max32650/boards/max32650fthr/max32650.ld2
-rw-r--r--hw/bsp/max32650/boards/max32651evkit/max32651.ld2
-rw-r--r--hw/bsp/max32650/family.mk2
-rw-r--r--hw/bsp/max32666/family.c2
-rw-r--r--hw/bsp/max32666/max32666.ld2
-rw-r--r--hw/bsp/max32690/family.c2
-rw-r--r--hw/bsp/max32690/max32690.ld2
-rw-r--r--hw/bsp/max78002/family.c2
-rw-r--r--hw/bsp/max78002/max78002.ld4
-rw-r--r--src/portable/analog/max32/dcd_max32.c2
12 files changed, 13 insertions, 13 deletions
diff --git a/hw/bsp/max32650/README.md b/hw/bsp/max32650/README.md
index cb8069bba..ca66a1ac4 100644
--- a/hw/bsp/max32650/README.md
+++ b/hw/bsp/max32650/README.md
@@ -43,4 +43,4 @@ MAX32651EVKIT.
To flash the signed image, the MSDK's OpenOCD variant must be used. To flash
the MAX32651EVKIT please install the bundled MSDK, and utilize the `flash-msdk`
-and `<target>-msdk` rule and target. \ No newline at end of file
+and `<target>-msdk` rule and target.
diff --git a/hw/bsp/max32650/boards/max32650evkit/max32650.ld b/hw/bsp/max32650/boards/max32650evkit/max32650.ld
index 3a1e5100d..0e56a91ec 100644
--- a/hw/bsp/max32650/boards/max32650evkit/max32650.ld
+++ b/hw/bsp/max32650/boards/max32650evkit/max32650.ld
@@ -85,7 +85,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
diff --git a/hw/bsp/max32650/boards/max32650fthr/max32650.ld b/hw/bsp/max32650/boards/max32650fthr/max32650.ld
index 3a1e5100d..0e56a91ec 100644
--- a/hw/bsp/max32650/boards/max32650fthr/max32650.ld
+++ b/hw/bsp/max32650/boards/max32650fthr/max32650.ld
@@ -85,7 +85,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
diff --git a/hw/bsp/max32650/boards/max32651evkit/max32651.ld b/hw/bsp/max32650/boards/max32651evkit/max32651.ld
index a873463d4..3921d10f2 100644
--- a/hw/bsp/max32650/boards/max32651evkit/max32651.ld
+++ b/hw/bsp/max32650/boards/max32651evkit/max32651.ld
@@ -98,7 +98,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
diff --git a/hw/bsp/max32650/family.mk b/hw/bsp/max32650/family.mk
index 577d96717..0718523c3 100644
--- a/hw/bsp/max32650/family.mk
+++ b/hw/bsp/max32650/family.mk
@@ -121,7 +121,7 @@ SIGN_EXE := sign_app.exe
endif
endif
-# Rule to sign the build. This will in-place modifiy the existing .elf file
+# Rule to sign the build. This will in-place modify the existing .elf file
# an populate the .sig section with the signature value
sign-build: $(BUILD)/$(PROJECT).elf
$(OBJCOPY) $(BUILD)/$(PROJECT).elf -R .sig -O binary $(BUILD)/$(PROJECT).bin
diff --git a/hw/bsp/max32666/family.c b/hw/bsp/max32666/family.c
index 98e1248d7..1398e09ff 100644
--- a/hw/bsp/max32666/family.c
+++ b/hw/bsp/max32666/family.c
@@ -106,7 +106,7 @@ uint32_t board_button_read(void) {
size_t board_get_unique_id(uint8_t id[], size_t max_len) {
uint8_t hw_id[MXC_SYS_USN_CHECKSUM_LEN];//USN Buffer
- /* All other 2nd parameter is optional checkum buffer */
+ /* All other 2nd parameter is optional checksum buffer */
MXC_SYS_GetUSN(hw_id, NULL);
size_t act_len = TU_MIN(max_len, MXC_SYS_USN_LEN);
diff --git a/hw/bsp/max32666/max32666.ld b/hw/bsp/max32666/max32666.ld
index dcf61a3d0..06c124247 100644
--- a/hw/bsp/max32666/max32666.ld
+++ b/hw/bsp/max32666/max32666.ld
@@ -101,7 +101,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
diff --git a/hw/bsp/max32690/family.c b/hw/bsp/max32690/family.c
index acd6e2593..f4998bdbe 100644
--- a/hw/bsp/max32690/family.c
+++ b/hw/bsp/max32690/family.c
@@ -104,7 +104,7 @@ uint32_t board_button_read(void) {
size_t board_get_unique_id(uint8_t id[], size_t max_len) {
uint8_t hw_id[MXC_SYS_USN_CHECKSUM_LEN];//USN Buffer
- /* All other 2nd parameter is optional checkum buffer */
+ /* All other 2nd parameter is optional checksum buffer */
MXC_SYS_GetUSN(hw_id, NULL);
size_t act_len = TU_MIN(max_len, MXC_SYS_USN_LEN);
diff --git a/hw/bsp/max32690/max32690.ld b/hw/bsp/max32690/max32690.ld
index 3d857b4e8..64b906a54 100644
--- a/hw/bsp/max32690/max32690.ld
+++ b/hw/bsp/max32690/max32690.ld
@@ -130,7 +130,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
diff --git a/hw/bsp/max78002/family.c b/hw/bsp/max78002/family.c
index c105f056b..7758083a2 100644
--- a/hw/bsp/max78002/family.c
+++ b/hw/bsp/max78002/family.c
@@ -103,7 +103,7 @@ uint32_t board_button_read(void) {
size_t board_get_unique_id(uint8_t id[], size_t max_len) {
uint8_t hw_id[MXC_SYS_USN_CHECKSUM_LEN];//USN Buffer
- /* All other 2nd parameter is optional checkum buffer */
+ /* All other 2nd parameter is optional checksum buffer */
MXC_SYS_GetUSN(hw_id, NULL);
size_t act_len = TU_MIN(max_len, MXC_SYS_USN_LEN);
diff --git a/hw/bsp/max78002/max78002.ld b/hw/bsp/max78002/max78002.ld
index 60f99e28f..e5c4866ee 100644
--- a/hw/bsp/max78002/max78002.ld
+++ b/hw/bsp/max78002/max78002.ld
@@ -127,7 +127,7 @@ SECTIONS {
{
. = ALIGN(4);
_bss = .;
- *(.bss*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.bss*) /*read-write zero initialized data: uninitialized global variable*/
*(COMMON)
_ebss = ALIGN(., 4);
} > SRAM
@@ -138,7 +138,7 @@ SECTIONS {
_shared = .;
*(.mailbox*)
. = ALIGN(4);
- *(.shared*) /*read-write zero initialized data: uninitialzed global variable*/
+ *(.shared*) /*read-write zero initialized data: uninitialized global variable*/
_eshared = ALIGN(., 4);
} > SRAM
__shared_data = LOADADDR(.shared);
diff --git a/src/portable/analog/max32/dcd_max32.c b/src/portable/analog/max32/dcd_max32.c
index 7226003de..df616120a 100644
--- a/src/portable/analog/max32/dcd_max32.c
+++ b/src/portable/analog/max32/dcd_max32.c
@@ -196,7 +196,7 @@ static bool handle_xfer_in(uint_fast8_t ep_addr) {
}
pipe->remaining = rem - len;
}
- MXC_USBHS->incsrl = MXC_F_USBHS_INCSRL_INPKTRDY;//TODO: Verify a | isnt needed
+ MXC_USBHS->incsrl = MXC_F_USBHS_INCSRL_INPKTRDY;//TODO: Verify a | isn't needed
return false;
}