-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
60 lines (55 loc) · 1.82 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
; 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]
; if debugging, select the environment here.
default_envs = pico_earlephilhower_picoprobe_debugging
[env]
monitor_speed = 115200
[env:pico_earlephilhower]
; switch to forked platform with new extensions :)
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
; select new core
board_build.core = earlephilhower
; configure filesystem size. Default 0 Mbyte.
board_build.filesystem_size = 1M
lib_ldf_mode = chain+
[env:pico_earlephilhower_picoprobe_debugging]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 1M
; if uplaod via bootloader reset does not work, upload to the virtual USB drive
; by uncommenting this and adapting the drive.
;upload_port = E:
;upload_protocol = picotool
;upload_protocol = cmsis-dap
; comment the next 2 lines to upload "normally" via the serial / USB disk.
debug_tool = cmsis-dap
upload_protocol = cmsis-dap
; switch to thread 1
debug_extra_cmds = thread 1
; break in setup()
;debug_init_break =
;tbreak setup
build_flags = -DNO_USB
build_type = debug
lib_ldf_mode = chain+
debug_build_flags = -Os -ggdb3
; previous mbed-os core
[env:pico_arduinocore_mbed]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
; comment the next 2 lines to upload "normally" via the serial / USB disk.
upload_protocol = cmsis-dap
debug_tool = cmsis-dap