-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
34 lines (29 loc) · 904 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
; 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 = stm32cube
[env:stm32cube]
platform = ststm32
board = nucleo_g474re
framework = stm32cube
build_src_filter = +<main-${PIOENV}.c> +<stm32g4xx_it.c>
+<syscalls.c> +<../lib/*> #used to compile .c files in lib folder
build_flags =
-DUSE_HAL_DRIVER
-Wl,-u_printf_float
# Serial monitor baud rate
monitor_speed = 115200
[env:zephyr_rtos]
platform = ststm32
board = nucleo_g474re
framework = zephyr
build_src_filter = +<main-${PIOENV}.c>
# Serial monitor baud rate
monitor_speed = 115200