From 22e6f646533b11a6862b3476e177cf4dc2fcb51d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:55:44 -0500 Subject: [PATCH] spelling: firmware Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- platform/robert/boot/src/fw_copy.c | 2 +- platform/silk/boot/src/fw_copy.c | 2 +- platform/snowy/boot/src/fw_copy.c | 2 +- platform/tintin/boot/src/fw_copy.c | 2 +- src/fw/kernel/system_message.h | 2 +- wscript | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/robert/boot/src/fw_copy.c b/platform/robert/boot/src/fw_copy.c index 4c3992c8..5a8817eb 100644 --- a/platform/robert/boot/src/fw_copy.c +++ b/platform/robert/boot/src/fw_copy.c @@ -165,7 +165,7 @@ void fw_copy_check_update_fw(void) { break; case UPDATE_FW_ERROR_MICRO_FLASH_MANGLED: // We've broken our internal flash when trying to update our normal - // firmware. Fall back immediately to the recovery firmare. + // firmware. Fall back immediately to the recovery firmware. boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_ONE); boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_TWO); system_reset(); diff --git a/platform/silk/boot/src/fw_copy.c b/platform/silk/boot/src/fw_copy.c index 640632fc..211017b6 100644 --- a/platform/silk/boot/src/fw_copy.c +++ b/platform/silk/boot/src/fw_copy.c @@ -170,7 +170,7 @@ void check_update_fw(void) { break; case UPDATE_FW_ERROR_MICRO_FLASH_MANGLED: // We've broken our internal flash when trying to update our normal - // firmware. Fall back immediately to the recovery firmare. + // firmware. Fall back immediately to the recovery firmware. boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_ONE); boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_TWO); system_reset(); diff --git a/platform/snowy/boot/src/fw_copy.c b/platform/snowy/boot/src/fw_copy.c index 1bffc2a5..e6e2d108 100644 --- a/platform/snowy/boot/src/fw_copy.c +++ b/platform/snowy/boot/src/fw_copy.c @@ -156,7 +156,7 @@ void check_update_fw(void) { break; case UPDATE_FW_ERROR_MICRO_FLASH_MANGLED: // We've broken our internal flash when trying to update our normal - // firmware. Fall back immediately to the recovery firmare. + // firmware. Fall back immediately to the recovery firmware. boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_ONE); boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_TWO); system_reset(); diff --git a/platform/tintin/boot/src/fw_copy.c b/platform/tintin/boot/src/fw_copy.c index 63ea813a..e6ebd7ff 100644 --- a/platform/tintin/boot/src/fw_copy.c +++ b/platform/tintin/boot/src/fw_copy.c @@ -209,7 +209,7 @@ void check_update_fw(void) { break; case UPDATE_FW_ERROR_MICRO_FLASH_MANGLED: // We've broken our internal flash when trying to update our normal - // firmware. Fall back immediately to the recovery firmare. + // firmware. Fall back immediately to the recovery firmware. boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_ONE); boot_bit_set(BOOT_BIT_FW_START_FAIL_STRIKE_TWO); system_reset(); diff --git a/src/fw/kernel/system_message.h b/src/fw/kernel/system_message.h index 6905270e..35fdfb7f 100644 --- a/src/fw/kernel/system_message.h +++ b/src/fw/kernel/system_message.h @@ -28,7 +28,7 @@ typedef enum SystemMessageType { SysMsgFirmwareComplete = 0x02, SysMsgFirmwareFail = 0x03, SysMsgFirmwareUpToDate = 0x04, - // SysMsgFirmarewOutOfDate = 0x05, DEPRECATED + // SysMsgFirmwareOutOfDate = 0x05, DEPRECATED SysMsgReconnectRequestStop = 0x06, SysMsgReconnectRequestStart = 0x07, SysMsgMAPRetry = 0x08, // MAP is no longer used diff --git a/wscript b/wscript index d1faedeb..6d639e44 100644 --- a/wscript +++ b/wscript @@ -1129,7 +1129,7 @@ def _create_qemu_image_micro(ctx, path_to_firmware_hex): img = IntelHex(ctx.env.BOOTLOADER_HEX) img.merge(IntelHex(path_to_firmware_hex), overlap='replace') - # Write firwmare image and pad up to next 512 byte multiple. This is because QEMU + # Write firmware image and pad up to next 512 byte multiple. This is because QEMU # assumes all block devices are multiples of 512 byte sectors img.padding = 0xff flash_end = ((img.maxaddr() + 511) // 512) * 512