3 Replies Latest reply on May 25, 2017 10:36 AM by DhDa_2432241

    CYBLE-012011 and eddybeacon project - linker error




      I have tried the example project from here. I got it to work with CYBLE-012011 by creating a new project with the components listed in this project. I was able to compile and flash and I was able to see the beacon in the android app listed in the pdf. So far so good. 


      Now I want to add a bootloadable component to this project so that it can be flashed using an embedded host via UART. I added a bootloadable component and linked the UART bootloader hex file to it. I also added a pin which will call the Bootloadable_Load() and added code to set the BLE into bootload state. 


      Now when I compile I get the following errors:


      1. Build error: CY_BOOT: Section .cy_checksum_exclude size exceeds specified limit
      2. Build error: section .cyloadablemeta loaded at [0001ffc0, 0001ffff] overlaps section .cy_checksum_exclude loaded at [0001fd00, 0001ffff]
      3. Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'

      It's a linker problem trying to figure out where to place the code. How do I fix this?