-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
32 lines (27 loc) · 916 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
; 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]
; core_dir = D:\papps\platforms\.platformio
[env:sipeed-longan-nano]
platform = gd32v-swk
board = sipeed-longan-nano
framework = gd32vf103-sdk
; framework = arduino
;upload_protocol = dfu
monitor_speed = 115200 ; Serial monitor baudrate
; upload_protocol = dfu ; Download tool Default serial port, optional jlink, gd-link, dfu, sipeed-rv-debugger, etc.
upload_protocol = sipeed-rv-debugger
debug_tool = sipeed-rv-debugger
extra_scripts =
pre:build.py
build_flags =
-DUSE_USB_FS
-Wno-unknown-pragmas
; -E0