mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
Pre-commit fixes.
Resolve codespell and EOF errors found in the pre-commit CI task.
This commit is contained in:
parent
494533f9d7
commit
13f5f20c98
@ -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.
|
||||
and `<target>-msdk` rule and target.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user