You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/05/10 21:02:40 UTC

[mynewt-core] 01/03: mcu/fe310: Fix build error

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

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

commit 7f81747fa9ceb8350243dbb4f2b5d9a1799b32cc
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu May 9 11:56:33 2019 +0200

    mcu/fe310: Fix build error
    
    Introduction of hal_system_reset_cb() resulted in build error
    due to missing os/mynewt.h include.
---
 hw/mcu/sifive/fe310/src/hal_system.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/mcu/sifive/fe310/src/hal_system.c b/hw/mcu/sifive/fe310/src/hal_system.c
index 0fa87d5..3c5f121 100644
--- a/hw/mcu/sifive/fe310/src/hal_system.c
+++ b/hw/mcu/sifive/fe310/src/hal_system.c
@@ -17,6 +17,7 @@
  * under the License.
  */
 
+#include "os/mynewt.h"
 #include "hal/hal_system.h"
 
 void