diff 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 aef5fb824675
line wrap: on
line diff
--- a/BootLoader/Src/base_bootlader.c	Sat Jan 11 17:12:39 2025 +0100
+++ b/BootLoader/Src/base_bootlader.c	Sun Jan 12 19:15:20 2025 +0100
@@ -282,8 +282,8 @@
 	.magic[3] = FIRMWARE_MAGIC_END
 };
 
-#if 0
-const SHardwareData HardwareData __attribute__((at(HARDWAREDATA_ADDRESS))) = {
+#if 1
+const SHardwareData HardwareData  __attribute__ ((section (".bootloader_hardware_data"))) = {
 
 	// first 52 bytes
 	.primarySerial = 0xFFFF,