From 9eaa420b7bf51cc81c50e7f4ca0f256498a07c86 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 13 Oct 2023 15:57:15 +0200 Subject: HTTP layer for ESP32, make static specifier in matrix.c optional by defining it as a macro --- esp32/esp_project/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'esp32/esp_project/CMakeLists.txt') diff --git a/esp32/esp_project/CMakeLists.txt b/esp32/esp_project/CMakeLists.txt index 1d08676..897cd8e 100644 --- a/esp32/esp_project/CMakeLists.txt +++ b/esp32/esp_project/CMakeLists.txt @@ -4,3 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(esp_project) + +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") +SET(CMAKE_CXX_COMPILER "C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe") \ No newline at end of file -- cgit v1.2.3