-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
62 lines (61 loc) · 1.5 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
61
62
; 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:genericSTM32F103CB]
platform = ststm32
board = bluepill_f103c8_128k
framework = arduino
upload_protocol = dfu
board_build.core = maple
lib_extra_dirs =
../lib
lib_ldf_mode = chain+
monitor_port = COM12
upload_port = COM12
monitor_speed = 64000000
build_unflags =
-std=gnu++11
-Wstrict-aliasing
build_flags =
-std=gnu++17
-funroll-loops
-DENABLE_I2Sk
; -DENABLE_SD
-DENABLE_SERIAL
; -DTEST_TRIGGER
; -DLOG_UNRECOGNIZED_EVENTS
; -DLOG_EVENT_TIMES
; -DMORE_ANALOG_CONTROLS
; -DLAMB_FIXED_CHECK_PADDING
; -DLAMB_FIXED_CHECK_OVERFLOWS
; -DLOG_TRIGGERS
-DENABLE_TFT
-DLOG_DRAW_RATES
-DLOG_BUTTONS
-O0
-Wfatal-errors
-Wno-deprecated-declarations
-Wno-strict-aliasing
-Wno-unused-variable
-Wno-unused-value
-Wno-char-subscripts
-Wno-misleading-indentation
-Wno-sign-compare
-ggdb
-Wno-switch
-Wno-write-strings
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
-D USBD_VID=0x0483
-D USBD_PID=0x0483
-D USB_MANUFACTURER="Unknown"
-D USB_PRODUCT="\"BLUEPILL_F103\""
lib_deps =
adafruit/Adafruit MCP23017 Arduino Library@^1.2.0
https://github.com/kiki-lamb/SD.git#spi-2