-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
57 lines (52 loc) · 1.46 KB
/
platformio.ini
File metadata and controls
57 lines (52 loc) · 1.46 KB
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
; 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 = uno
;default_envs = usbasp
[env]
framework = arduino
platform = atmelavr
lib_ignore =
; Might need to be removed if default SD Library is going to be used
SD
FastLED
lib_deps =
TimerFreeTone=https://bitbucket.org/teckel12/arduino-timer-free-tone/downloads/TimerFreeTone_v1.5.zip
adafruit/Adafruit GFX Library
adafruit/Adafruit BusIO
adafruit/Adafruit ST7735 and ST7789 Library
build_unflags =
-g
build_flags =
-Wall
-Os
-I src/include
; Do not clear stack after each function call, instead accumulate and clear at the end -> might be faster + less bytes
-maccumulate-args
; merge duplicate constants to save ram/flash
-fmerge-constants
; Replace CALL and JMP by RCALL and RJMP where possible which is faster + less bytes
-Wl,--relax
-mrelax
[env:nanoatmega328new]
board = nanoatmega328new
monitor_speed = 9600
debug_tool = simavr
[env:uno]
board = uno
monitor_speed = 9600
debug_tool = simavr
[env:usbasp]
board = uno
upload_protocol = usbasp-clone
;upload_protocol = usbasp
upload_flags =
-Pusb
debug_tool = simavr