Report
3 years, 6 months ago.

What compiler does the online IDE use?

I want to be able to do offline programming.

I tried GCC, and while it does work, the binaries it produces are much larger (one program I have was only 19.5KB when built online, but 31.6KB when built with GCC).

Question relating to:

The LPC1114FN28 is an ARM Cortex-M0 based, low-cost 32-bit MCU, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory addressing together with reduced code size ...
Comment on this question

1 Answer

3 years, 6 months ago.

Keil compiler. For the LPC1114, since it is small, you can use it for free.

ARMCC v5 to be precise

To get gcc binaries to lower sizes, you need to tweak a bit of ld and c/cxx flags, as I assume you are using nano lib, you can turn of float print/scanf support, enable further optimizations and so on.

posted by Martin Kojtal 12 Feb 2016