AnsweredAssumed Answered

Not able to run a "Hello World" program in MCUXpresso ide

Question asked by Joseph Jean-Jacques on Jun 12, 2018
Latest reply on Jun 13, 2018 by Joseph Jean-Jacques

Hello Everyone,

 

Please forgive me for this newbie question, but I am new to the world of RTOS. I just recently downloaded and installed the MCUXpresso IDE and I created a new C++ project through the project wizard using the LPC 1343 as a target platform. I added a source file to the project and wrote a simple hello world program, aka cout << "Hello World" << endl. 

 

Right now I do not have any development boards (still waiting for mines to be shipped in), however I am not actually trying to run the hello world program. I just want to be able to build the hello world project without any errors/issues (basically getting familiar with MCUXpresso). Surprisingly enough, I ran into 5 errors and a warning when I tried to build the Hello World project. 

 

These are the errors I received:

 

Description Resource Path Location Type
Hello World.axf section `.bss' will not fit in region `RamLoc8' Hello World C/C++ Problem
Hello World.axf section `.text' will not fit in region `MFlash32' Hello World C/C++ Problem
make: *** [Hello World.axf] Error 1 Hello World C/C++ Problem
region `MFlash32' overflowed by 254856 bytes Hello World C/C++ Problem
region `RamLoc8' overflowed by 396 bytes Hello World C/C++ Problem
cannot find entry symbol ResetISR; defaulting to 00000000 Hello World C/C++ Problem

 

I frankly don't understand a how a simple hello world program can overflow the flash and memory constraints of the MCU. If anyone could give me any pointers to help solve these errors, that would be greatly appreciated!!

 

Thanks

 

P.S. 

I attached a screenshot of the errors as listed in MCUXpresso ide

Attachments

Outcomes