forked from pr3y/Bruce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
85 lines (82 loc) · 1.62 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
82
83
84
85
; 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 = m5stack-cardputer
description = Web Spider on ESP32
[common]
build_flags =
-Dwebug_VERSION='"0.3"'
-DMAXFILES=1024
-DEEPROMSIZE=64
-DLH=8
-DLW=6
lib_deps =
SD
SPI
Time
TFT_eSPI
AsyncTCP
ESPAsyncWebServer
[env:m5stack-cardputer]
platform = espressif32
platform_packages = [email protected]
board = m5stack-stamps3
framework = arduino
board_build.partitions = custom_8Mb.csv
build_flags =
${common.build_flags}
-DCORE_DEBUG_LEVEL=5
-DCARDPUTER=1
-DROTATION=1
-DHAS_BTN=1
-DBTN_ALIAS='"Ok"'
-DBTN_PIN=0
-DHAS_SCREEN=1
-DWIDTH=240
-DHEIGHT=135
-DBACKLIGHT=38
-DMINBRIGHT=50
-DMAX_MENU_SIZE=5
-DFP=1
-DFM=2
-DFG=3
-DBAT_PIN=10
-DRGB_LED=21
-DLED=44
-DLED_ON=HIGH
-DLED_OFF=LOW
-DUSER_SETUP_LOADED=1
-DUSE_HSPI_PORT=1
-DST7789_2_DRIVER=1
-DTFT_RGB_ORDER=1
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DTFT_BACKLIGHT_ON=1
-DTFT_BL=38
-DTFT_RST=33
-DTFT_DC=34
-DTFT_MOSI=35
-DTFT_SCLK=36
-DTFT_CS=37
-DTOUCH_CS=-1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=20000000
-DSPI_READ_FREQUENCY=20000000
-DSPI_TOUCH_FREQUENCY=2500000
-DSDCARD_SPI_BUS=FSPI
-DSDCARD_CS=12
-DSDCARD_SCK=40
-DSDCARD_MISO=39
-DSDCARD_MOSI=14
-DGROVE_SDA=2
-DGROVE_SCL=1
lib_deps =
${common.lib_deps}
xylopyrographer/LiteLED@^1.2.0