e9c396df66
- Single verse fullscreen, auto-advances every minute, tap toggles chrome
- Offline WEB bible split per-book: books.json + 66 bin/idx pairs (~4.1MB)
- bin = NUL-terminated UTF-8 concatenation, idx = {offset,cnum,vnum}
- RAM tiny: loads one book at a time, biggest Psalms ~215KB vs 3.8MB monolith
- Adaptive text scaling by length: <40 ultra-large (Jesus wept), <100 large,
100-200 default, 200-350 small, 350+ compact (Esther 8:9 492c)
- Persistence via user_data_path: progress.txt + favorites.txt (like BookPlayer)
- LVGL fixes: use lvgl_get_text_font(FONT_SIZE_*) - direct montserrat not exported,
no gradients (bg_grad_color not exported), LV_OPA_95 -> OPA_COVER, format-truncation werror silenced
- Deploys to 192.168.68.112 via PUT /api/apps/install (dashboard port 80, dev 6666 closed)
Tested: build esp32s3 local-sdk 0 missing symbols, 4.2MB .app, screenshot Gen 2:10
Refs: tools/convert_bible.py regenerates assets from WEB source
17 lines
514 B
CMake
17 lines
514 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
if (DEFINED ENV{TACTILITY_SDK_PATH})
|
|
set(TACTILITY_SDK_PATH $ENV{TACTILITY_SDK_PATH})
|
|
else()
|
|
set(TACTILITY_SDK_PATH "../../release/TactilitySDK")
|
|
message(WARNING "TACTILITY_SDK_PATH environment variable is not set, defaulting to ${TACTILITY_SDK_PATH}")
|
|
endif()
|
|
|
|
include("${TACTILITY_SDK_PATH}/TactilitySDK.cmake")
|
|
set(EXTRA_COMPONENT_DIRS ${TACTILITY_SDK_PATH})
|
|
|
|
project(BibleVerse)
|
|
tactility_project(BibleVerse)
|