-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
66 lines (57 loc) · 1.63 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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[platformio]
env_default = uno
build_dir = build/
src_dir = ./
[global]
lib_arduino_common =
Adafruit GFX Library
https://github.com/VioletGiraffe/cpp-template-utils
https://github.com/VioletGiraffe/MicroWidgets
build_flags =
-D SSD_1351_128x128_DISPLAY
[env:uno]
platform = atmelavr
framework = arduino
board = uno
monitor_speed = 115200
build_unflags = -std=gnu++11
build_flags =
${global.build_flags}
-std=c++14
lib_deps =
${global.lib_arduino_common}
https://github.com/adafruit/Adafruit-ST7735-Library
https://github.com/VioletGiraffe/StandardCplusplus
https://github.com/prenticedavid/MCUFRIEND_kbv#v2.9.7
[env:due]
platform = atmelsam
framework = arduino
board = due
monitor_speed = 115200
build_flags =
${global.build_flags}
-std=gnu++1y
lib_deps =
${global.lib_arduino_common}
https://github.com/prenticedavid/MCUFRIEND_kbv#v2.9.7
[env:esp32]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
build_unflags = -std=gnu++11
build_flags =
${global.build_flags}
-std=gnu++14 ; ESP32 framework uses GCC extensions like 'typeof'
board_build.f_cpu = 160000000L ; set frequency to 160MHz
lib_deps =
${global.lib_arduino_common}
https://github.com/adafruit/Adafruit-ST7735-Library