forked from OpenEPaperLink/OpenEPaperLink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added compression to M3, moved stuff around
- Loading branch information
jjwbruijn
committed
Feb 13, 2024
1 parent
d7f6fee
commit 57748d8
Showing
19 changed files
with
2,281 additions
and
1,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "ARM_Tag_FW/common/uzlib"] | ||
path = ARM_Tag_FW/common/uzlib | ||
url = https://github.com/pfalcon/uzlib.git | ||
[submodule "ARM_Tag_FW/common/QRCode"] | ||
path = ARM_Tag_FW/common/QRCode | ||
url = https://github.com/ricmoo/QRCode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
#ifdef ENABLE_OEPLFS | ||
#include "oepl_fs.h" | ||
#endif | ||
|
||
#include "../../common/compression.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#pragma once | ||
#include <Arduino.h> | ||
#include "FreeSans9pt7b.h" | ||
#include "FreeSansBold18pt7b.h" | ||
#include "FreeSansBold24pt7b.h" | ||
#include "../../common/fonts/FreeSans9pt7b.h" | ||
#include "../../common/fonts/FreeSansBold18pt7b.h" | ||
#include "../../common/fonts/FreeSansBold24pt7b.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#include <vector> | ||
#include <Arduino.h> | ||
#include "eeprom.h" | ||
#include "comms.h" | ||
#include "powermgt.h" | ||
|
||
#include "syncedproto.h" | ||
#include "hal.h" | ||
|
||
#include "compression.h" | ||
|
||
#include "../../../oepl-definitions.h" | ||
#include "../../../oepl-proto.h" | ||
|
||
#include "settings.h" | ||
|
||
#define MAX_WINDOW_SIZE 8192 | ||
#define ZLIB_CACHE_SIZE 256 | ||
|
||
uint32_t __attribute__((always_inline)) inline HAL_flashRead(uint32_t address, uint8_t *buffer, uint16_t numbytes) { | ||
eepromRead(address, (void *)buffer, numbytes); | ||
return numbytes;; | ||
} | ||
|
||
#include "../../common/compression.cpp" |
Oops, something went wrong.