5 Replies Latest reply on May 25, 2015 6:56 PM by user_14586677

    Defining a new reference in Bootloader

    user_13484954

      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[256];

         

      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?