This commit is contained in:
Artur Gurgul 2025-09-16 09:38:00 -05:00
parent 71381bb467
commit 793eb33f67
4 changed files with 142 additions and 112 deletions

View file

@ -5,4 +5,9 @@ cmake_minimum_required(VERSION 3.16)
set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(bme680_esp8266)
project(bme680_esp8266 C)
# Force the app to link as C (prevents pulling libstdc++)
idf_build_get_property(APP_TARGET EXECUTABLE) # provided by IDF's CMake
set_target_properties(${APP_TARGET} PROPERTIES LINKER_LANGUAGE C)