-
Notifications
You must be signed in to change notification settings - Fork 8
/
platformio.ini
92 lines (77 loc) · 1.79 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
83
84
85
86
87
88
89
90
91
92
; This PlatformIO onfiguration is for development on this library only,
; not for usage of this library in other projects.
[platformio]
src_dir = examples/16x16-matrix/color_gradient-16x16-cprg
default_envs = teensy40
lib_dir = .
[common]
lib_deps =
Adafruit GFX Library
Adafruit BusIO
SPI
Wire
[env:teensy40]
platform = teensy
board = teensy40
framework = arduino
lib_deps =
TimerThree
${common.lib_deps}
build_flags = -Wno-unknown-pragmas
[env:teensy31]
platform = teensy
board = teensy31
framework = arduino
lib_deps =
TimerThree
${common.lib_deps}
build_flags = -Wno-unknown-pragmas
[env:esp8266]
platform = espressif8266
board = nodemcuv2
framework = arduino
lib_deps =
${common.lib_deps}
[env:lolin32]
platform = espressif32
board = lolin32
framework = arduino
lib_deps =
${common.lib_deps}
[env:MightyCore]
platform = atmelavr
board = ATmega1284P
framework = arduino
lib_deps =
${common.lib_deps}
; Clock frequency in [Hz]
board_build.f_cpu = 20000000L
; HARDWARE SETTINGS
; Oscillator option
board_hardware.oscillator = external
; Hardware UART for serial upload
board_hardware.uart = uart0
; Brown-out detection
board_hardware.bod = 2.7v
; EEPROM retain
board_hardware.eesave = yes
; UPLOAD SETTINGS
board_upload.speed = 115200
; Upload serial port is automatically detected by default. Override by uncommenting the line below
;upload_port = /dev/cu.usbserial*
; BUILD OPTIONS
; Current pinout
board_build.variant = standard
; Comment out to enable LTO (this line unflags it)
build_unflags = -flto
; Extra build flags
build_flags = -Wno-unknown-pragmas
; Upload using programmer
;upload_protocol = usbasp
; Aditional upload flags
;upload_flags = -Pusb
; SERIAL MONITOR OPTIONS
; Monitor and upload port is the same by default
;monitor_port =
; Serial monitor baud rate
monitor_speed = 9600