-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
74 lines (64 loc) · 1.66 KB
/
platformio.ini
File metadata and controls
74 lines (64 loc) · 1.66 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; 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]
upload_speed = 115200
monitor_port = /dev/ttyUSB?
monitor_speed = 38400
monitor_filters = direct
build_flags =
-D VERSION=0.1.1
lib_deps =
; symlink:///home/jmnc2/doc/src/Arduino/libraries/defs
; symlink:///home/jmnc2/doc/src/Arduino/libraries/circular_buf
; symlink:///home/jmnc2/doc/src/Arduino/libraries/gpioSwitchInput
;/home/jmnc2/doc/src/Arduino/libraries/Adafruit_SH110X
; After here needed for test to work
Wire
spi
; [env:native]
; platform = native
; build_flags =
; -D noMcu_buildflag
[nanoatmega328new]
platform = atmelavr
build_flags =
${env.build_flags}
-D gpioDebugSetup
board = nanoatmega328new
framework = arduino
[sparkfun_promicro16]
platform = atmelavr
board = sparkfun_promicro16
framework = arduino
build_flags =
${env.build_flags}
-D gpioDebugSetup
[env:send]
extends = sparkfun_promicro16
build_flags =
${sparkfun_promicro16.build_flags}
-D send_buildflag
upload_speed = 38400
upload_port = /dev/ttyACM?
monitor_port = /dev/ttyACM?
;lib_deps = adafruit/Adafruit GFX Library@^1.11.9
[env:receive]
extends = nanoatmega328new
build_flags =
${nanoatmega328new.build_flags}
-D receive_buildflag
-D OLED_I2C
-D hn_debug
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
lib_deps =
adafruit/Adafruit GFX Library
adafruit/Adafruit BusIO
Adafruit SH110X