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-05-07 20:15:43 -0700
commitc9c35b100c3fcae661501d2bf89eedc7fceb2e1c (patch)
treec2db5892a973c33346d1985405f2f88a6b3d87b6 /src/stm/ao_boot.h
parenta6887032b4d217bca5236ea15389218f10d69545 (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_ */