mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
- Rename `assets` and `config` partitions to `system` and `data` - Change partition type from `spiffs` to `fat`, so we can have sub-directories - Fix crash when doing WiFi scan: Increased system event task size to 3kB. - Free up IRAM on ESP32 (it was required for the Core2, but I also freed up the same amount for Yellow Board) - Introduced `Paths` objects that can be retrieved by `AppContext` and `ServiceContext`. Apps and services now have their own relative paths. Assets were re-arranged into the correct paths. - Rename simulator window title to "Tactility" - Refactored statusbar widget so it persists icon paths properly (it kept a const char* reference, but didn't copy it, so it crashed when the related std::string was destroyed) - Created `Partitions.h` to expose some useful variables - Moved USB config in various `sdkconfig` (it was part of the "default" section, but it shouldn't be) - Updated domain name
51 lines
1.4 KiB
Plaintext
51 lines
1.4 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=4096
|
|
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_ELF_LOADER_CUSTOMER_SYMBOLS=y
|
|
CONFIG_FATFS_LFN_HEAP=y
|
|
CONFIG_FATFS_VOLUME_COUNT=3
|
|
|
|
# Hardware: Main
|
|
CONFIG_TT_BOARD_LILYGO_TDECK=y
|
|
CONFIG_IDF_TARGET="esp32s3"
|
|
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
CONFIG_FLASHMODE_QIO=y
|
|
# Hardware: SPI RAM
|
|
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
|
|
CONFIG_SPIRAM_MODE_OCT=y
|
|
CONFIG_SPIRAM_SPEED_80M=y
|
|
CONFIG_SPIRAM_USE_MALLOC=y
|
|
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
|
|
# LVGL
|
|
CONFIG_LV_DISP_DEF_REFR_PERIOD=17
|
|
CONFIG_LV_INDEV_DEF_READ_PERIOD=17
|
|
CONFIG_LV_DPI_DEF=139
|
|
# USB
|
|
CONFIG_TINYUSB_MSC_ENABLED=y
|
|
CONFIG_TINYUSB_MSC_MOUNT_PATH="/sdcard"
|