]> git.gag.com Git - fw/openocd/commitdiff
flash/nor/max32xxx: fix path of include file
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 Jan 2021 16:00:59 +0000 (17:00 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 13 Jan 2021 11:33:03 +0000 (11:33 +0000)
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 <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5997
Tested-by: jenkins
src/flash/nor/max32xxx.c

index 9a5e83fa058118c89510fad7e7b66151e16b4997..586a73b1d480ba5ad77febc6a7e9cf36ec0f3020 100644 (file)
@@ -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]