Defining a new reference in Bootloader | Cypress Semiconductor
Defining a new reference in Bootloader
Using the BLE shared memory bootloader
I am trying to define a block of flash for use for configuration data in the bootloadable application. But this flash should not be affected by a bootload operation. So I am thinking the block should be defined within the bootloader app.
I have done the following:
In the bootloader, added: const uint8 DL_FLASH_BLOCK;
In the bootloadable I have added this as an EXTERN in SharedProjectAPI.h
Recompiled the bootloader project
Ran the MK.BAT file
Recompiled the bootloadable project but get "Undefined reference to DL_FLASH_BLOCK"
How do I get the reference to carry across from the bootloadable to bootloader?