LPC55S69 compiles incorrectly on CLI, but correct on the online compiler


I am trying to test MbedOS on LPC55S69 with an LPC11U3 as my debug probe. I am running CMSIS-DAP v1.0.7. When I try to compile this example sketch using the CLI I get .hex file that has incorrect addresses for the sram, and flash. But when I compile that same sketch online I get the correct addresses and it works. What is the difference between the CLI and the online compiler. How can I get the CLI working?

HI Simon

it might help if you specified the following information:

  1. What version of Mbed OS are you using ?
  2. What version of Mbed CLI are you using ?
  3. What compiler are you using in Mbed CLI ?