-
Notifications
You must be signed in to change notification settings - Fork 13
/
platformio.ini
82 lines (71 loc) · 2.33 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
; 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
[strict_ldf]
lib_ldf_mode = chain+
[platformio]
default_envs = node32s
src_dir = .
data_dir = data
[env]
platform = [email protected]
framework = arduino
lib_extra_dirs = ${workspacedir} ;this points to the root directory where the arduino library is located
build_flags = -D USE_NIMBLE -DCORE_DEBUG_LEVEL=0
-Wno-maybe-uninitialized
-Wno-unused-function
-Wno-unused-but-set-variable
-Wno-unused-variable
-Wno-deprecated-declarations
-Wno-unused-parameter
-Wno-sign-compare
-Wno-comment
-Wno-write-strings
; https://github.com/espressif/esp-idf/tree/master/components/partition_table
; https://github.com/espressif/arduino-esp32/tree/master/tools/partitions
;board_build.partitions = min_spiffs.csv
board_build.partitions = no_ota.csv
build_unflags = -Werror=reorder
; this let you to download/backup the spiffs saved bank.
; uncomment following line and download https://github.com/maxgerhardt/pio-esp32-esp8266-filesystem-downloader/raw/main/download_fs.py
; extra_scripts = download_fs.py
lib_deps =
adafruit/Adafruit BusIO
adafruit/Adafruit [email protected]
adafruit/Adafruit GFX [email protected]
bblanchon/[email protected]
thebigpotatoe/[email protected]
t-vk/ESP32 BLE [email protected]
h2zero/[email protected]
mickey9801/[email protected]
[env:node32s]
board = node32s
upload_protocol = esptool
board_upload.require_upload_port = no
;upload_flags = --upload-port=/dev/cu.usbserial-0001
; COM1 or COM5
upload_port = COM[1]
upload_speed = 921600
monitor_port = COM[5]
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, log2file
[env:nodemcu-32s]
board = nodemcu-32s
; COM1 or COM5
upload_port = COM[13]
upload_speed = 921600
monitor_port = COM[5]
monitor_speed = 115200
[env:esp32doit-devkit-v1]
board = esp32doit-devkit-v1
; COM1 or COM5
upload_port = COM[15]
upload_speed = 921600
monitor_port = COM[5]
monitor_speed = 115200