-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
81 lines (72 loc) · 2.01 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
[platformio]
src_dir = examples/SPI/HomeToStall
;src_dir = examples/SPI/HomeToSwitch
;src_dir = examples/SPI/ReadChopconf
;src_dir = examples/SPI/ReadDefaults
;src_dir = examples/SPI/ReadEncoder
;src_dir = examples/SPI/ReadGconf
;src_dir = examples/SPI/TestCommunication
;src_dir = examples/SPI/TestPosition
;src_dir = examples/SPI/TestPrismCommunication
;src_dir = examples/SPI/TestPrismHomeToStall
;src_dir = examples/SPI/TestPrismVelocity
;src_dir = examples/SPI/TestStandstill
;src_dir = examples/SPI/TestStepperInterfaceBoard
;src_dir = examples/SPI/TestSwitches
;src_dir = examples/SPI/TestVelocity
;src_dir = examples/SPI/TestZeroWaitDuration
;src_dir = examples/UART/ReadRegister
;src_dir = examples/UART/TestCommunication
;src_dir = examples/UART/TestMultipleMotors
;src_dir = examples/UART/TestPosition
;src_dir = examples/UART/TestStandstill
;src_dir = examples/UART/TestVelocity
lib_dir = src
default_envs = pico
[common_env_data]
build_flags =
-Isrc
lib_deps_builtin =
SPI
# lib_deps_external =
lib_deps_local =
src/TMC51X0
[env]
lib_ldf_mode = off
build_flags =
${common_env_data.build_flags}
monitor_echo = yes
monitor_eol = LF
monitor_filters =
send_on_enter
colorize
monitor_speed = 115200
lib_deps =
${common_env_data.lib_deps_builtin}
# ${common_env_data.lib_deps_external}
${common_env_data.lib_deps_local}
[env:teensy40]
framework = arduino
platform = teensy
board = teensy40
upload_protocol = teensy-cli
[env:pico]
platform = https://github.com/janelia-arduino/platform-raspberrypi.git
board = rpipico
framework = arduino
board_build.core = earlephilhower
upload_protocol = picotool
[env:feather]
platform = https://github.com/janelia-arduino/platform-raspberrypi.git
board = adafruit_feather
framework = arduino
board_build.core = earlephilhower
upload_protocol = picotool
[env:esp32]
platform = espressif32
board = esp32dev
framework = arduino
upload_protocol = esptool
; pio run -e teensy40 --target upload --upload-port /dev/ttyACM0
; pio run -e teensy40 -t envdump
; pio device monitor