-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
64 lines (58 loc) · 1.31 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
63
64
; 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]
src_dir = src
[env]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = waveshare_rp2040_lcd_1_28
framework = arduino
board_build.core = earlephilhower
build_unflags =
build_flags =
-std=c++17
-D CORE_DEBUG_LEVEL=0
-D NO_GLOBAL_LITTLEFS=1
monitor_speed = 115200
lib_deps =
jrowberg/I2Cdevlib-Core@^1.0.1
lovyan03/LovyanGFX@^1.1.5
ArduinoJson
upload_protocol = picotool
printer_host = http://testpi.local
board_build.filesystem_size = 1.5m
extra_scripts = platformio.py
[debug]
lib_deps =
${env.lib_deps}
build_type = debug
debug_build_flags =
-O2
build_unflags =
${env.build_unflags}
build_flags =
${env.build_flags}
printer_host = ${env.printer_host}
[release]
lib_deps =
${env.lib_deps}
build_type = release
debug_build_flags =
-Og
-g2
-ggdb2
build_unflags =
${env.build_unflags}
build_flags =
${env.build_flags}
printer_host = ${env.printer_host}
[env:debug]
extends = debug
[env:release]
extends = release