Compare commits

..

8 Commits

Author SHA1 Message Date
Jonas Diemer
40f86dd04f Formatting. 2025-12-17 12:43:19 +01:00
Dave Allie
12463011b7 Add home screen (#42)
## Summary

* Add home screen
* Sits as new root screen, allows for navigation to settings or file
list
2025-12-17 12:43:19 +01:00
Arthur Tazhitdinov
2001233e95 TOC location fix (#25)
## Summary

* Rely on media-type="application/x-dtbncx+xml" to find TOC instead of
hardcoded values

## Additional Context

* Most of my epubs don't have id==ncx for toc file location. I think
this media-type is EPUB standard

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-17 12:43:19 +01:00
Jonas Diemer
bcc126c906 Moved progress functions to epub, showing integer percentages. 2025-12-17 12:42:10 +01:00
Dave Allie
b21569f84b Use 6x8kB chunks instead of 1x48kB chunk for secondary display buffer (#36)
## Summary

- When allocating the `bwBuffer` required to restore the RED RAM in the
EPD, we were previously allocating the whole frame buffer in one
contiguous memory chunk (48kB)
- Depending on the state of memory fragmentation at the time of this
call, it may not be possible to allocate all that memory
- Instead, we now allocate 6 blocks of 8kB instead of the full 48kB,
this should mean the display updates are more resilient to different
memory conditions

## Additional Context
2025-12-17 11:09:29 +01:00
Dave Allie
263c1e92b2 Use single buffer mode for EInkDisplay (#34)
## Summary

* Frees up 48kB of statically allocated RAM in exchange for 48kB just
when grayscale rendering is needed

## Additional Context

* Upstream changes:
https://github.com/open-x4-epaper/community-sdk/pull/7
2025-12-17 11:09:29 +01:00
Jonas Diemer
a20f861e3c format fixes 2025-12-16 18:04:04 +01:00
Jonas Diemer
796a7fa785 Calculate the progress in the book by file sizes of each chapter. 2025-12-16 18:01:46 +01:00

Diff Content Not Available