mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- Add app path get() functions to `TactilityC` - Improved `Dispatcher` and `DispatcherThread` - Improved `PubSub` (type safety) - Created test for `DispatcherThread` and `PubSub` - Save properties files on app exit (various apps) by posting it to the main dispatcher (fixes UI hanging briefly on app exit) - Fixed bug with `SystemSettings` being read from the wrong file path. - `loadPropertiesFile()` now uses `file::readLines()` instead of doing that manually - Increased timer task stack size (required due to issues when reading a properties file for the very first time) - General cleanup - Created `EstimatedPower` driver that uses an ADC pin to measure voltage and estimate the battery charge that is left. - Cleanup of T-Deck board (updated to new style)
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
# Software defaults
|
|
# Increase stack size for WiFi (fixes crash after scan)
|
|
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=3072
|
|
CONFIG_LV_FONT_MONTSERRAT_14=y
|
|
CONFIG_LV_FONT_MONTSERRAT_18=y
|
|
CONFIG_LV_USE_USER_DATA=y
|
|
CONFIG_LV_USE_FS_STDIO=y
|
|
CONFIG_LV_FS_STDIO_LETTER=65
|
|
CONFIG_LV_FS_STDIO_PATH=""
|
|
CONFIG_LV_FS_STDIO_CACHE_SIZE=4096
|
|
CONFIG_LV_USE_LODEPNG=y
|
|
CONFIG_LV_USE_BUILTIN_MALLOC=n
|
|
CONFIG_LV_USE_CLIB_MALLOC=y
|
|
CONFIG_LV_USE_MSGBOX=n
|
|
CONFIG_LV_USE_SPINNER=n
|
|
CONFIG_LV_USE_WIN=n
|
|
CONFIG_LV_USE_SNAPSHOT=y
|
|
CONFIG_FREERTOS_HZ=1000
|
|
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=2
|
|
CONFIG_FREERTOS_SMP=n
|
|
CONFIG_FREERTOS_UNICORE=n
|
|
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=5120
|
|
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
|
CONFIG_FATFS_LFN_HEAP=y
|
|
CONFIG_FATFS_VOLUME_COUNT=3
|
|
CONFIG_FATFS_SECTOR_512=y
|
|
CONFIG_WL_SECTOR_SIZE_512=y
|
|
CONFIG_WL_SECTOR_SIZE=512
|
|
CONFIG_WL_SECTOR_MODE_SAFE=y
|
|
CONFIG_WL_SECTOR_MODE=1
|
|
|
|
# Hardware: Main
|
|
CONFIG_TT_BOARD_M5STACK_CORE2=y
|
|
CONFIG_TT_BOARD_NAME="M5Stack Core2"
|
|
CONFIG_TT_BOARD_ID="m5stack-core2"
|
|
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
|
CONFIG_IDF_TARGET="esp32"
|
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
|
CONFIG_FLASHMODE_QIO=y
|
|
# Hardware: SPI RAM
|
|
CONFIG_ESP32_SPIRAM_SUPPORT=y
|
|
CONFIG_SPIRAM=y
|
|
CONFIG_SPIRAM_MODE_QUAD=y
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
|
|
# LVGL
|
|
CONFIG_LV_DISP_DEF_REFR_PERIOD=10
|
|
CONFIG_LV_DPI_DEF=139
|
|
CONFIG_LV_THEME_DEFAULT_DARK=y
|
|
# Fix for IRAM
|
|
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
|
|
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y
|
|
CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH=y
|
|
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
|