Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

Β 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Β 
Β 
Β 
Β 
Β 
Β 

README.md

ESP32 T-Display TOTP β€” Documentation

Structure

security/

  • SECURITY_OVERVIEW.md β€” Public-facing security summary. Cryptographic standards, known limitations, threat model overview.
  • security-model.md β€” Developer/auditor reference. Full 8-layer architecture, key hierarchy, threat model tables, new endpoint checklist.
  • pbkdf2-security.md β€” PBKDF2 parameters, iteration counts, hardware constraints, compatibility notes for decrypt_export.html.

development/

  • ENDPOINTS.md β€” Complete API reference. All endpoints with auth requirements, request/response formats, security notation.
  • system_design.md β€” Internal architecture. Boot sequence, PIN design, shutdown/deep sleep, data persistence table, error handling.
  • LOGGING_SYSTEM.md β€” Log levels, LOG_* macros, Serial output format, filtering.
  • url-obfuscation.md β€” URL obfuscation layer internals, epoch rotation, endpoint registration checklist.
  • multi-board.md β€” Multi-board development rules. Three types of platform differences, scaling checklist, golden rule.
  • PORTING.md β€” Hardware porting guide. Step-by-step instructions for adapting SecureGen firmware to new ESP32/S3 boards. Covers hardware requirements, board header creation, platformio.ini configuration, capability flags (USB HID, PSRAM), deep sleep wake pins, display geometry, security checklist, and common mistakes to avoid.
  • abandoned-ideas.md β€” Rejected features and architectural decisions. Documents approaches that were considered but abandoned, with reasoning and alternatives.

development/boards/

Hardware reference for supported targets. Each file covers: MCU, display, pinout, USB/flashing specifics, known quirks.

  • t-display.md β€” LilyGo T-Display ESP32 (1.14", Classic ESP32, SPI display, CH340 USB).
  • t-display-s3.md β€” LilyGo T-Display-S3 (1.9", ESP32-S3, 8-bit parallel display, native USB, USB HID capable).

user/

  • GUIDE.html β€” Device operation manual.
  • GUIDE.ru.html β€” Device operation manual (Russian).
  • MODES.md β€” Network and display modes, feature matrix, mode selection at startup.
  • decrypt-export-guide.md β€” Offline export decryption tool guide.
  • rtc_mastering.md β€” DS3231 RTC module connection guide. Wiring diagrams, pin assignments (ESP32/S3), enabling RTC in firmware, troubleshooting.

Supported Boards

Build target Board USB HID PSRAM Display
lilygo-t-display T-Display ESP32 ❌ ❌ 1.14" SPI
lilygo-t-display-s3 T-Display-S3 βœ… 8 MB 1.9" Parallel

Board-specific constants β†’ include/boards/
Build flags β†’ platformio.ini
Feature guards β†’ #ifdef BOARD_HAS_USB_HID


Last updated: April 2026