-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
54 lines (54 loc) · 1.54 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
; 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:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
test_build_src = yes
test_framework = unity
monitor_speed = 115200
board_build.partitions = partitions.csv
lib_deps =
https://github.com/arduino-libraries/NTPClient.git
https://github.com/nkolban/ESP32_BLE_Arduino.git
https://github.com/adafruit/Adafruit_NeoPixel.git
https://github.com/Bodmer/TFT_eSPI.git
https://github.com/lorol/LITTLEFS.git
https://github.com/bodmer/JPEGDecoder.git
https://github.com/PaulStoffregen/DS1307RTC.git
https://github.com/paulstoffregen/Time.git
https://github.com/bblanchon/ArduinoJson.git
; https://github.com/pfalcon/uzlib.git#v1.1
build_unflags = -Werror=reorder
build_flags =
-Os
;-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-DUSER_SETUP_LOADED=1
; Define the TFT driver
-DST7789_DRIVER=1
-DTFT_WIDTH=135
-DTFT_HEIGHT=240
-DCGRAM_OFFSET=1
-DTFT_SDA_READ=1
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_DC=25
-DTFT_RST=26
-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=40000000
; Debug the clock
;-D DEBUG=1