summaryrefslogtreecommitdiff
path: root/src/stm/ao_boot.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-10 21:02:59 -0700
committerKeith Packard <keithp@keithp.com>2013-03-10 21:02:59 -0700
commit8083aeb07167a1a68a168f16ac951b6de7b197ea (patch)
treee32ce77901c14cde263870298ab503af4a81fe4c /src/stm/ao_boot.h
parent5187bb4402874f654fcef5ffdf237edf97a26b8c (diff)
altos: Make stm-flash capable of switching to application
This shrinks the base OS load down a bit as well so that stm-flash fits comfortably in the first 8kB of memory. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_boot.h')
-rw-r--r--src/stm/ao_boot.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/stm/ao_boot.h b/src/stm/ao_boot.h
new file mode 100644
index 00000000..863d8e05
--- /dev/null
+++ b/src/stm/ao_boot.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright © 2013 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+#ifndef _AO_BOOT_H_
+#define _AO_BOOT_H_
+
+void
+ao_reboot_application(void);
+
+#endif /* _AO_BOOT_H_ */