diff options
author | Keith Packard <keithp@keithp.com> | 2013-03-11 13:21:04 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-07 20:16:36 -0700 |
commit | b1a43ce313c85cb7f8f16f7f0647d9d4320ba692 (patch) | |
tree | 932b1768bc85c5ef5865d6acd61eac22a8584dcc /src/stm/ao_boot.h | |
parent | 56a7cbbf51f5c9ebbfe17d1cc30ed807572af3cc (diff) |
altos: Clean up boot loader support
Split out code into separate files.
Add support for getting back to boot loader from application.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_boot.h')
-rw-r--r-- | src/stm/ao_boot.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/stm/ao_boot.h b/src/stm/ao_boot.h index 863d8e05..3e8c50ba 100644 --- a/src/stm/ao_boot.h +++ b/src/stm/ao_boot.h @@ -19,6 +19,15 @@ #define _AO_BOOT_H_ void -ao_reboot_application(void); +ao_boot_chain(uint32_t *base); + +void +ao_boot_check_pin(void); + +void +ao_boot_check_chain(void); + +void +ao_boot_reboot(uint32_t *base); #endif /* _AO_BOOT_H_ */ |