change #include "image.h" to <target/image.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:47 +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 "image.h"

the following form should be used.

#include <target/image.h>

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

src/flash/flash.c
src/flash/nor/ecos.c
src/flash/nor/faux.c
src/flash/nor/lpc2900.c
src/server/gdb_server.c

index e910e42f9bc5e45026589e674f77fb691a4bcdd5..d16949da4cb5e28b9a5f5ff320e06703aeef7c15 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "flash.h"
 #include "common.h"
-#include "image.h"
+#include <target/image.h>
 #include <helper/time_support.h>
 
 static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock);
index ca8f3f519b74941c5ee857269528b006db24161c..81223b688b32932b7b34e62d387038158c50a2f2 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "flash.h"
 #include <target/embeddedice.h>
-#include "image.h"
+#include <target/image.h>
 #include <target/algorithm.h>
 
 
index caec2c791f39d7350facf10aecb4bf351fc2da66..124ca3e1fc0f5bc50b2cf3ea01f3c19a76660743 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "flash.h"
-#include "image.h"
+#include <target/image.h>
 #include "../hello.h"
 
 
index cf746794f6932838c8b34abeed67a2fca5773d17..c1fefd70c375d3710a89ea4fb81a888b4af11432 100644 (file)
@@ -23,7 +23,7 @@
 #endif
 
 
-#include "image.h"
+#include <target/image.h>
 #include "flash.h"
 #include <helper/binarybuffer.h>
 #include <target/armv4_5.h>
index 5cda21e235aec71adbd5aed799fc28c054282439..cd8c46cd491aa2b1356dce8b360cfcb2dee675a3 100644 (file)
@@ -33,7 +33,7 @@
 #include "server.h"
 #include "flash.h"
 #include "gdb_server.h"
-#include "image.h"
+#include <target/image.h>
 #include <jtag/jtag.h>
 
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)