From 217cc6d6229ad4edcd119693969f879ee027f733 Mon Sep 17 00:00:00 2001 From: Lakshantha Date: Tue, 15 Feb 2022 14:58:08 +0530 Subject: [PATCH 1/2] Add board support for Seeed XIAO BLE Sense --- src/tensorflow/lite/micro/system_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tensorflow/lite/micro/system_setup.cpp b/src/tensorflow/lite/micro/system_setup.cpp index dfa4e633..d1864573 100644 --- a/src/tensorflow/lite/micro/system_setup.cpp +++ b/src/tensorflow/lite/micro/system_setup.cpp @@ -19,7 +19,7 @@ limitations under the License. #include "tensorflow/lite/micro/debug_log.h" -#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) +#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) && !defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) #define ARDUINO_EXCLUDE_CODE #endif // defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) From 48a62b6e75862ceca82924e48618f197750b1299 Mon Sep 17 00:00:00 2001 From: Lakshantha Date: Wed, 23 Feb 2022 10:13:19 +0530 Subject: [PATCH 2/2] Update: Speech recognition demo compatibility with XIAO BLE Sense --- examples/micro_speech/arduino_audio_provider.cpp | 2 +- examples/micro_speech/arduino_command_responder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/micro_speech/arduino_audio_provider.cpp b/examples/micro_speech/arduino_audio_provider.cpp index 2c5594c9..906b5164 100644 --- a/examples/micro_speech/arduino_audio_provider.cpp +++ b/examples/micro_speech/arduino_audio_provider.cpp @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) +#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) && !defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) #define ARDUINO_EXCLUDE_CODE #endif // defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) diff --git a/examples/micro_speech/arduino_command_responder.cpp b/examples/micro_speech/arduino_command_responder.cpp index 7fedc696..9ad46873 100644 --- a/examples/micro_speech/arduino_command_responder.cpp +++ b/examples/micro_speech/arduino_command_responder.cpp @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) +#if defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE) && !defined(ARDUINO_SEEED_XIAO_NRF52840_SENSE) #define ARDUINO_EXCLUDE_CODE #endif // defined(ARDUINO) && !defined(ARDUINO_ARDUINO_NANO33BLE)