summaryrefslogtreecommitdiff
path: root/src/ao_intflash.c
Commit message (Collapse)AuthorAge
* altos: Switch flash drivers __xdata to __pdataKeith Packard2011-07-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Internal flash ops block when running from flashKeith Packard2011-03-16
| | | | | | | | | The docs say that if you are executing from flash, then the CPU will stall after a flash write or erase command is started until the operation is complete. Take advantage of that to simplify the flash code. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao_intflash: Avoid overwriting codeAnthony Towns2011-03-16
| | | | | | | 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.
* ao_intflash: Use internal flash for storageAnthony Towns2011-03-16
Makes any free pages at end of CC1111's internal flash available via the ao_storage API.