Content originally posted in LPCWare by qili on Mon Sep 13 17:04:06 MST 2010
your numbers sound right: with no optimizaton, the code is 20K+; with -o1, it is down to 16K and 14K for -o2.
my main.c is quite simple: two processes that produce a flag each, based on cycle count and a 3rd process that modulates the two flags to blink the led.
it is interesting to see a mcu this small can run something this complicated.
for those interested in how I got it to work: I took the freertos example for lpc17xx, change the mcu setting for lpc1343 and then copied over the lpc1343 start-up code.
the whole thing worked on the very first compile.