altos: Internal flash ops block when running from flash
authorKeith Packard <keithp@keithp.com>
Thu, 17 Mar 2011 03:36:50 +0000 (20:36 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Mar 2011 03:36:50 +0000 (20:36 -0700)
commit82707a05af0eb2d54f46b58805c95cdf4e5a3703
tree917a1d0fd53eed822a84dcff74d1d5f2ce43791b
parent1d8579f973bfe1047ee91f03555e74abdc483e69
altos: Internal flash ops block when running from flash

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>
src/ao_intflash.c
src/cc1111.h