mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Update deprecated src_filter to build_src_filter
This commit is contained in:
parent
001d1779eb
commit
fcd9d60c08
@ -94,7 +94,7 @@ lib_deps =
|
|||||||
;https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
|
;https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
|
||||||
;https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip
|
;https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<examples/> -<test/> -<tests/> -<stm32f4/> -<lv_font_montserrat_*.c>
|
build_src_filter = +<*> -<.git/> -<examples/> -<test/> -<tests/> -<stm32f4/> -<lv_font_montserrat_*.c>
|
||||||
|
|
||||||
[lovyangfx]
|
[lovyangfx]
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
@ -77,7 +77,7 @@ lib_ignore =
|
|||||||
ArduinoLog
|
ArduinoLog
|
||||||
lv_lib_qrcode
|
lv_lib_qrcode
|
||||||
|
|
||||||
src_filter =
|
build_src_filter =
|
||||||
+<*>
|
+<*>
|
||||||
-<*.h>
|
-<*.h>
|
||||||
+<../hal/sdl2>
|
+<../hal/sdl2>
|
||||||
|
49
user_setups/esp32/m5stack_tough.ini
Normal file
49
user_setups/esp32/m5stack_tough.ini
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
;***************************************************;
|
||||||
|
; M5Stack Core2 with integrated touch display ;
|
||||||
|
; - Custom ESP32 pcb ;
|
||||||
|
; - ILI9342C TFT ;
|
||||||
|
; - FT6336U touch controller ;
|
||||||
|
;***************************************************;
|
||||||
|
|
||||||
|
[env:m5stack-tough]
|
||||||
|
extends = esp32_16mb_v2
|
||||||
|
board = esp32dev
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
${env.build_flags}
|
||||||
|
${esp32.build_flags}
|
||||||
|
${esp32.ps_ram}
|
||||||
|
|
||||||
|
;region -- TFT_eSPI build options ------------------------
|
||||||
|
${lcd.m5stack}
|
||||||
|
-D TFT_RST=-1 ; Managed by AXP_IO4
|
||||||
|
-D TFT_SCLK=18
|
||||||
|
-D TFT_DC=15
|
||||||
|
-D TFT_CS=5
|
||||||
|
-D TFT_MOSI=23
|
||||||
|
-D TFT_MISO=38
|
||||||
|
-D TFT_BCKL=-1 ; Managed by AXP_DC3 & AXP_LDO2
|
||||||
|
-D TOUCH_DRIVER=0x2046
|
||||||
|
-D TOUCH_CS=5
|
||||||
|
-D TOUCH_SDA=21
|
||||||
|
-D TOUCH_SCL=22
|
||||||
|
-D TOUCH_IRQ=39
|
||||||
|
-D TOUCH_RST=-1 ; Managed by AXP_IO4
|
||||||
|
-D I2C_TOUCH_FREQUENCY=400000
|
||||||
|
-D I2C_TOUCH_ADDRESS=0x2E
|
||||||
|
;endregion
|
||||||
|
|
||||||
|
;region -- Library options -------------------------------
|
||||||
|
lib_deps =
|
||||||
|
${env.lib_deps}
|
||||||
|
${esp32.lib_deps}
|
||||||
|
${arduino_esp32_v2.lib_deps}
|
||||||
|
${tft_espi.lib_deps}
|
||||||
|
${ft6336.lib_deps}
|
||||||
|
https://github.com/fvanroie/M5Core2.git#AXP192
|
||||||
|
|
||||||
|
lib_ignore =
|
||||||
|
${env.lib_ignore}
|
||||||
|
${esp32.lib_ignore}
|
||||||
|
${arduino_esp32_v2.lib_ignore}
|
||||||
|
;endregion
|
@ -70,7 +70,7 @@ lib_ignore =
|
|||||||
ArduinoLog
|
ArduinoLog
|
||||||
lv_lib_qrcode
|
lv_lib_qrcode
|
||||||
|
|
||||||
src_filter =
|
build_src_filter =
|
||||||
+<*>
|
+<*>
|
||||||
-<*.h>
|
-<*.h>
|
||||||
+<../hal/sdl2>
|
+<../hal/sdl2>
|
||||||
|
@ -88,5 +88,5 @@ lib_deps =
|
|||||||
lib_ignore =
|
lib_ignore =
|
||||||
lv_lib_zifont
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
;endregion
|
;endregion
|
@ -61,5 +61,5 @@ lib_ignore =
|
|||||||
XPT2046_Touchscreen
|
XPT2046_Touchscreen
|
||||||
lv_lib_zifont
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
;endregion
|
;endregion
|
@ -66,5 +66,5 @@ lib_deps =
|
|||||||
lib_ignore =
|
lib_ignore =
|
||||||
lv_lib_zifont
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
;endregion
|
;endregion
|
@ -76,5 +76,5 @@ lib_ignore =
|
|||||||
XPT2046_Touchscreen
|
XPT2046_Touchscreen
|
||||||
lv_lib_zifont
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/> +<espspi/>
|
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/> +<espspi/>
|
||||||
;endregion
|
;endregion
|
@ -82,5 +82,5 @@ lib_ignore =
|
|||||||
XPT2046_Touchscreen
|
XPT2046_Touchscreen
|
||||||
lv_lib_zifont
|
lv_lib_zifont
|
||||||
|
|
||||||
src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<lv_lib_zifont/> +<stm32f4/>
|
||||||
;endregion
|
;endregion
|
||||||
|
@ -101,7 +101,7 @@ lib_ignore =
|
|||||||
ArduinoLog
|
ArduinoLog
|
||||||
lv_lib_qrcode
|
lv_lib_qrcode
|
||||||
|
|
||||||
src_filter =
|
build_src_filter =
|
||||||
+<*>
|
+<*>
|
||||||
-<*.h>
|
-<*.h>
|
||||||
+<../hal/sdl2>
|
+<../hal/sdl2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user