-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
45 lines (38 loc) · 1010 Bytes
/
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
; 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]
default_envs = matrix310
[env]
framework = arduino
extra_scripts = pre:extra_script.py
monitor_speed = 9600
lib_ldf_mode = deep+
[env:matrix310]
platform = espressif32
board = esp32dev
board_build.f_cpu = 240000000L ; 240MHz
board_build.f_flash = 80000000L ; 80MHz
board_build.flash_mode = dio
build_flags =
; -DDEBUG
lib_deps =
knolleary/PubSubClient@^2.8
WiFi
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
upload_port = /dev/ttyUSB0
upload_speed = 921600
[env:uno]
platform = atmelavr
board = uno
lib_deps =
vernierst/VernierLib@^1.0.5
monitor_port = /dev/ttyUSB1
upload_port = /dev/ttyUSB1