From: Zachary T Welch Date: Thu, 3 Dec 2009 12:14:43 +0000 (-0800) Subject: change #include "armv7m.h" to X-Git-Tag: v0.4.0-rc1~174 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f52a5968604ae0dffc5b93e745724f850a416282;p=openocd change #include "armv7m.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "armv7m.h" the following form should be used. #include The exception is from .c files in the same directory. --- diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index 9479a9fe..295e3e7f 100644 --- a/src/flash/nor/lpc2000.c +++ b/src/flash/nor/lpc2000.c @@ -26,7 +26,7 @@ #endif #include "lpc2000.h" -#include "armv7m.h" +#include #include #include diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index 90b0ac65..f0028ea6 100644 --- a/src/flash/nor/stellaris.c +++ b/src/flash/nor/stellaris.c @@ -29,7 +29,7 @@ #endif #include "stellaris.h" -#include "armv7m.h" +#include #include #include diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index 581b6505..37925470 100644 --- a/src/flash/nor/stm32x.c +++ b/src/flash/nor/stm32x.c @@ -25,7 +25,7 @@ #endif #include "stm32x.h" -#include "armv7m.h" +#include #include #include diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index 7ce89014..c31c3f5d 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -26,7 +26,7 @@ #ifndef CORTEX_M3_H #define CORTEX_M3_H -#include "armv7m.h" +#include #define CORTEX_M3_COMMON_MAGIC 0x1A451A45