From c0618e7a0a14ed687aeb566f88532b3cba24ab57 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 2 Jan 2025 09:13:47 +1100 Subject: [PATCH] hwdef: remove bad flashing-last-sector comment the original file these were copied from has a lower limit, so deserves this comment. These hwdefs are making the entire space available, so remove this comment. --- libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef-bl.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef-bl.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef.dat | 1 - 5 files changed, 5 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef-bl.dat index e11d30a2ba..8688c7e0f8 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef-bl.dat @@ -10,7 +10,6 @@ OSCILLATOR_HZ 16000000 # board ID for firmware load APJ_BOARD_ID 5200 -# the nucleo seems to have trouble with flashing the last sector? FLASH_SIZE_KB 2048 # bootloader is installed at zero offset diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef.dat index 313d8e6245..fbbeefbb32 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Airvolute-DCS2/hwdef.dat @@ -12,7 +12,6 @@ OSCILLATOR_HZ 16000000 # board ID for firmware load APJ_BOARD_ID 5200 -# the nucleo seems to have trouble with flashing the last sector? FLASH_SIZE_KB 2048 # This is the STM32 timer that ChibiOS will use for the low level diff --git a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat index 516279d438..3ca6d5a0d8 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat @@ -14,7 +14,6 @@ define STM32_HSE_BYPASS # board ID for firmware load APJ_BOARD_ID 139 -# the nucleo seems to have trouble with flashing the last sector? FLASH_SIZE_KB 2048 FLASH_RESERVE_START_KB 128 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef-bl.dat index c74391c2bd..1f7416a0a6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef-bl.dat @@ -13,7 +13,6 @@ define SMPS_PWR # board ID for firmware load APJ_BOARD_ID 139 -# the nucleo seems to have trouble with flashing the last sector? FLASH_SIZE_KB 2048 # the location where the bootloader will put the firmware diff --git a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef.dat index 50feaed3c2..06e9158fad 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/NucleoH755/hwdef.dat @@ -17,7 +17,6 @@ define SMPS_PWR # board ID for firmware load APJ_BOARD_ID 139 -# the nucleo seems to have trouble with flashing the last sector? FLASH_SIZE_KB 2048 FLASH_BOOTLOADER_LOAD_KB 256