aboutsummaryrefslogtreecommitdiff
path: root/src/cortexm.c
diff options
context:
space:
mode:
authorGareth McMullin2012-06-18 20:27:06 +1200
committerGareth McMullin2012-06-18 20:27:06 +1200
commitbc7e7d21128f8aaac4d2b6191bfd904fe76f7deb (patch)
treedf1f9e706b163ad3ae9df019fd6514523890d046 /src/cortexm.c
parentbc5a6f022bf926353d09c3c1b69ddf05ee353edf (diff)
Removed target header files containing a single prototype.
Target probe prototypes are all in target.h now.
Diffstat (limited to 'src/cortexm.c')
-rw-r--r--src/cortexm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cortexm.c b/src/cortexm.c
index a3da2bf..bd67e10 100644
--- a/src/cortexm.c
+++ b/src/cortexm.c
@@ -36,14 +36,12 @@
#include "adiv5.h"
#include "target.h"
-#include "cortexm.h"
-#include "lmi.h"
-#include "stm32.h"
-#include "nxp_tgt.h"
-#include "sam3u.h"
-
static char cortexm_driver_str[] = "ARM Cortex-M3";
+/* target options recognised by the Cortex-M target */
+#define TOPT_FLAVOUR_V6M (1<<0) /* if not set, target is assumed to be v7m */
+#define TOPT_FLAVOUR_V7MF (1<<1) /* if set, floating-point enabled. */
+
/* Private peripheral bus base address */
#define CORTEXM_PPB_BASE 0xE0000000