Commit Graph

54 Commits

Author SHA1 Message Date
Mimoja
f487092f7f Add SDCard support
To be able to store more images and never worry about running
out of storage again we are adding support of SDCards.

We are faced with two options:
1) Remove the LittleFS code
2) Allow for both FSs but increase the app partition as we run
out of space.

We have opted for 2 for two reasons:
1) Unformated SDCards can be initialized from the littleFS
2) If the SDCard and the flasher share the same SPI pins
the SDCard needs to be completely disconnected so there needs
to be a FS in that rare case.

Performance wise the SDCard is not slowing the system down.
Writing the AP db with 70 APs takes 2.5 seconds, on the SD
only 800ms. This however is SD and setup depending.

By default the SDCard is expected on pins 18,19,23 however this
is configurable via preprocessor defines.

Globally we replace LittleFS with a new pointer to the currently
used FS allowing for hotswapping where the FS pointer is not saved.
One case which is therefore not working is the SPIFSEditor which
copies the FS interally.

Signed-off-by: Mimoja <git@mimoja.de>
2023-06-20 17:51:10 +02:00
Jelmer
94be1ea3aa Added possibility to xfer tag-side config options 2023-06-15 13:18:12 +02:00
Nic Limper
205dfa0ce2 logging reboots 2023-06-11 13:29:49 +02:00
Jelmer
5c7b53b740 update in power management (multiple pins) 2023-06-10 14:24:50 +02:00
Nic Limper
e7fbaffbab added advanced tag options
- added advanced tag options: image rotation / always use default lut / force refresh / cancel pending
- fixed rx/tx swap in documentation
2023-06-09 12:56:58 +02:00
Nic Limper
c68b582be7 overhaul of contentmanager, 4.2" layouts, bugfixes
- added Swedish å Å to Bahnschrift20 and 30
- option to turn dither on/off in 'static image'
- major overhaul of contentmanager.cpp, content is now generated from json template.
- fallback to 1bpp for 4.2" when no psram
- added 4.2" content layouts
- fixed small apconfig bug
- pause content generation for 60 seconds after crash, to prevent uncontrollable boot loop
2023-06-08 15:41:15 +02:00
Nic Limper
e169dbab6e added äöüßÄÖÜ to fonts + small updates
- fonts re-rendered: added äöüßÄÖÜ.
- shuffled a bit with fonts to optimize disk usage
- ability to delete files during OTA
- prettify tagDB.json
- error handling in get_DB
- small cosmetic changes

* Due to new ability to delete files: After firmware update via OTA, please perform an OTA update of the filesystem again to perform the deletion of unneeded fonts.
* If updating via platform.io: don't forget to update the filesystem image.
2023-06-06 16:04:18 +02:00
Nic Limper
db88de1f75 minor bug fixes
-
2023-06-01 21:42:09 +02:00
Nic Limper
dfde0c0efe ota bugfix 2023-05-30 18:25:03 +02:00
Nic Limper
aaf4f94df7 buienradar (dutch rain predictions) 2023-05-28 01:37:28 +02:00
Nic Limper
3788608e63 first version of OTA firmware updates 2023-05-27 19:25:28 +02:00
Nic Limper
49d86620bd preparations for custom LUT 2023-05-25 14:28:54 +02:00
Nic Limper
f73ce60468 apconfig improvements 2023-05-25 09:22:48 +02:00
Nic Limper
5f3918e882 multi-AP sync improvements
- add: syncing data segment of non-image datatypes between AP's
- add: syncing metadata and deletions between AP's
- sorted tags on the webpage by alias
2023-05-24 17:00:41 +02:00
Nic Limper
0641547d73 8 byte mac addr instead of 6 byte 2023-05-23 21:06:50 +02:00
Nic Limper
6afc2a020e improvements for non-rgb leds 2023-05-23 11:20:03 +02:00
Nic Limper
533f0cec78 set NFC url / new tagtypes / minor fixes 2023-05-23 00:46:32 +02:00
Nic Limper
feb8e7e69c segmented tags content 2023-05-22 13:00:39 +02:00
Jelmer
ecbbff75f8 Merge branch 'master' of https://github.com/jjwbruijn/OpenEPaperLink 2023-05-19 00:40:42 +02:00
Jelmer
ed0189ceb1 Added flash backup for unknown tag types 2023-05-19 00:40:39 +02:00
Nic Limper
19a08de207 re-rendered fonts for uppercase characters in dates 2023-05-16 16:51:23 +02:00
atc1441
0bae760eaa Added content language option, Now supported: English, Dutch and German
New languages can be added by adding it into the language.h file everything else should adapt to it
2023-05-15 23:30:17 +02:00
Jelmer
480b4624d3 Merge branch 'master' into master 2023-05-15 20:42:40 +02:00
Nic Limper
16ebd9194e small fixes
- disable useless compiler warnings in fastled and tft_espi
- web preview thumbnail fix
- faster tag updates while webpage is displayed
- fixed tag fw ota update
2023-05-15 19:35:15 +02:00
foorschtbar
7b662dd65e Added option to control RGB LED brightness 2023-05-15 17:03:13 +02:00
foorschtbar
504d150e7b Added ESL MAC in http image request 2023-05-15 11:33:39 +02:00
Jelmer
40074c6bf9 prevent Mini AP from booting before its time 2023-05-09 16:57:57 +02:00
Jelmer
fd77e0a77c Improved state handling, error messages&led status 2023-05-09 16:34:33 +02:00
Jelmer
e3bfaaa62f fixes compiler errors for other boards 2023-05-08 01:16:41 +02:00
Jelmer
cfee590f01 Added the option to run an AP from another port 2023-05-07 15:42:49 +02:00
Jelmer
117120c0df Better auto-flashing, support for firmware-packs 2023-05-06 18:41:22 +02:00
Jelmer
5a1488c986 Changes in AP-Serial, hopefully more readable 2023-05-03 13:49:06 +02:00
Nic Limper
d9eb97af26 better use of prepareIdleReq 2023-04-28 22:11:10 +02:00
Nic Limper
36d30ee0cb auto channel select, ap config screen 2023-04-28 14:51:51 +02:00
Nic Limper
9158549cb3 cleanup pendingdata vector 2023-04-27 22:37:33 +02:00
Nic Limper
a46678386e Merge remote-tracking branch 'upstream/master' 2023-04-27 10:11:10 +02:00
Jelmer
e3ea9121b4 added support for changing channels 2023-04-27 02:04:18 +02:00
Nic Limper
b7a339c034 caching lat/lon in weather 2023-04-26 19:32:08 +02:00
Nic Limper
0edb93be1a zeroconfig multiAP over UDP 2023-04-26 17:17:02 +02:00
Nic Limper
981fe9f312 Merge remote-tracking branch 'upstream/master' 2023-04-24 18:54:49 +02:00
Jelmer
ad7b75a582 ESP: Added Block-request source 2023-04-23 22:18:32 +02:00
Jelmer
6629b77d3d Added support for the Mini-AP (ESP32-S2) 2023-04-23 16:44:29 +02:00
Nic Limper
7d15f41b56 Merge remote-tracking branch 'upstream/master' 2023-04-15 14:02:06 +02:00
Jonas Niesner
c474c364e6 Update settings.h 2023-04-04 19:40:23 +02:00
Nic Limper
3ff40e526d wip dither 2023-04-02 23:23:41 +02:00
Nic Limper
bf66a49038 small fixes 2023-03-28 16:39:28 +02:00
Nic Limper
faf2d4cc19 udp wip 2023-03-28 11:26:36 +02:00
Jelmer
d92681ef02 fixed flasher, DMA handling 2023-03-27 17:13:12 +02:00
Nic Limper
e19c9dc612 added content: google calendar
via google apps script, see /data/calendar.txt
2023-03-23 23:40:06 +01:00
Nic Limper
9212aad8d8 bugfix color palette 2023-03-23 13:55:55 +01:00