-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
36 lines (32 loc) · 880 Bytes
/
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
; 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
[platformio]
default_envs = illuminator
src_dir = firmware/src
lib_dir = firmware/lib
include_dir = firmware/include
test_dir = firmware/test
[env:illuminator]
platform = ststm32
board = genericSTM32G431CB
framework = arduino
upload_protocol = dfu
debug_tool = stlink
build_flags =
-D USB_CON
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D ARDUINO_GENERIC_G431CBUX
-D STM32G4xx
-D HSE_VALUE=12000000
-D HAL_DAC_MODULE_ONLY
-D HAL_OPAMP_MODULE_ENABLED
lib_deps =
koendv/RTT Stream@^1.4.1
lib_archive = false