-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathplatformio.ini
More file actions
56 lines (50 loc) · 1.31 KB
/
platformio.ini
File metadata and controls
56 lines (50 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
name = MideaUART
description = A library for controlling Midea home appliances using the UART protocol.
default_envs =
esp8266-arduino
esp32-arduino
esp32-idf
native
[env]
test_build_src = yes
lib_deps =
; Enable C++20. ESPHome supports C++20 since 2025.7.0 release.
; https://esphome.io/changelog/2025.7.0/#memory-and-performance-optimizations
build_unflags =
-std=gnu++11
-std=gnu++14
-std=gnu++17
-std=gnu++23
-std=gnu++2b
-std=gnu++2c
build_flags =
-std=gnu++2a
-Os
[env:esp8266-arduino]
platform = espressif8266
framework = arduino
board = esp12e
build_src_filter = +<../test/entry_arduino.cpp>
[env:esp32-arduino]
platform = espressif32
framework = arduino
board = esp32dev
build_src_filter = +<../test/entry_arduino.cpp>
[env:esp32-idf]
platform = espressif32
framework = espidf
board = esp32dev
build_src_filter = +<../test/entry_idf.cpp>
[env:native]
platform = native
build_src_filter = +<../test/entry_native.cpp>