You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2020/01/21 20:44:15 UTC

[mynewt-mcumgr] branch master updated: cmd: img_mgmt: fix driver include path

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git


The following commit(s) were added to refs/heads/master by this push:
     new ebe898c  cmd: img_mgmt: fix driver include path
ebe898c is described below

commit ebe898ce545e186e3b375015447c36f6d79246ad
Author: Peter A. Bigot <pe...@nordicsemi.no>
AuthorDate: Fri Jan 17 12:53:12 2020 -0600

    cmd: img_mgmt: fix driver include path
    
    Zephyr will soon no longer add the drivers subdirectory of the include
    hierarchy to the search path, so references to driver headers must
    include the drivers/ prefix.
    
    Signed-off-by: Peter A. Bigot <pe...@nordicsemi.no>
---
 cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
index bb96f6f..af9abbb 100644
--- a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
+++ b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
@@ -23,7 +23,7 @@
 LOG_MODULE_REGISTER(LOG_MODULE_NAME);
 
 #include <assert.h>
-#include <flash.h>
+#include <drivers/flash.h>
 #include <storage/flash_map.h>
 #include <zephyr.h>
 #include <soc.h>