From c174c91719ec57419d0c60e86c24152f72e20c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Hj=C3=A4rtquist?= Date: Fri, 11 Aug 2023 15:59:29 +0200 Subject: [PATCH 1/2] porting/npl/freertos: Add way of including HW specific header --- porting/npl/freertos/src/npl_os_freertos.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/porting/npl/freertos/src/npl_os_freertos.c b/porting/npl/freertos/src/npl_os_freertos.c index ecc5cd7b1e..eeebe9fd78 100644 --- a/porting/npl/freertos/src/npl_os_freertos.c +++ b/porting/npl/freertos/src/npl_os_freertos.c @@ -22,6 +22,10 @@ #include #include "nimble/nimble_npl.h" +#ifdef NIMBLE_NPL_OS_EXTRA_INCLUDE +#include NIMBLE_NPL_OS_EXTRA_INCLUDE +#endif + static inline bool in_isr(void) { From 5a9e4c55c0ba560d046ab5030cc585604ae0c8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Hj=C3=A4rtquist?= Date: Mon, 2 Oct 2023 08:41:21 +0200 Subject: [PATCH 2/2] Add comment about NIMBLE_NPL_OS_EXTRA_INCLUDE --- porting/npl/freertos/src/npl_os_freertos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/porting/npl/freertos/src/npl_os_freertos.c b/porting/npl/freertos/src/npl_os_freertos.c index eeebe9fd78..a671a80ea0 100644 --- a/porting/npl/freertos/src/npl_os_freertos.c +++ b/porting/npl/freertos/src/npl_os_freertos.c @@ -22,6 +22,7 @@ #include #include "nimble/nimble_npl.h" +/* Include the file that defines the SCB for your HW. */ #ifdef NIMBLE_NPL_OS_EXTRA_INCLUDE #include NIMBLE_NPL_OS_EXTRA_INCLUDE #endif