This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5997

-- gerrit

commit 30604529df261ee97247a5b214c0809628230bfc
Author: Antonio Borneo <[email protected]>
Date:   Sat Jan 2 17:00:59 2021 +0100

    flash/nor/max32xxx: fix path of include file
    
    The relative path should have three times '..'.
    
    Issue identified by doxygen:
        src/flash/nor/max32xxx.c:85: warning: include file
        ../../contrib/loaders/flash/max32xxx/max32xxx.inc not
        found, perhaps you forgot to add its directory to
        INCLUDE_PATH?
    
    Change-Id: Ie7b4948c6770b8acb9eff26e08eea32945ebb219
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/src/flash/nor/max32xxx.c b/src/flash/nor/max32xxx.c
index 9a5e83f..586a73b 100644
--- a/src/flash/nor/max32xxx.c
+++ b/src/flash/nor/max32xxx.c
@@ -82,7 +82,7 @@ struct max32xxx_flash_bank {
 
 /* see contrib/loaders/flash/max32xxx/max32xxx.s for src */
 static const uint8_t write_code[] = {
-#include "../../contrib/loaders/flash/max32xxx/max32xxx.inc"
+#include "../../../contrib/loaders/flash/max32xxx/max32xxx.inc"
 };
 
 /*             Config Command: flash bank name driver base size chip_width 
bus_width target [driver_option]

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to