ao_intflash: Avoid overwriting code
authorAnthony Towns <aj@erisian.com.au>
Sat, 26 Feb 2011 06:06:48 +0000 (16:06 +1000)
committerKeith Packard <keithp@keithp.com>
Wed, 16 Mar 2011 22:57:38 +0000 (15:57 -0700)
commitfc5d014721a7e5a7b22f07eb4ab0bb3c764473fe
tree16c9d95beb28bf1ccf93f888c41852a24c3397c0
parent0e4c55d78852415e79f7318471f4d00c89703b78
ao_intflash: Avoid overwriting code

Require firmware to specify the end of its codespace in its Makefile,
and use this to determine where the start of available flash is. Should
give compile time errors if either there's no room left for storage, or
if there's not enough room for code.
src/Makefile.proto
src/ao_intflash.c
src/telemini-v0.1/Makefile.defs