]> git.sur5r.net Git - openocd/commitdiff
change #include "armv7m.h" to <target/armv7m.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:43 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:41 +0000 (04:24 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "armv7m.h"

the following form should be used.

#include <target/armv7m.h>

The exception is from .c files in the same directory.

src/flash/nor/lpc2000.c
src/flash/nor/stellaris.c
src/flash/nor/stm32x.c
src/target/cortex_m3.h

index 9479a9fe176ca61fa3f10c57f999eca24da13832..295e3e7f1434d475a1a98a5bfc66238b6a6377b6 100644 (file)
@@ -26,7 +26,7 @@
 #endif
 
 #include "lpc2000.h"
-#include "armv7m.h"
+#include <target/armv7m.h>
 #include <helper/binarybuffer.h>
 #include <target/algorithm.h>
 
index 90b0ac65b2f502b9380ff9f608658d48eea8e9c7..f0028ea64b2ba3864118f20978438e0063554bf9 100644 (file)
@@ -29,7 +29,7 @@
 #endif
 
 #include "stellaris.h"
-#include "armv7m.h"
+#include <target/armv7m.h>
 #include <helper/binarybuffer.h>
 #include <target/algorithm.h>
 
index 581b6505fb3ccc4b9258e4b596e21f7fa52b0471..37925470f6ffda5afa72763070f55124e1c3cbe5 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 #include "stm32x.h"
-#include "armv7m.h"
+#include <target/armv7m.h>
 #include <helper/binarybuffer.h>
 #include <target/algorithm.h>
 
index 7ce89014bbbc8eec7ca5705ed769892203f543a5..c31c3f5dc821373ebc67f1bb7e9f67e5230221cc 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef CORTEX_M3_H
 #define CORTEX_M3_H
 
-#include "armv7m.h"
+#include <target/armv7m.h>
 
 
 #define CORTEX_M3_COMMON_MAGIC 0x1A451A45