-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
44 lines (41 loc) · 1.19 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
; 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 = genericSTM32F103C8
board_build.stm32cube.custom_config_header = yes
framework = stm32cube
lib_deps =
https://github.com/starfactorypixel/PixelConstantsLibrary
https://github.com/starfactorypixel/Library_CUtils
https://github.com/starfactorypixel/PixelCANLibrary
https://github.com/starfactorypixel/Library_PixelLed
https://github.com/starfactorypixel/PixelLoggerLibrary
https://github.com/starfactorypixel/Library_PixelEasyPins
https://github.com/starfactorypixel/Library_PixelSPI
https://github.com/starfactorypixel/Library_PixelAnalogMux
debug_tool = stlink
monitor_speed = 500000
monitor_port = COM10
[env:Debug]
build_type = debug
build_unflags =
-fno-rtti
build_flags =
-DDEBUG
-Og
-Wl,--undefined,_printf_float
[env:Release]
build_type = release
build_unflags =
-fno-rtti
-Os
build_flags =
-O2