Mercurial > public > ostc4
comparison BootLoader/Src/base_bootlader.c @ 965:58cc980ee848 Evo_2_23
Set correct section name for HW Data
author | Ideenmodellierer |
---|---|
date | Mon, 13 Jan 2025 18:36:04 +0100 |
parents | aef5fb824675 |
children |
comparison
equal
deleted
inserted
replaced
964:aef5fb824675 | 965:58cc980ee848 |
---|---|
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 const SHardwareData HardwareData __attribute__((section(".HARDWAREDATA_ADDRESS"))) = | 285 const SHardwareData HardwareData __attribute__((section(".bootloader_hardware_data"))) = |
286 { | 286 { |
287 | 287 |
288 // first 52 bytes | 288 // first 52 bytes |
289 .primarySerial = 0xFFFF, | 289 .primarySerial = 0xFFFF, |
290 .primaryLicence = 0x00, | 290 .primaryLicence = 0x00, |