-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
62 lines (59 loc) · 1.77 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
; 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
; [env:ATmega328P]
; platform = atmelavr
; framework = arduino
; board = ATmega328P
; ;board = uno
; ;board = nanoatmega168
; ; Скорость загрузки в baud
; upload_speed = 115200
; ; COM-порт для загрузки
; upload_port = COM25
; ; Библиотеки
; platform_packages =
; ; Свежий компилятор нужен для сборки библиотеки fastled
; ; use GCC AVR 7.3.0+
; toolchain-atmelavr@>=1.70300.0
; lib_deps =
; fastled/FastLED@^3.3.3
; ; https://github.com/AlexGyver/GyverLibs/tree/master/GyverButton
; ;lib_extra_dirs =
[env:Orduino]
platform = atmelavr
framework = arduino
board = nanoatmega168
; Скорость загрузки в baud
upload_speed = 19200
monitor_speed = 19200
; COM-порт для загрузки
upload_port = COM14
; Библиотеки
platform_packages =
toolchain-atmelavr@>=1.70300.0
lib_deps =
fastled/FastLED@^3.3.3
[env:Optiboot_168]
platform = atmelavr
; or ATMega168 or ATMega168P depending on the chip
board = ATmega168
framework = arduino
upload_port = COM3
upload_speed = 115200
monitor_speed = 115200
; tell it we have a UART bootloader
; https://docs.platformio.org/en/latest/platforms/atmelavr.html#minicore-megacore-mightycore-majorcore-and-microcore
board_hardware.uart = uart0
board_upload.maximum_size = 15872
; Библиотеки
platform_packages =
toolchain-atmelavr@>=1.70300.0
lib_deps =
fastled/FastLED@^3.3.3