summaryrefslogtreecommitdiff
path: root/n/avr/common
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/common')
-rw-r--r--n/avr/common/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/n/avr/common/common.h b/n/avr/common/common.h
index 54ed501..1097942 100644
--- a/n/avr/common/common.h
+++ b/n/avr/common/common.h
@@ -38,6 +38,8 @@ typedef int32_t i32;
# define assert(x)
+# define avr_init(argc, argv) do { } while (0)
+
#else /* HOST */
# ifdef NDEBUG
@@ -60,6 +62,12 @@ typedef int32_t i32;
__ASSERT_FUNCTION), 0)))
# endif
+/** Initialise host module. */
+void
+host_init (int argc, char **argv);
+
+#define avr_init host_init
+
#endif /* HOST */
#endif /* common_h */