cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(tensorflow_magic_wand) # These samples use local static initialization. Since Zephyr doesn't support the # C++ ABI for thread-safe initialization of local statics and the constructors don't # appear to require thread safety, we turn it off in the C++ compiler. set(NO_THREADSAFE_STATICS $) zephyr_compile_options($<$:${NO_THREADSAFE_STATICS}>) file(GLOB app_sources src/*) target_sources(app PRIVATE ${app_sources} boards/litex_vexriscv.overlay)