From b3018646d5ad5e0069027512367ed021e8126853 Mon Sep 17 00:00:00 2001
From: Christian Rauch <Rauch.Christian@gmx.de>
Date: Wed, 5 Dec 2018 00:02:39 +0000
Subject: [PATCH] check CONFIG_STACK_COLORATION for print_load_nuttx

---
 src/modules/systemlib/print_load_nuttx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/systemlib/print_load_nuttx.c b/src/modules/systemlib/print_load_nuttx.c
index a5452db6a7..8486219bea 100644
--- a/src/modules/systemlib/print_load_nuttx.c
+++ b/src/modules/systemlib/print_load_nuttx.c
@@ -52,6 +52,10 @@
 #error print_load_nuttx requires CONFIG_TASK_NAME_SIZE
 #endif
 
+#if !defined(CONFIG_STACK_COLORATION)
+#error print_load_nuttx requires CONFIG_STACK_COLORATION
+#endif
+
 extern struct system_load_s system_load;
 
 #define CL "\033[K" // clear line
-- 
GitLab