mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 19:12:23 +00:00
Show Reduced sensor firmware choices by default
This commit is contained in:
1 parent
c7a238b7d9
commit
3df901dce8
3 files changed
+10
-8
No files matched your search
@@ -2470,7 +2470,7 @@
|
||||
let bootloaderCatalog = null;
|
||||
let bootloaderNotice = "Loading the latest bootloader downloads...";
|
||||
const filters = {};
|
||||
let showReducedSensors = false;
|
||||
let showReducedSensors = true;
|
||||
const sensorOptions = createElement("details");
|
||||
sensorOptions.className = "firmware-picker-chip-family firmware-picker-wide";
|
||||
sensorOptions.hidden = true;
|
||||
@@ -2478,6 +2478,7 @@
|
||||
const sensorLabel = createElement("label");
|
||||
const sensorToggle = createElement("input");
|
||||
sensorToggle.type = "checkbox";
|
||||
sensorToggle.checked = showReducedSensors;
|
||||
sensorLabel.appendChild(sensorToggle);
|
||||
sensorLabel.appendChild(document.createTextNode(" Show Reduced sensor images"));
|
||||
sensorOptions.appendChild(sensorLabel);
|
||||
@@ -2941,7 +2942,7 @@
|
||||
event.preventDefault();
|
||||
if (!catalog.profiles.length) return;
|
||||
automaticChipFamily = false;
|
||||
showReducedSensors = false;
|
||||
showReducedSensors = true;
|
||||
sensorOptions.open = false;
|
||||
if (linkStatus) linkStatus.textContent = "";
|
||||
FACET_FIELDS.forEach(function (field) {
|
||||
|
||||
@@ -159,11 +159,12 @@ Once the exact board and role are selected, the picker skips logging,
|
||||
connection, and profile choices that all select the same firmware. Logging
|
||||
settings move into **Restore your settings after flashing** beneath the files.
|
||||
Choices that select different images remain visible.
|
||||
For qualified nRF52 sensor pairs, Full is the normal recommendation. Open
|
||||
**Advanced: sensor compatibility → Show Reduced sensor images** to select a Reduced image for
|
||||
an existing update route or its smaller optional-driver set. Shared links
|
||||
that explicitly select Reduced retain that selection. Both downloads remain
|
||||
available; this changes the recommendation, not their OTA identities.
|
||||
For qualified nRF52 sensor pairs, Full is the normal recommendation and both
|
||||
Full and Reduced profiles are shown by default. **Show Reduced sensor images**
|
||||
under **Advanced: sensor compatibility** starts checked, including after clearing
|
||||
the picker. Uncheck it to show only the recommended Full profiles. Shared links
|
||||
retain their selected profile; showing Reduced does not switch a Full selection
|
||||
or change either image's OTA identity.
|
||||
The optional chip-family filter (ESP32, nRF52, RP2040, or STM32) can narrow the
|
||||
hardware list first. You can skip it: picking hardware fills it in automatically.
|
||||
Chip family and hardware are the only dropdowns. All remaining choices use
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ extra_javascript:
|
||||
- _javascript/hosted_doc_links.js?v=20261007-1
|
||||
- _javascript/notification_builder.js?v=20261006-channel9
|
||||
- https://unpkg.com/leaflet@1.9.4/dist/leaflet.js
|
||||
- _javascript/firmware_picker.js?v=20261018-variant-consolidation-1
|
||||
- _javascript/firmware_picker.js?v=20261023-reduced-sensors-default
|
||||
- _javascript/telemetry_decoder.js?v=20261022-noise-history
|
||||
- _javascript/management_decoder.js
|
||||
- _javascript/filter_tool.js?v=20261002-hashbytes-2plus
|
||||
|
||||
Reference in new issue
Block a user