comparison BootLoader/Src/base_bootlader.c @ 961:2130d771c8db Evo_2_23

Bootloader: Activate Hardware data defaults: The hardware data was not part of the build to avoid overwriting of existing data. For initial HW bringup the data is now active (define 0xFF values) and placed at the correct flash location (allocation was missing before).
author Ideenmodellierer
date Sun, 12 Jan 2025 19:15:20 +0100
parents a8c0e6d07b8e
children
comparison
equal deleted inserted replaced
960:a8c0e6d07b8e 961:2130d771c8db
280 .magic[1] = FIRMWARE_MAGIC_SECOND, 280 .magic[1] = FIRMWARE_MAGIC_SECOND,
281 .magic[2] = FIRMWARE_MAGIC_FIRMWARE, /* the magic byte */ 281 .magic[2] = FIRMWARE_MAGIC_FIRMWARE, /* the magic byte */
282 .magic[3] = FIRMWARE_MAGIC_END 282 .magic[3] = FIRMWARE_MAGIC_END
283 }; 283 };
284 284
285 #if 0 285 #if 1
286 const SHardwareData HardwareData __attribute__((at(HARDWAREDATA_ADDRESS))) = { 286 const SHardwareData HardwareData __attribute__ ((section (".bootloader_hardware_data"))) = {
287 287
288 // first 52 bytes 288 // first 52 bytes
289 .primarySerial = 0xFFFF, 289 .primarySerial = 0xFFFF,
290 .primaryLicence = 0xFF, 290 .primaryLicence = 0xFF,
291 .revision8bit = 0xFF, 291 .revision8bit = 0xFF,