-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
89 lines (74 loc) · 1.72 KB
/
platformio.ini
File metadata and controls
89 lines (74 loc) · 1.72 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
; 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]
lib_deps =
bodmer/TFT_eSPI@^2.4.79
bakercp/CRC32@^2.0.0
build_unflags =
-Wall -Wextra -Wpedantic -Wvla ; hide warnings from framework & libraries
-std=gnu++14 -std=gnu++17
build_flags =
-std=gnu++20
; TFT driver configuration
-DUSER_SETUP_LOADED=1
-DST7796_DRIVER=1
-DTFT_WIDTH=320
-DTFT_HEIGHT=480
-DTFT_MISO=4
-DTFT_MOSI=3
-DTFT_SCLK=2
-DTFT_CS=5
-DTFT_DC=7
-DTFT_RST=6
;-DTFT_BL=-1 (hardware)
-DTOUCH_CS=8
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=80000000
; -DSPI_READ_FREQUENCY=20000000
; -DSPI_TOUCH_FREQUENCY=2500000
build_src_flags =
-Wall -Wextra -Wpedantic
upload_protocol = picotool
extra_scripts =
scripts/convert_sysincludes.py ; hide warnings from framework & libraries
monitor_speed = 921600
monitor_filters =
default
time
log2file
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
debug_tool = cmsis-dap
debug_init_break = tbreak setup
; debug_test = embedded/interactive/ui/app/test_VoltageGraph
test_framework = unity
test_build_src = yes
test_filter =
common/*
embedded/*
test_ignore =
embedded/interactive/other/*
[env:native]
platform = native
test_framework = unity
test_build_src = no
test_filter =
common/*
native/*