Make it 'flashable'

This commit is contained in:
Artur Gurgul 2025-09-16 10:27:08 -05:00
parent 793eb33f67
commit f11a189e31
4 changed files with 25 additions and 6 deletions

View file

@ -2,6 +2,10 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
# Disable C++ thread-safe statics to avoid pthread dependency
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-threadsafe-statics>)
set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)