From a8c04f5bea98435332a258a089ef1b7ce8cdaa44 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 4 Jun 2020 22:30:36 +0200 Subject: [PATCH] pkg/ccn-lite: add patch to fix the build on stm32 cpus --- ...01-ccnl-riot-fix-build-on-stm32-cpus.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkg/ccn-lite/patches/0001-ccnl-riot-fix-build-on-stm32-cpus.patch diff --git a/pkg/ccn-lite/patches/0001-ccnl-riot-fix-build-on-stm32-cpus.patch b/pkg/ccn-lite/patches/0001-ccnl-riot-fix-build-on-stm32-cpus.patch new file mode 100644 index 0000000000..847d97eaba --- /dev/null +++ b/pkg/ccn-lite/patches/0001-ccnl-riot-fix-build-on-stm32-cpus.patch @@ -0,0 +1,27 @@ +From 7b4f637281287d0f145fea5f4376189015d86f20 Mon Sep 17 00:00:00 2001 +From: Alexandre Abadie +Date: Thu, 4 Jun 2020 22:28:03 +0200 +Subject: [PATCH 1/1] ccnl-riot: fix build on stm32 cpus + +--- + src/ccnl-riot/include/ccnl-riot-logging.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/ccnl-riot/include/ccnl-riot-logging.h b/src/ccnl-riot/include/ccnl-riot-logging.h +index 373f121a..96a4bb19 100644 +--- a/src/ccnl-riot/include/ccnl-riot-logging.h ++++ b/src/ccnl-riot/include/ccnl-riot-logging.h +@@ -24,6 +24,10 @@ + #define LOG_LEVEL LOG_DEBUG + #endif + ++#if defined(CPU_STM32) ++#include "cpu.h" ++#endif ++ + #include "log.h" + + /** +-- +2.25.1 +