forked from dpeddi/LCDJunoG
-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
82 lines (72 loc) · 1.61 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
; 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
;https://arduino-pico.readthedocs.io/en/latest/platformio.html
[env:pico]
board = pico
framework = arduino
;platform = raspberrypi
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board_build.core = earlephilhower
platform_packages = earlephilhower/tool-pioasm-rp2040-earlephilhower
; 133MHz
board_build.f_cpu = 133000000L
upload_port = COM9
monitor_port = COM9
monitor_speed = 115200
lib_deps =
SPI
bodmer/TFT_eSPI@^2.4.75
;build_flags =
; -Os
; -D USER_SETUP_LOADED=1
; -D ILI9488_DRIVER=1
; -D TFT_WIDTH=320
; -D TFT_HEIGHT=480
;mosi --> sdi
;miso <-- sdo
; -Wno-maybe-uninitialized
build_flags =
-Wno-ignored-qualifiers
-Wno-vla
-Os
-D USER_SETUP_LOADED=1
-D ILI9488_DRIVER=1
-D TFT_BL=17
-D TFT_BACKLIGHT_ON=HIGH
-D TFT_MISO=16
-D TFT_MOSI=19
-D TFT_SCLK=18
-D TFT_CS=22
-D TFT_DC=20
-D TFT_RST=21
-D SPI_FREQUENCY=63000000
-D LOAD_GLCD=1
-D LOAD_FONT2=1
-D LOAD_FONT4=1
-D LOAD_FONT6=1
-D LOAD_FONT7=1
-D LOAD_FONT8=1
-D LOAD_FONT8N=1
-D LOAD_GFXFF=1
-D SMOOTH_FONT=1
-D JUNO_D0=2
-D JUNO_D1=3
-D JUNO_D2=4
-D JUNO_D3=5
-D JUNO_D4=6
-D JUNO_D5=7
-D JUNO_D6=8
-D JUNO_D7=9
-D JUNO_WE=10
-D JUNO_RS=11
-D JUNO_CS1=12
-D JUNO_CS2=13
-D JUNO_RST=14
-D JUNO_BRGT=26