From 16ca3f7822839e7b406b17d6b6f3a04896be6a2b Mon Sep 17 00:00:00 2001 From: Kevin Bracey Date: Tue, 7 Apr 2020 10:30:19 +0300 Subject: [PATCH] Turn on platform.callback-nontrivial This example uses `Event` with `Callback` which means `platform.callback-nontrivial` needs to be `true`. Turn this on in the app, as we're planning to make `false` the default in Mbed OS. This option is new on master, so this change would stop the example compiling on 5.15 or earlier. --- mbed_app.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbed_app.json b/mbed_app.json index 6e884d8..cc02d43 100644 --- a/mbed_app.json +++ b/mbed_app.json @@ -1,7 +1,8 @@ { "target_overrides": { "*": { - "platform.stdio-convert-newlines": true + "platform.stdio-convert-newlines": true, + "platform.callback-nontrivial": true } } }