mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
86 lines
2.5 KiB
INI
86 lines
2.5 KiB
INI
; Seeed Studio SenseCAP Indicator
|
|
[env:seeed-sensecap-indicator]
|
|
extends = esp32s3_base
|
|
platform_packages =
|
|
platformio/framework-arduinoespressif32 @ https://github.com/mverch67/arduino-esp32.git#aef7fef6de3329ed6f75512d46d63bba12b09bb5 ; add_tca9535 (based on 2.0.16)
|
|
|
|
board = seeed-sensecap-indicator
|
|
board_check = true
|
|
board_level = extra
|
|
upload_protocol = esptool
|
|
|
|
build_flags = ${esp32_base.build_flags}
|
|
-Ivariants/seeed-sensecap-indicator
|
|
-DSENSECAP_INDICATOR
|
|
-DCONFIG_ARDUHAL_LOG_COLORS
|
|
-DRADIOLIB_DEBUG_SPI=0
|
|
-DRADIOLIB_DEBUG_PROTOCOL=0
|
|
-DRADIOLIB_DEBUG_BASIC=0
|
|
-DRADIOLIB_VERBOSE_ASSERT=0
|
|
-DRADIOLIB_SPI_PARANOID=0
|
|
-DIO_EXPANDER=0x40
|
|
-DIO_EXPANDER_IRQ=42
|
|
;-DIO_EXPANDER_DEBUG
|
|
-DUSE_ARDUINO_HAL_GPIO
|
|
|
|
lib_deps = ${esp32s3_base.lib_deps}
|
|
https://github.com/mverch67/LovyanGFX#develop
|
|
earlephilhower/ESP8266Audio@^1.9.9
|
|
earlephilhower/ESP8266SAM@^1.0.1
|
|
|
|
|
|
[env:seeed-sensecap-indicator-tft]
|
|
extends = env:seeed-sensecap-indicator
|
|
board_level = main
|
|
board_build.partitions = default_8MB.csv ; must be here for some reason, board.json is not enough !?
|
|
|
|
build_flags =
|
|
${env:seeed-sensecap-indicator.build_flags}
|
|
-D MESHTASTIC_EXCLUDE_CANNEDMESSAGES=1
|
|
-D MESHTASTIC_EXCLUDE_INPUTBROKER=1
|
|
-D MESHTASTIC_EXCLUDE_BLUETOOTH=1
|
|
-D MESHTASTIC_EXCLUDE_SCREEN=1
|
|
-D MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR=1
|
|
-D MESHTASTIC_EXCLUDE_WEBSERVER=1
|
|
-D MESHTASTIC_EXCLUDE_SERIAL=1
|
|
-D MESHTASTIC_EXCLUDE_SOCKETAPI=1
|
|
-D INPUTDRIVER_BUTTON_TYPE=38
|
|
-D HAS_TELEMETRY=0
|
|
-D CONFIG_DISABLE_HAL_LOCKS=1
|
|
-D MAX_NUM_NODES=250
|
|
-D HAS_SCREEN=0
|
|
-D HAS_TFT=1
|
|
-D DISPLAY_SET_RESOLUTION
|
|
-D USE_I2S_BUZZER
|
|
-D RAM_SIZE=1024
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
|
-D LV_USE_SYSMON=0
|
|
-D LV_USE_PROFILER=0
|
|
-D LV_USE_PERF_MONITOR=0
|
|
-D LV_USE_MEM_MONITOR=0
|
|
-D LV_USE_LOG=0
|
|
-D USE_LOG_DEBUG
|
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
|
; -D CUSTOM_TOUCH_DRIVER
|
|
; -D CALIBRATE_TOUCH=0
|
|
-D LGFX_DRIVER=LGFX_INDICATOR
|
|
-D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_INDICATOR.h\"
|
|
-D VIEW_320x240
|
|
; -D USE_DOUBLE_BUFFER
|
|
-D USE_PACKET_API
|
|
-I lib/device-ui/generated/ui_320x240
|
|
|
|
build_src_filter =
|
|
${env:seeed-sensecap-indicator.build_src_filter}
|
|
+<../lib/device-ui/generated/ui_320x240>
|
|
+<../lib/device-ui/resources>
|
|
+<../lib/device-ui/locale>
|
|
+<../lib/device-ui/source>
|
|
|
|
lib_deps =
|
|
${env:seeed-sensecap-indicator.lib_deps}
|
|
https://github.com/bitbank2/bb_captouch.git#8f2f06462ff597847921739376a299db93612417 ; alternative touch library supporting FT6x36
|
|
|