mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
96 lines
3.0 KiB
INI
96 lines
3.0 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#add_tca9535 ; based on 2.0.16
|
|
|
|
board = seeed-sensecap-indicator
|
|
board_check = true
|
|
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.7
|
|
earlephilhower/ESP8266SAM@^1.0.1
|
|
|
|
|
|
[env:seeed-sensecap-indicator-tft]
|
|
extends = esp32s3_base
|
|
platform_packages =
|
|
; platformio/framework-arduinoespressif32 @ symlink:///home/manuel/Documents/PlatformIO/Projects/arduino-esp32
|
|
platformio/framework-arduinoespressif32 @ https://github.com/mverch67/arduino-esp32.git#add_tca9535 ; based on 2.0.16
|
|
board = seeed-sensecap-indicator
|
|
board_check = true
|
|
board_level = extra
|
|
board_build.partitions = default_8MB.csv ; must be here for some reason, board.json is not enough !?
|
|
upload_protocol = esptool
|
|
build_flags = ${esp32_base.build_flags}
|
|
-D SENSECAP_INDICATOR
|
|
-D HAS_TELEMETRY=0
|
|
-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 HAS_TELEMETRY=0
|
|
-D CONFIG_ARDUHAL_LOG_COLORS
|
|
-D CONFIG_DISABLE_HAL_LOCKS=1
|
|
-D RADIOLIB_DEBUG_SPI=0
|
|
-D RADIOLIB_DEBUG_PROTOCOL=0
|
|
-D RADIOLIB_DEBUG_BASIC=0
|
|
-D RADIOLIB_VERBOSE_ASSERT=0
|
|
-D RADIOLIB_SPI_PARANOID=0
|
|
-D IO_EXPANDER=0x40
|
|
-D IO_EXPANDER_IRQ=42
|
|
;-D IO_EXPANDER_DEBUG
|
|
-D USE_ARDUINO_HAL_GPIO
|
|
-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 VIEW_320x240
|
|
; -D USE_DOUBLE_BUFFER
|
|
-D USE_PACKET_API
|
|
-I lib/device-ui/generated/ui_320x240
|
|
-I variants/seeed-sensecap-indicator
|
|
build_src_filter = ${esp32_base.build_src_filter}
|
|
+<../lib/device-ui/generated/ui_320x240>
|
|
+<../lib/device-ui/resources>
|
|
+<../lib/device-ui/locale>
|
|
+<../lib/device-ui/source>
|
|
lib_deps = ${esp32s3_base.lib_deps}
|
|
https://github.com/mverch67/LovyanGFX#develop
|
|
; file:///home/manuel/Documents/PlatformIO/Projects/LovyanGFX
|
|
https://github.com/bitbank2/bb_captouch ; alternative touch library supporting FT6x36
|
|
earlephilhower/ESP8266Audio@^1.9.7
|
|
earlephilhower/ESP8266SAM@^1.0.1
|