#include "MEMORY.h" //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #include "boot.h" #include "device.h" //This part will never ever change in a scope of one PCB const volatile flash_datablock_t STATIC_DATA_BL __attribute__((section(".locationInBoot"),used)) = { .Padding = 0x0, DEVICE_CFG, .SW = {BOOT_VERSION_MAJOR,BOOT_VERSION_MINOR}, .AppCRC = 0xFFFFFFFF, //No need for it } ; //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //This part will never ever change in a scope of one PCB. Except... const volatile flash_datablock_t STATIC_DATA_APP __attribute__((section(".locationInApp"),used)) = { .Padding = 0x0, DEVICE_CFG, .SW = {APP_V_MAJOR, APP_V_MINOR}, //<--This one .AppCRC = 0xFFFFFFFF, } ; //-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------