-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatformio.ini
More file actions
35 lines (29 loc) · 843 Bytes
/
Copy pathplatformio.ini
File metadata and controls
35 lines (29 loc) · 843 Bytes
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
; 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:genericSTM32G431VB]
platform = ststm32
board = genericSTM32G431VB
framework = arduino
board_build.ldscript = ./variant/ldscript.ld
upload_protocol = dfu
lib_archive = false
monitor_speed = 115200
monitor_eol = LF
build_unflags = -Os
build_flags =
-Ofast
-DSIMPLEFOC_STM32_DEBUG
-DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-DUSBD_USE_CDC
-DUSBCON
-DHAL_CORDIC_MODULE_ENABLED
-DHAL_LPTIM_MODULE_ENABLED
lib_deps =
adafruit/Adafruit NeoPixel@^1.11.0