-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
83 lines (76 loc) · 2.05 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
; 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]
platform = ststm32
board = nucleo_l432kc
framework = arduino
monitor_speed = 115200
debug_speed = 500
lib_deps =
https://github.com/Club-INTech/I2C-Callables.git
https://github.com/Club-INTech/Carte-Hammers
arduino-libraries/Stepper @ ^1.1.3
[env:main]
board_build.f_cpu = 72000000L
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D MAIN
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
lib_deps =
mathertel/RotaryEncoder@^1.5.0
arduino-libraries/Stepper@^1.1.3
jfturcot/[email protected]+sha.b30890b8f7
[env:main_debug_ticks]
extends = env:main
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D MAIN
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
-D SERIAL_DEBUG_TICKS
lib_deps = jfturcot/[email protected]+sha.b30890b8f7
[env:main_debug_position]
extends = env:main
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D MAIN
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
-D SERIAL_DEBUG_POSITION
lib_deps = jfturcot/[email protected]+sha.b30890b8f7
[env:main_debug_speed]
extends = env:main
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D MAIN
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
-D SERIAL_DEBUG_SPEED
lib_deps = jfturcot/[email protected]+sha.b30890b8f7
[env:slave]
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D SLAVE
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
lib_deps =
mathertel/RotaryEncoder@^1.5.0
arduino-libraries/Stepper@^1.1.3
jfturcot/[email protected]+sha.b30890b8f7
[env:slave_debug_position]
extends = env:slave
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D SLAVE
-D I2CC_MASTER
-D TIMER_SERIAL=TIM6
-D SERIAL_DEBUG_POSITION
lib_deps = jfturcot/[email protected]+sha.b30890b8f7