9 years, 10 months ago.

LPCXpresso Export, Compile, Debug

Hi,

i have succesfully exported a aproject to LPCXpresso but now i run into several problems...

am i right that exporting a project will not deliver me *.c and *.cpp files? the whole api folder is full of header files, thats it.

when i compile the project i got a warning: cannot find entry symbol ResetISR. this should be somewhere in the startup code, but its precompiled, so not readable...

my application is not working as expected... so i tried to debug, but due to missing code files i cannot step through.

i downloaded the sdk from mbed and tried to add some *.c and *.cpp files to the project to get the debugging up and running, but there seem to be some definitions that does not exist in the project so the whole project gets uncompileable...

anyone already managed to get an exported project running and debuggable?

thx

2 Answers

9 years, 10 months ago.

Hi uC Blog,

After you export your online project for LPCXpresso (ZIP file), on the off line ide (LPCXpresso IDE) you will need to import the zip file of the online compiler using the "Quickstart Painel" on the item Import Project.

Sorry for my english.

Regards

thank you for your answer, but that is not the problem. i succesfully imported the project.

but i cannot debug because mbed is exporting with precompiled sources so the debugger will fail if there is a jump into a function which is precompiled because there is no source file availlable.

exporting is not the problem, the content exported is, but i think only mbed can solve this...

posted by Harry Hirn 24 Feb 2015

Very strange... I dont have this problem. What is your platform? I have 2 boards Mbed LPC1768 and LPCXpresso 1769.

posted by Plínio Barbosa 24 Feb 2015
9 years, 10 months ago.

You need to change your mbed.bld library to mbed-src if you want to export all the source for a given platform.

can you tell me where/how i can do this? i rightclicked on the mbed folder and pressed convert to library, but now i got all files in there for every toolchain, but still the object files like board.o, startup_xxxx.o etc...

posted by Harry Hirn 25 Feb 2015

delete mbed from your program and import mbed-src

posted by Sam Grove 25 Feb 2015