Skip to content

Commit 38b0c15

Browse files
authored
Merge pull request #8689 from meshtastic/develop-to-master
Develop to master
2 parents 9cf369c + b09fa31 commit 38b0c15

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+859
-446
lines changed

.github/workflows/release_channels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
steps:
6262
- name: Checkout
6363
uses: actions/checkout@v5
64+
with:
65+
# Always use master branch for version bumps
66+
ref: master
6467

6568
- name: Setup Python
6669
uses: actions/setup-python@v6

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ Join our community and help improve Meshtastic! 🚀
3737
## Stats
3838

3939
![Alt](https://repobeats.axiom.co/api/embed/8025e56c482ec63541593cc5bd322c19d5c0bdcf.svg "Repobeats analytics image")
40-

arch/stm32/stm32.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ build_flags =
3737
-DRADIOLIB_EXCLUDE_LR11X0=1
3838
-DHAL_DAC_MODULE_ONLY
3939
-DHAL_RNG_MODULE_ENABLED
40+
-Wl,--wrap=__assert_func
41+
-Wl,--wrap=strerror
42+
-Wl,--wrap=_tzset_unlocked_r
4043

4144
build_src_filter =
4245
${arduino_base.build_src_filter} -<platform/esp32/> -<nimble/> -<mesh/api/> -<mesh/wifi/> -<mesh/http/> -<modules/esp32> -<mesh/eth/> -<input> -<buzz> -<modules/RemoteHardwareModule.cpp> -<platform/nrf52> -<platform/portduino> -<platform/rp2xx0> -<mesh/raspihttp>

bin/org.meshtastic.meshtasticd.metainfo.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
</screenshots>
8888

8989
<releases>
90+
<release version="2.7.16" date="2025-11-19">
91+
<url type="details">https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.16</url>
92+
</release>
9093
<release version="2.7.15" date="2025-11-13">
9194
<url type="details">https://github.com/meshtastic/firmware/releases?q=tag%3Av2.7.15</url>
9295
</release>

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
meshtasticd (2.7.16.0) unstable; urgency=medium
2+
3+
* Version 2.7.16
4+
5+
-- GitHub Actions <github-actions[bot]@users.noreply.github.com> Wed, 19 Nov 2025 16:12:32 +0000
6+
7+
18
meshtasticd (2.7.15.0) unstable; urgency=medium
29

310
* Version 2.7.15

meshtasticd.spec.rpkg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ BuildRequires: python3dist(grpcio[protobuf])
3333
BuildRequires: python3dist(grpcio-tools)
3434
BuildRequires: git-core
3535
BuildRequires: gcc-c++
36+
BuildRequires: (glibc-devel >= 2.38) or pkgconfig(libbsd-overlay)
3637
BuildRequires: pkgconfig(yaml-cpp)
3738
BuildRequires: pkgconfig(libgpiod)
3839
BuildRequires: pkgconfig(bluez)

platformio.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ lib_deps =
115115
[radiolib_base]
116116
lib_deps =
117117
# renovate: datasource=custom.pio depName=RadioLib packageName=jgromes/library/RadioLib
118-
118+
119+
https://github.com/jgromes/RadioLib/archive/536c7267362e2c1345be7054ba45e503252975ff.zip
119120

120121
[device-ui_base]
121122
lib_deps =
@@ -181,6 +182,8 @@ lib_deps =
181182
182183
# renovate: datasource=custom.pio depName=Adafruit_TSL2561 packageName=adafruit/library/Adafruit TSL2561
183184
adafruit/Adafruit [email protected]
185+
# renovate: datasource=custom.pio depName=BH1750_WE packageName=wollewald/BH1750_WE@^1.1.10
186+
wollewald/BH1750_WE@^1.1.10
184187

185188
; (not included in native / portduino)
186189
[environmental_extra]

src/NodeStatus.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ class NodeStatus : public Status
1414
CallbackObserver<NodeStatus, const NodeStatus *> statusObserver =
1515
CallbackObserver<NodeStatus, const NodeStatus *>(this, &NodeStatus::updateStatus);
1616

17-
uint8_t numOnline = 0;
18-
uint8_t numTotal = 0;
17+
uint16_t numOnline = 0;
18+
uint16_t numTotal = 0;
1919

20-
uint8_t lastNumTotal = 0;
20+
uint16_t lastNumTotal = 0;
2121

2222
public:
2323
bool forceUpdate = false;
2424

2525
NodeStatus() { statusType = STATUS_TYPE_NODE; }
26-
NodeStatus(uint8_t numOnline, uint8_t numTotal, bool forceUpdate = false) : Status()
26+
NodeStatus(uint16_t numOnline, uint16_t numTotal, bool forceUpdate = false) : Status()
2727
{
2828
this->forceUpdate = forceUpdate;
2929
this->numOnline = numOnline;
@@ -34,11 +34,11 @@ class NodeStatus : public Status
3434

3535
void observe(Observable<const NodeStatus *> *source) { statusObserver.observe(source); }
3636

37-
uint8_t getNumOnline() const { return numOnline; }
37+
uint16_t getNumOnline() const { return numOnline; }
3838

39-
uint8_t getNumTotal() const { return numTotal; }
39+
uint16_t getNumTotal() const { return numTotal; }
4040

41-
uint8_t getLastNumTotal() const { return lastNumTotal; }
41+
uint16_t getLastNumTotal() const { return lastNumTotal; }
4242

4343
bool matches(const NodeStatus *newStatus) const
4444
{
@@ -56,7 +56,7 @@ class NodeStatus : public Status
5656
numTotal = newStatus->getNumTotal();
5757
}
5858
if (isDirty || newStatus->forceUpdate) {
59-
LOG_DEBUG("Node status update: %d online, %d total", numOnline, numTotal);
59+
LOG_DEBUG("Node status update: %u online, %u total", numOnline, numTotal);
6060
onNewStatus.notifyObservers(this);
6161
}
6262
return 0;

src/Power.cpp

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static HasBatteryLevel *batteryLevel; // Default to NULL for no battery level se
194194

195195
#ifdef BATTERY_PIN
196196

197-
static void adcEnable()
197+
void battery_adcEnable()
198198
{
199199
#ifdef ADC_CTRL // enable adc voltage divider when we need to read
200200
#ifdef ADC_USE_PULLUP
@@ -214,7 +214,7 @@ static void adcEnable()
214214
#endif
215215
}
216216

217-
static void adcDisable()
217+
static void battery_adcDisable()
218218
{
219219
#ifdef ADC_CTRL // disable adc voltage divider when we need to read
220220
#ifdef ADC_USE_PULLUP
@@ -320,7 +320,7 @@ class AnalogBatteryLevel : public HasBatteryLevel
320320
uint32_t raw = 0;
321321
float scaled = 0;
322322

323-
adcEnable();
323+
battery_adcEnable();
324324
#ifdef ARCH_ESP32 // ADC block for espressif platforms
325325
raw = espAdcRead();
326326
scaled = esp_adc_cal_raw_to_voltage(raw, adc_characs);
@@ -332,7 +332,7 @@ class AnalogBatteryLevel : public HasBatteryLevel
332332
raw = raw / BATTERY_SENSE_SAMPLES;
333333
scaled = operativeAdcMultiplier * ((1000 * AREF_VOLTAGE) / pow(2, BATTERY_SENSE_RESOLUTION_BITS)) * raw;
334334
#endif
335-
adcDisable();
335+
battery_adcDisable();
336336

337337
if (!initial_read_done) {
338338
// Flush the smoothing filter with an ADC reading, if the reading is plausibly correct
@@ -906,13 +906,8 @@ void Power::readPowerStatus()
906906
low_voltage_counter++;
907907
LOG_DEBUG("Low voltage counter: %d/10", low_voltage_counter);
908908
if (low_voltage_counter > 10) {
909-
#ifdef ARCH_NRF52
910-
// We can't trigger deep sleep on NRF52, it's freezing the board
911-
LOG_DEBUG("Low voltage detected, but not trigger deep sleep");
912-
#else
913909
LOG_INFO("Low voltage detected, trigger deep sleep");
914910
powerFSM.trigger(EVENT_LOW_BATTERY);
915-
#endif
916911
}
917912
} else {
918913
low_voltage_counter = 0;
@@ -1552,4 +1547,4 @@ bool Power::meshSolarInit()
15521547
{
15531548
return false;
15541549
}
1555-
#endif
1550+
#endif

src/configuration.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
228228
#define ICM20948_ADDR_ALT 0x68
229229
#define BHI260AP_ADDR 0x28
230230
#define BMM150_ADDR 0x13
231+
#define DA217_ADDR 0x26
231232

232233
// -----------------------------------------------------------------------------
233234
// LED

0 commit comments

Comments
 (0)