mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-19 09:16:41 +00:00
Add Lanbon L8 environment
This commit is contained in:
parent
d0470ff3ca
commit
5072d1f1c3
48
user_setups/esp32/lanbon_l8.ini
Normal file
48
user_setups/esp32/lanbon_l8.ini
Normal file
@ -0,0 +1,48 @@
|
||||
;***************************************************;
|
||||
; Lanbon L8 Switch with ILI9341 TFT 2.4" ;
|
||||
; - Custom ESP32 pcb ;
|
||||
; - ili9341 TFT ;
|
||||
; - ? touch controller ;
|
||||
;***************************************************;
|
||||
|
||||
[env:lanbon_l8]
|
||||
platform = espressif32
|
||||
platform_packages = framework-arduinoespressif32
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
;upload_port = COM5 ; To change the port, use platform_override.ini
|
||||
;monitor_port = COM5 ; To change the port, use platform_override.ini
|
||||
monitor_filters = esp32_exception_decoder
|
||||
board_build.partitions = user_setups/esp32_partition_app1300k_spiffs1216k.csv
|
||||
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${esp32.build_flags}
|
||||
|
||||
;region -- TFT_eSPI build options ------------------------
|
||||
${lcd.lolin24}
|
||||
-D TFT_MISO=25
|
||||
-D TFT_MOSI=23
|
||||
-D TFT_CLK=19
|
||||
-D TFT_CS=22
|
||||
-D TFT_DC=21
|
||||
-D TFT_RST=18
|
||||
-D TFT_BCKL=5
|
||||
;CONFIG_LVGL_TOUCH_SCL_GPIO=0
|
||||
;CONFIG_LVGL_TOUCH_SDA_GPIO=4
|
||||
;-D TOUCH_CS=22
|
||||
;endregion
|
||||
|
||||
;region -- Library options -------------------------------
|
||||
lib_deps =
|
||||
${env.lib_deps}
|
||||
${esp32.lib_deps}
|
||||
|
||||
lib_ignore =
|
||||
${env.lib_ignore}
|
||||
${esp32.lib_ignore}
|
||||
;endregion
|
||||
|
||||
extra_scripts =
|
||||
${env.extra_scripts}
|
||||
${esp32.extra_scripts}
|
Loading…
x
Reference in New Issue
Block a user