breaking change for ESP32-S2 based AP's

- turn off Buienradar and Google Calendar content on ESP32-S2 based AP's because the firmware doesn't fit the flash memory anymore. If you need this and you use e.g. the mini AP v2, don't update. ESP32-S3 based AP's are not affected.
- On the update tab, the list of available versions now only shows the versions that are actually available for the build environment in use, so when we leave out S2-based builds in future releases, they won't show the new version.
This commit is contained in:
Nic Limper
2024-11-03 02:04:04 +01:00
parent 7abd5d9a84
commit 9eb0b303f3
6 changed files with 6 additions and 11 deletions

Binary file not shown.

View File

@@ -8,9 +8,9 @@
#define CONTENT_NFCLUT
#define CONTENT_DAYAHEAD
#define CONTENT_TIMESTAMP
#endif
#define CONTENT_CAL
#define CONTENT_BUIENRADAR
#define CONTENT_CAL
#endif
#define CONTENT_TAGCFG
#include <Arduino.h>

View File

@@ -26,7 +26,9 @@
#include "udp.h"
#include "util.h"
#include "web.h"
#ifdef HAS_BLE_WRITER
#include "ble_writer.h"
#endif
util::Timer intervalContentRunner(seconds(1));
util::Timer intervalSysinfo(seconds(5));

View File

@@ -76,7 +76,8 @@ export async function initUpdate() {
const assets = release.assets;
const filesJsonAsset = assets.find(asset => asset.name === 'filesystem.json');
const binariesJsonAsset = assets.find(asset => asset.name === 'binaries.json');
if (filesJsonAsset && binariesJsonAsset) {
const containsEnv = assets.find(asset => asset.name === env + '.bin');
if (filesJsonAsset && binariesJsonAsset && containsEnv) {
return {
html_url: release.html_url,
tag_name: release.tag_name,

View File

@@ -263,17 +263,11 @@ function startPainter(mac, width, height, tagtype) {
input.focus();
isAddingText = true;
//cursor = 'move';
//blackButton.innerHTML = 'aA'
//redButton.innerHTML = 'aA'
const colorButtons = document.querySelectorAll('.colorbutton');
colorButtons.forEach(button => {
button.innerHTML = 'aA';
});
if (color=='white') {
//whiteButton.classList.remove('active');
//blackButton.classList.add('active');
//color='black';
document.querySelector('.colorbutton').click();
}
}
@@ -293,8 +287,6 @@ function startPainter(mac, width, height, tagtype) {
showCursor = false;
if (apply) drawText(input.value, textX, textY);
txtButton.classList.remove('active');
//blackButton.innerHTML = '&#65103;&#128396'
//redButton.innerHTML = '&#65103;&#128396'
const colorButtons = document.querySelectorAll('.colorbutton');
colorButtons.forEach(button => {
button.innerHTML = '&#65103;&#128396';