summaryrefslogtreecommitdiff
path: root/firmware/src/start/Cstartup.S
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-16 21:00:02 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-16 21:00:02 +0200
commitff741ee31fe2a6b25f8f7fcfb1397bb0c82616d6 (patch)
tree2f32fddefac810dc49c1e2d71bd080d5021bee98 /firmware/src/start/Cstartup.S
parenta59c6e2073d8f6126429b7ad17459a3b42237cde (diff)
simtrace: add more definitions regarding real hw prototype
Diffstat (limited to 'firmware/src/start/Cstartup.S')
-rw-r--r--firmware/src/start/Cstartup.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/src/start/Cstartup.S b/firmware/src/start/Cstartup.S
index a28b400..e262b8f 100644
--- a/firmware/src/start/Cstartup.S
+++ b/firmware/src/start/Cstartup.S
@@ -98,6 +98,9 @@
/* Olimex SAM7-Pxxx boards have a button B1 on PA19 that is low-active */
.equ PIO_BOOTLDR, (1 << 19)
#define CONFIG_DFU_SWITCH_INV
+#elif defined(SIMTRACE)
+ .equ PIO_BOOTLDR, (1 << 31)
+#define CONFIG_DFU_SWITCH_INV
#else
#error please define PIO_BOOTLDR for your board
#endif
personal git repositories of Harald Welte. Your mileage may vary