-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
63 lines (57 loc) · 1.31 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
; 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 = nano, teensy
; default_envs = nano
; default_envs = teensy
default_envs = esp32
[env:esp32]
board = esp32dev
framework = arduino
platform = espressif32
upload_port = /dev/cu.SLAB*
monitor_port = /dev/cu.SLAB_USBtoUART
monitor_filters = default, log2file, esp32_exception_decoder
monitor_speed = 115200
lib_deps =
SPI
fastled/FastLED@^3.5.0
dparson55/NRFLite@^3.0.3
madhephaestus/ESP32Encoder
thomasfredericks/Bounce2@^2.55
[env:nano]
platform = atmelavr
; board = nanoatmega328
board = nanoatmega328new
framework = arduino
monitor_speed = 115200
lib_deps =
FastLED
Bounce2
; Encoder
https://github.com/PaulStoffregen/Encoder.git
SPI
NRFLite
[env:teensy]
platform = teensy
board = teensylc
framework = arduino
monitor_speed = 115200
lib_deps =
FastLED
Bounce2
; Encoder
https://github.com/PaulStoffregen/Encoder.git
SPI
NRFLite
build_flags =
-D PIOENV=$PIOENV
-D PIOENV_TEENSY=PIOENV_TEENSY
; -DPIOENV="$PIOENV"