summaryrefslogtreecommitdiffstats
path: root/firmware/bootloaderconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r--firmware/bootloaderconfig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h
index 9c06de3..a93e6ff 100644
--- a/firmware/bootloaderconfig.h
+++ b/firmware/bootloaderconfig.h
@@ -13,6 +13,16 @@
#define __bootloaderconfig_h_included__
/*
+ * Bootloader defines
+ */
+
+#ifndef __ASSEMBLER__
+ typedef union {
+ uint16_t w;
+ uint8_t b[2];
+ } uint16_union_t;
+#endif
+/*
General Description:
This file (together with some settings in Makefile) configures the boot loader
according to the hardware.