forked from EFeru/hoverboard-sideboard-hack-STM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
73 lines (59 loc) · 1.69 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
; PlatformIO Project Configuration File2
; http://docs.platformio.org/page/projectconf.html
[platformio]
include_dir = Inc
src_dir = Src
;=================== VARIANT SELECTION ==========================
;default_envs = VARIANT_DEBUG ; DEBUG Variant
;default_envs = VARIANT_HOVERCAR ; HOVERCAR Variant
;default_envs = VARIANT_HOVERBOARD ; HOVERBOARD Variant
;================================================================
;================================================================
[env:VARIANT_DEBUG]
platform = ststm32
framework = stm32cube
board = genericSTM32F103C8
debug_tool = stlink
upload_protocol = stlink
; Serial Port settings (make sure the COM port is correct)
monitor_port = COM5
monitor_speed = 115200
build_flags =
-DUSE_HAL_DRIVER
-DSTM32F103xB
-T./STM32F103C8Tx_FLASH.ld
-lc
-lm
-g -ggdb
-D VARIANT_DEBUG
;================================================================
[env:VARIANT_HOVERCAR]
platform = ststm32
framework = stm32cube
board = genericSTM32F103C8
debug_tool = stlink
upload_protocol = stlink
build_flags =
-DUSE_HAL_DRIVER
-DSTM32F103xB
-T./STM32F103C8Tx_FLASH.ld
-lc
-lm
-g -ggdb
-D VARIANT_HOVERCAR
;================================================================
[env:VARIANT_HOVERBOARD]
platform = ststm32
framework = stm32cube
board = genericSTM32F103C8
debug_tool = stlink
upload_protocol = stlink
build_flags =
-DUSE_HAL_DRIVER
-DSTM32F103xB
-T./STM32F103C8Tx_FLASH.ld
-lc
-lm
-g -ggdb
-D VARIANT_HOVERBOARD
;================================================================