Skip to content

Update native to exit when configured with an unknown module#10776

Merged
thebentern merged 2 commits into
meshtastic:developfrom
jessm33:fix/native-unknown-module
Jun 25, 2026
Merged

Update native to exit when configured with an unknown module#10776
thebentern merged 2 commits into
meshtastic:developfrom
jessm33:fix/native-unknown-module

Conversation

@jessm33

@jessm33 jessm33 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Update native to exit when configured with an unknown module instead of going in to sim mode. If a lora module is set in config.yaml and that module isn't one recognized by meshtasticd, meshtasticd will now exit with an error instead of going in to sim mode. This will prevent confusion by not going in to sim mode when a radio is explicitly confined by the user. Sim mode can still be entered by command line option, or by setting the module to sim.

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Other (please specify below)
      • Linux native, code change only effects code used in native.

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

⚡ Try this PR in the Web Flasher

Flash this PR in the Web Flasher

firmware commit boards expires

Warning

This is an automated, unreviewed CI test build. Back up your device configuration
before flashing, and only flash devices you are able to recover.

Supported boards built by this PR (24)
Device Board Platform
Crowpanel Adv 3.5 TFT elecrow-adv-35-tft esp32-s3
Heltec HT62 heltec-ht62-esp32c3-sx1262 esp32-c3
Heltec Mesh Node 096 heltec-mesh-node-t096 nrf52840
Heltec Mesh Node T1 heltec-mesh-node-t1 nrf52840
Heltec Mesh Node T114 heltec-mesh-node-t114 nrf52840
Heltec V3 heltec-v3 esp32-s3
Heltec V4 heltec-v4 esp32-s3
Raspberry Pi Pico pico rp2040
Raspberry Pi Pico W picow rp2040
RAK WisMesh Tag rak_wismeshtag nrf52840
RAK WisBlock 11200 rak11200 esp32
RAK WisBlock 11310 rak11310 rp2040
RAK3312 rak3312 esp32-s3
RAK WisBlock 4631 rak4631 nrf52840
Seeed Wio Tracker L1 seeed_wio_tracker_L1 nrf52840
Seeed Xiao NRF52840 Kit seeed_xiao_nrf52840_kit nrf52840
Seeed Xiao ESP32-S3 seeed-xiao-s3 esp32-s3
Station G2 station-g2 esp32-s3
Station G3 station-g3 esp32-s3
LILYGO T-Deck t-deck-tft esp32-s3
LILYGO T-Echo t-echo nrf52840
LILYGO T-Echo Plus t-echo-plus nrf52840
LilyGo T3-C6 tlora-c6 esp32-c6
Seeed SenseCAP T1000-E tracker-t1000-e nrf52840

Build artifacts expire on 2026-07-24. Updated for c4537f2.

@github-actions github-actions Bot added the enhancement New feature or request label Jun 24, 2026

@jp-bennett jp-bennett left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested yet, but I approve of the concept.

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Firmware Size Report

22 targets | vs develop: 8 increased, 13 decreased, net -956

Target Size vs develop
wio-e5 234,220 📉 -240
pico2 762,648 📉 -144
rak3172 181,968 📉 -140
seeed_xiao_rp2350 760,800 📉 -136
picow 1,237,112 📈 +112
Show 17 more target(s)
Target Size vs develop
station-g2 2,258,080 📉 -112
station-g3 2,258,096 📉 -112
pico 775,176 📉 -88
rak11310 798,080 📉 -88
seeed_xiao_rp2040 773,376 📉 -88
t-deck-tft 3,803,088 📉 -80
pico2w 1,213,132 📈 +64
elecrow-adv-35-tft 3,407,056 📉 -32
heltec-ht62-esp32c3-sx1262 2,126,176 📈 +32
heltec-v4 2,267,648 📈 +32
heltec-vision-master-e213-inkhud 2,216,160 📈 +32
rak3312 2,263,936 📈 +32
heltec-v3 2,255,232 📈 +16
rak11200 1,851,968 📉 -16
seeed-xiao-s3 2,267,728 📉 -16
tlora-c6 2,359,568 📈 +16
t-eth-elite 2,481,888 0

Updated for 0f6edc7

@thebentern thebentern merged commit 8f425ad into meshtastic:develop Jun 25, 2026
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants