Commit Graph

379 Commits

Author SHA1 Message Date
Mimoja
9c83d8b5a5 Use SDCard usage where available
When an SD Card is available it is the more interesing
metric in terms of space usage. We are therefore using
it here.

Signed-off-by: Mimoja <git@mimoja.de>
2023-06-20 17:51:10 +02:00
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
Mimoja
eae7c3a159 ESP: Delete files after transfer where requested
Beyond around 20 APs the littleFs will no longer provide enough
space to add .pending files. The original .raw files are premarily
held to be able to send them to the web interface.
In those rare cases where this is not strictly needed we can
allow specific setups to auto-delete them.

Signed-off-by: Mimoja <git@mimoja.de>
2023-06-20 17:51:10 +02:00
Mimoja
4d78df09cc Add M5stack (original core) config
The M5stack board offers three interesting features for use with
OpenEPaperLink:
- LCD
- SDCard slot
- Modules including a batters

Which means it can easily be used to walk around with an AP for testing
purposes.
The LCD is currely not used as the M5Stack library is so old that it collides
with newer versions of eTFT which we are importing already.

Signed-off-by: Mimoja <git@mimoja.de>
2023-06-20 17:51:09 +02:00
Mimoja
e8740b2022 Add Weemos D1 mini 32 as target
The original weemos D1 mini was one of the most popular
ESP8266 boards. To this day many designs are designed around its
formfactor.
The successor is the here added D1 mini 32. It brings the same
"core" header with 8 GPIO but also additional io.

We are adding a default config which is workable with the old
pinconfig as those are usually the only ones exposed on the
breakout boards.
2023-06-20 17:24:53 +02:00
atc1441
6c4e254db0 Update NanoAP_Case.jpg 2023-06-19 22:43:48 +02:00
atc1441
5ccbcb4719 Nano AP Infos and Files added 2023-06-19 22:42:24 +02:00
atc1441
617b49eb86 Yep, Pinout of NanoAP fixed... 1.3-beta 2023-06-19 11:47:46 +02:00
Jelmer
5868abf189 Merge pull request #64 from jjwbruijn/customLUTTest
Tag-side config options with binaries
2023-06-15 14:35:14 +02:00
Jelmer
94be1ea3aa Added possibility to xfer tag-side config options 2023-06-15 13:18:12 +02:00
jjwbruijn
5190327d5a optimized i2c, disabled for 4.2 2023-06-15 11:42:15 +02:00
jjwbruijn
6ecf6410ee moved some defaults, fixed typo 2023-06-14 22:11:30 +02:00
jjwbruijn
e72e89d85e Added settings/config for tags 2023-06-14 21:45:36 +02:00
Jonas Niesner
054146677f Fixed release description overwrite 2023-06-13 18:22:46 +02:00
Jonas Niesner
58d9fe2217 Split json file list 2023-06-13 18:21:33 +02:00
Nic Limper
205dfa0ce2 logging reboots 1.2-beta 2023-06-11 13:29:49 +02:00
Jelmer
5c7b53b740 update in power management (multiple pins) 2023-06-10 14:24:50 +02:00
jjwbruijn
5196c1b212 76 bytes custom OTA Lut and changes location of the init 2023-06-09 14:59:00 +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
9d07df27f0 fix font characters <32 1.1-beta 2023-06-07 12:32:11 +02:00
atc1441
064bd4258c Nano AP fully power Control support
The idea to switch to an array based power Control was discarded for now
2023-06-07 01:00:40 +02:00
Jonas Niesner
8e31a1b8eb Update README.md
Added new badges
1.0-beta
2023-06-06 20:24:12 +02:00
Jonas Niesner
9598bea315 Merge pull request #57 from seeers/master
Update links to wiki pages README.md
2023-06-06 20:13:06 +02:00
seeers
6d2ed6915b Update links to wiki pages README.md 2023-06-06 20:10:06 +02:00
Jonas Niesner
6ffe967577 Update release.yml
Add builds for Nano_AP
2023-06-06 20:03:47 +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
atc1441
b9d3289852 Added NanoAP 2023-06-03 17:21:35 +02:00
atc1441
b0971bd111 Pogo pin size typo fix in ATC1441 Jig 2023-06-03 08:39:12 +02:00
Jelmer
11193a1fbf low power during ap/associate, for S2 boards 2023-06-02 13:24:03 +02:00
Nic Limper
db88de1f75 minor bug fixes
-
2023-06-01 21:42:09 +02:00
Jelmer
e9a554a2bf improved timings for reset/bringing AP online 2023-05-31 20:34:36 +02:00
Nic Limper
dfde0c0efe ota bugfix 0.9-beta 2023-05-30 18:25:03 +02:00
Nic Limper
2065072747 Merge pull request #52 from nlimper/ota
OTA updates + buienradar
2023-05-30 00:29:03 +02:00
Nic Limper
a2abe466f5 ota ready 2023-05-30 00:25:09 +02:00
Nic Limper
396536522a small ota bugfix 2023-05-29 23:52:30 +02:00
Nic Limper
c228104c29 update ota update 2023-05-29 23:39:07 +02:00
Nic Limper
8b0c516598 update ota update 2023-05-29 20:42:20 +02:00
Nic Limper
d02f51882b ota improvements 2023-05-29 16:39:16 +02:00
Jelmer
1414814b4d These pages were moved to the Wiki 2023-05-28 21:09:15 +02:00
Nic Limper
aaf4f94df7 buienradar (dutch rain predictions) 2023-05-28 01:37:28 +02:00
jjwbruijn
c6012a3cb5 Added jigs for two uncommon tags 2023-05-28 01:34:37 +02:00
Nic Limper
da095a2382 Merge branch 'master' into ota 2023-05-27 23:03:23 +02:00
Jonas Niesner
726a8055b3 Merge pull request #51 from jonasniesner/master
Fixed release scripts
2023-05-27 22:55:02 +02:00
Jonas Niesner
b010787d7d fixed typo 2023-05-27 22:46:35 +02:00
Jonas Niesner
e91891d283 Fixed path generation for non numeric release tags 2023-05-27 22:46:01 +02:00
Nic Limper
3e4175a790 Demo image generator for python
Generates crisp images
2023-05-27 21:46:51 +02:00
jjwbruijn
6380cd15cb added some more dumps for reference 2023-05-27 21:03:55 +02:00
Nic Limper
20d46df302 bugfix 2023-05-27 20:39:04 +02:00
Nic Limper
3788608e63 first version of OTA firmware updates 2023-05-27 19:25:28 +02:00