-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
43 lines (39 loc) · 1.25 KB
/
platformio.ini
File metadata and controls
43 lines (39 loc) · 1.25 KB
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
; 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
; Set the default environment(s) to build if none is specified
[platformio]
default_envs = Micro-Node-Bootloader
[env:Micro-Node-Bootloader]
platform = ststm32
board = BRMicroNode
framework = arduino
upload_protocol = stlink
debug_tool = stlink
monitor_speed = 115200
board_build.variants_dir = variants
debug_build_flags = -O0 -g
debug_init_break = tbreak none
board_build.ldscript = variants/BRMicroNode/ldscript.ld
build_flags = -Wno-error=deprecated-declarations
extra_scripts = upload_bootloader_app.py
[env:Micro-Node-No-Bootloader]
platform = ststm32
board = BRMicroNode
framework = arduino
upload_protocol = stlink
debug_tool = stlink
monitor_speed = 115200
board_build.variants_dir = variants
debug_build_flags = -O0 -g
debug_init_break = tbreak none
board_build.ldscript = variants/BRMicroNode/ldscript-no-bootloader.ld
build_flags =
-Wno-error=deprecated-declarations
-DDISABLE_APP_SETUP