-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
46 lines (40 loc) · 1.07 KB
/
platformio.ini
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
; 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 = ESP32-Helper
description = Librairy for esp32
; Leave default_envs empty so it will build all env
default_envs =
; build_dir = ${PROJECT_DIR}/.pio/build
[env]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
upload_protocol = esptool
build_type = debug
monitor_filters = esp32_exception_decoder
build_src_filter = +<*>
+<../examples/${PIOENV}/${PIOENV}.cpp>
monitor_speed = 921600
[env:Example1_FastStartup]
build_flags =
-D NO_WIFI
[env:Example2_Debug]
build_flags =
-D NO_WIFI
[env:Example3_WithWifi]
build_flags =
-D WITH_WIFI
; -D WITH_OTA
;upload_protocol = espota
;upload_port = 192.168.137.110
[env:Example4_HandleCommand]
build_flags =
-D NO_WIFI