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 2020/12/23 00:21:37 UTC

[mynewt-core] 02/04: pic32: Fix build, xc.h was remove by mistake

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 aa88a74c977302d10053cfbf8c328427b3521cf2
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Mon Dec 14 16:18:05 2020 +0100

    pic32: Fix build, xc.h was remove by mistake
    
    During some re-work os_arch.h lost vital include xc.h
    provided by xc32 compiler.
    
    Include was needed is not reintroduced.
---
 kernel/os/include/os/arch/pic32/os/os_arch.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/os/include/os/arch/pic32/os/os_arch.h b/kernel/os/include/os/arch/pic32/os/os_arch.h
index c4e40bf..98684ee 100644
--- a/kernel/os/include/os/arch/pic32/os/os_arch.h
+++ b/kernel/os/include/os/arch/pic32/os/os_arch.h
@@ -21,6 +21,7 @@
 #define _OS_ARCH_H
 
 #include <stdint.h>
+#include <xc.h>
 #include "mcu/pic32.h"
 
 /* CPU status register */