From 341b7660218fc99827d7647b9aee38271c1457b3 Mon Sep 17 00:00:00 2001
From: Rahix <rahix@rahix.de>
Date: Sun, 9 Jun 2019 18:07:30 +0200
Subject: [PATCH] feat(hello-freertos): Switch to upstream v10.2.1

Signed-off-by: Rahix <rahix@rahix.de>
---
 hw-tests/hello-freertos/meson.build | 10 ++++++----
 lib/meson.build                     |  2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/hw-tests/hello-freertos/meson.build b/hw-tests/hello-freertos/meson.build
index 457a6768..c24b5786 100644
--- a/hw-tests/hello-freertos/meson.build
+++ b/hw-tests/hello-freertos/meson.build
@@ -1,11 +1,13 @@
 name = 'hello-freertos'
 
 freertos = static_library(
-  'freertos-sdk',
-  freertos_sdk_sources,
+  'freertos',
+  freertos_sources,
+  freertos_cli_sources,
   dependencies: periphdriver,
   include_directories: [
-    freertos_sdk_includes,
+    freertos_includes,
+    freertos_cli_includes,
     include_directories('./'),
   ]
 )
@@ -19,7 +21,7 @@ sources = files(
 elf = executable(
   name + '.elf',
   sources,
-  include_directories: freertos_sdk_includes,
+  include_directories: [freertos_includes, freertos_cli_includes],
   dependencies: [libcard10, max32665_startup],
   link_with: freertos,
   link_whole: [max32665_startup_lib, board_card10_lib],
diff --git a/lib/meson.build b/lib/meson.build
index 53c1a6fe..ff090b24 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -7,6 +7,8 @@ subdir('./vendor/Maxim/MAX77650/')
 subdir('./vendor/Maxim/MAX86150/')
 subdir('./gfx/')
 
+subdir('./FreeRTOS/')
+subdir('./FreeRTOS-Plus/')
 subdir('./micropython/')
 
 subdir('./card10/')
-- 
GitLab