Content originally posted in LPCWare by CodeRedSupport on Fri Jul 09 03:54:12 MST 2010
See earlier posting about what text, data and bss are. They are standard names in 32-bit code.
Blinky is really a template application that shows how a number of things are setup and although it is "only" blinking and LED, it also:
- sets up the chip, initialises the clock etc
- defines all the interrupt handlers and provides basic handlers for the various fault types
- creates a timer and blinks the LED based on the value
Don't forget you are also looking at the Debug build. The Release build is roughly half the size.
If you did nothing but blink the LED out of reset, and dispensed with everything else (vectors, data/bss initializations, clock setup etc etc) you can probably do it in <50 bytes - but I haven't tried.