Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- Fewer SD card writes: session state and reading stats are no longer rewritten when nothing changed, and the reading percentage shown on Home is saved once when you leave a book instead of every 10 pages.
- Far fewer SD card writes when saving your place: EPUB progress now alternates between two small slot files that are overwritten in place, so a save costs about 2 sector writes instead of roughly a dozen, and a save that would store the position already on the card (such as closing a book without turning a page) writes nothing. Your place is now saved every 30 page turns or 15 minutes of reading instead of every 10 pages or 5 minutes; leaving the book or putting the device to sleep still saves it immediately, so only a crash, reset or dead battery can lose more pages than before. A save interrupted by power loss falls back to the previous save. TXT and XTC progress and the Home reading percentage are also overwritten in place instead of being truncated and rewritten.
- Firmware is about 32 KB smaller: wolfSSL no longer builds its debug trace messages in. Builds with `-DFREEINK_WOLFSSL_DEBUG` still include them.
- The X4 Pro light-sleep firmware now uses the scalable TTF versions of Bitter and Lexend Deca, like the standard X4 Pro build, making it about 360 KB smaller.

### Fixed

Expand Down
14 changes: 14 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,9 @@ build_flags =

[env:x4-pro-light-sleep]
extends = firmware_tuned
lib_deps =
${base.lib_deps}
FreeInkFont=symlink://freeink-sdk/libs/font/FreeInkFont
custom_sdkconfig =
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
Expand All @@ -570,6 +573,10 @@ board = esp32-s3-devkitc1-n16r8
board_build.mcu = esp32s3
board_build.arduino.memory_type = dio_opi
build_flags =
-DCROSSINK_SCALABLE_FONTS=1
-DFREEINK_FONT_ENABLE_AUTOHINT=1
-DFREEINK_FONT_ENABLE_NATIVE_HINTING=1
-DFREEINK_FONT_ENABLE_MONOCHROME=1
${base.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
Expand All @@ -587,6 +594,9 @@ build_flags =

[env:x4-pro-light-sleep-debug]
extends = firmware_tuned
lib_deps =
${base.lib_deps}
FreeInkFont=symlink://freeink-sdk/libs/font/FreeInkFont
custom_sdkconfig =
CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
Expand All @@ -605,6 +615,10 @@ board = esp32-s3-devkitc1-n16r8
board_build.mcu = esp32s3
board_build.arduino.memory_type = dio_opi
build_flags =
-DCROSSINK_SCALABLE_FONTS=1
-DFREEINK_FONT_ENABLE_AUTOHINT=1
-DFREEINK_FONT_ENABLE_NATIVE_HINTING=1
-DFREEINK_FONT_ENABLE_MONOCHROME=1
${base.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
Expand Down
Loading