aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-01-02 17:00:59 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2021-01-13 11:33:03 +0000
commita16e8ba455c901c9656eebf9f7c06d3dc5844e6b (patch)
treedfa1aa633574ab054c528231762b2c0d88db3879 /src
parentf83c2b0c7c53770df9771d46a32c045175d02284 (diff)
downloadriscv-openocd-a16e8ba455c901c9656eebf9f7c06d3dc5844e6b.zip
riscv-openocd-a16e8ba455c901c9656eebf9f7c06d3dc5844e6b.tar.gz
riscv-openocd-a16e8ba455c901c9656eebf9f7c06d3dc5844e6b.tar.bz2
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 <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5997 Tested-by: jenkins
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/max32xxx.c2
1 files changed, 1 insertions, 1 deletions
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]