-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
59 lines (55 loc) · 1.42 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
; 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 = debug
description = Univerval Mega Dumper V3
[env]
platform = ststm32
board = black_f407ve
framework = arduino
lib_deps =
https://github.com/db-electronics/ArduinoSerialCommand.git
https://github.com/stm32duino/FatFs.git
https://github.com/stm32duino/STM32SD.git
https://github.com/adafruit/Adafruit_BusIO.git
https://github.com/adafruit/Adafruit_SSD1306.git
https://github.com/adafruit/Adafruit-GFX-Library.git
[env:release]
upload_protocol = dfu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CRC
-D USBCON
-D USBD_VID=0x0483
-D USBD_PID=0x0100
-D USB_MANUFACTURER="db himself"
-D USB_PRODUCT="UMDV3"
-std=c++17
build_unflags =
-std=gnu++11
[env:debug]
build_type = debug
debug_tool = stlink
upload_protocol = stlink
debug_init_break = tbreak loop
build_flags =
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CRC
-D USBCON
-D USBD_VID=0x0483
-D USBD_PID=0x0100
-D USB_MANUFACTURER="db himself"
-D USB_PRODUCT="UMDV3"
-ggdb3
-g3
-O0
-std=c++17
build_unflags =
-std=gnu++11