summaryrefslogtreecommitdiff
path: root/ucoo/arch/arch.hh
diff options
context:
space:
mode:
authorNicolas Schodet2016-07-25 15:18:40 +0200
committerNicolas Schodet2019-10-09 23:05:44 +0200
commit4695b47da68a5b2f75270bea21e15b8f1b9fd6ff (patch)
tree6e5ef4d34ee69bcd6c6627f25a0ca3aa902d47e3 /ucoo/arch/arch.hh
parentd7df91926bdb529e68eff9a215aef72072803b6e (diff)
Switch to CMSIS
Diffstat (limited to 'ucoo/arch/arch.hh')
-rw-r--r--ucoo/arch/arch.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/ucoo/arch/arch.hh b/ucoo/arch/arch.hh
index e0889bd..2401868 100644
--- a/ucoo/arch/arch.hh
+++ b/ucoo/arch/arch.hh
@@ -24,6 +24,14 @@
//
// }}}
+#if defined (TARGET_arm)
+# include "arch.arm.hh"
+#elif defined (TARGET_host)
+# include "arch.host.hh"
+#else
+# error "not implemented for this target"
+#endif
+
namespace ucoo {
/// Initialise arch, take program arguments.
@@ -34,14 +42,6 @@ arch_init (int argc, const char **argv);
void
arch_reset ();
-#ifdef TARGET_host
-
-/// Retrieve program arguments.
-void
-arch_get_args (int &argc, const char **&argv);
-
-#endif
-
} // namespace ucoo
#endif // ucoo_arch_arch_hh