mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 08:39:09 +03:00
fix build standalone
This commit is contained in:
@@ -166,9 +166,7 @@ build_unflags = ${common.unbuild_flags}
|
||||
board_upload.use_1200bps_touch = false
|
||||
board_upload.wait_for_upload_port = false
|
||||
|
||||
; see https://docs.platformio.org/en/latest/platforms/native.html#id1
|
||||
; to build: pio run -e standalone
|
||||
; to run and build: pio run -e standalone -t exec
|
||||
; to build and run: pio run -e standalone -t exec
|
||||
[env:standalone]
|
||||
platform = native
|
||||
build_flags =
|
||||
@@ -177,7 +175,7 @@ build_flags =
|
||||
-DEMSESP_DEBUG -DEMSESP_STANDALONE -DEMSESP_TEST
|
||||
-DEMSESP_DEFAULT_LOCALE=\"en\" -DEMSESP_DEFAULT_TX_MODE=8 -DEMSESP_DEFAULT_VERSION=\"3.6.0-dev\" -DEMSESP_DEFAULT_BOARD_PROFILE=\"S32\"
|
||||
-lpthread
|
||||
-std=gnu++17 -Og -ggdb
|
||||
-std=gnu++11 -Og -ggdb
|
||||
build_src_flags =
|
||||
-Wall -Wextra -Werror -Wswitch-enum -Wno-unused-parameter -Wno-inconsistent-missing-override -Wno-unused-lambda-capture
|
||||
-I./lib_standalone
|
||||
|
||||
Reference in New Issue
Block a user