aboutsummaryrefslogtreecommitdiff
path: root/src/include/cortexm3.h
diff options
context:
space:
mode:
authorMike Smith2011-12-26 02:34:45 -0800
committerMike Smith2011-12-26 02:34:45 -0800
commitbc4c87e45b5b9cc72c46993b1b416017fe4b39a6 (patch)
tree7175c098f06891843c21e5d0462e958b9e8620b8 /src/include/cortexm3.h
parent2653222d08f31ccac9d0e6c3d129ae20b5440eb7 (diff)
Add support for Cortex-M0, and specifically for the NXP LPC11xx devices.
Diffstat (limited to 'src/include/cortexm3.h')
-rw-r--r--src/include/cortexm3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cortexm3.h b/src/include/cortexm3.h
index 7a3d449..9f6f24b 100644
--- a/src/include/cortexm3.h
+++ b/src/include/cortexm3.h
@@ -23,6 +23,9 @@
#include "target.h"
+/* target options recognised by the Cortex-M target */
+#define TOPT_FLAVOUR_V6M (1<<0) /* if not set, target is assumed to be v7m */
+
int cm3_probe(struct target_s *target);
#endif