-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
49 lines (40 loc) · 1.13 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
; 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]
monitor_speed = 420000
[release]
build_flags =
-DUSE_TINYUSB
[debug]
build_flags =
-DUSE_TINYUSB
-DDEBUG
[xaio-samd21]
platform = [email protected]
platform_packages = platformio/[email protected]
board = seeed_xiao
framework = arduino
lib_deps = adafruit/Adafruit TinyUSB Library@^0.10.5
lib_archive = no
[xaio-rp2040]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
framework = arduino
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
board = seeed_xiao_rp2040
lib_deps = adafruit/Adafruit TinyUSB Library@^1.14.3
[env:XAIO_SAMD21]
extends = xaio-samd21, release
[env:XAIO_SAMD21_Debug]
extends = xaio-samd21, debug
[env:XAIO_RP2040]
extends=xaio-rp2040, release
[env:XAIO_RP2040_Debug]
extends=xaio-rp2040, debug