pkg/ccn-lite: add patch to fix the build on stm32 cpus
This commit is contained in:
parent
dea506a719
commit
a8c04f5bea
@ -0,0 +1,27 @@
|
||||
From 7b4f637281287d0f145fea5f4376189015d86f20 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Abadie <alexandre.abadie@inria.fr>
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user