Commit Graph

8938 Commits

Author SHA1 Message Date
Andrew Yong
88bbc824e6 tlora_v2_1_16: Unset BUTTON_PIN and BUTTON_NEED_PULLUP (#5535)
Unset BUTTON_PIN and BUTTON_NEED_PULLUP as the board ships without a user button.

Devices and users expecting a button on GPIO12 have to set [GPIO for user button](https://meshtastic.org/docs/configuration/radio/device/#gpio-for-user-button) to 12 (or any GPIO pin the momentary switch was connected to) to restore functionality.

Signed-off-by: Andrew Yong <me@ndoo.sg>
2024-12-15 10:16:49 +11:00
Mark Trevor Birss
60cdaa6f34 Create OpenWRT_One_mikroBUS_sx1262.yaml (#5529) 2024-12-15 10:16:49 +11:00
Matthias Granberry
759a975112 Configure Seeed Xiao S3 RX enable pin (#5517) 2024-12-15 10:16:49 +11:00
Jonathan Bennett
2b47e7555f Add MACAddress to config.yaml (#5506)
* Add MACAddress to config.yaml

* Better error handling on native, including failing to launch with blank MAC Address and real hardware.

* Re-arrange Mac Address handling and add MACAddressSource

* Bump portduino to remove macaddr function there

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:49 +11:00
Ben Meadors
74015ecda9 Add popular nrf52 pro micro to the builds (#5523) 2024-12-15 10:16:49 +11:00
Ben Meadors
985f4a198c Lets try this again minus device ui 2024-12-15 10:16:49 +11:00
Ben Meadors
4823ca1327 Revert "Add heltec capsule back"
This reverts commit fc16d93421.
2024-12-15 10:16:48 +11:00
Ben Meadors
07a1f7320b Add heltec capsule back 2024-12-15 10:16:48 +11:00
Tom Fifield
f36aaceaf4 fix nodeDB erase loop when free mem returns invalid value (0, -1). (#5519)
Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-12-15 10:16:48 +11:00
broglep
b3e5186ac3 Always Announce MDNS meshtastic service (#5503)
* refactor server api port into define

* always announce MDNS meshtastic service
2024-12-15 10:16:48 +11:00
GUVWAF
4036fe121c Don't use channel index for encrypted packet (#5509)
* Don't use channel index for encrypted packet

* Remove assert in `getKey`, set invalid key length
So encrypting will fail without reboot

* Reset channel to 0 when unable to encrypt
Such that the NAK doesn't use the failing channel hash
2024-12-15 10:16:48 +11:00
Jonathan Bennett
a0dd6325da Fix minor typos in package workflows (#5505) 2024-12-15 10:16:48 +11:00
github-actions[bot]
595af17dac [create-pull-request] automated change (#5500)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Mark Trevor Birss
97adf21503 [Add] LR1110, LR1120 and LR1121 to linux native Portduino (#5496)
* Update main.cpp

* Update PortduinoGlue.h

* Update PortduinoGlue.cpp

* Update PortduinoGlue.cpp

* Update PortduinoGlue.cpp

* Update main.cpp
2024-12-15 10:16:48 +11:00
noon92
0f7039f918 Added femtofox configs (#5477)
* added femtofox configs

* Rename bin/config.d/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml to bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

* moved femtofox configs to subdir
2024-12-15 10:16:48 +11:00
Robert
e1532e3b00 Extend Length of Source and Destination Node IDs Logged (#5492)
* show 8 chars for logging source and destination ids

* extend legnth of source and destination nodes in log
2024-12-15 10:16:48 +11:00
dylanli
4c26f368cd Refact the macro definition of GPS initialization of GPSDEFAULTD_NOT_PRESENT and added seeeed Indicator to this sequence (#5494)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
Robert
0d7b82db1b add nodeId to nodeinfo update log lines and removed redundant nodeinfo update log line (#5493) 2024-12-15 10:16:48 +11:00
GUVWAF
2bad8570ee SimRadio: clean-up and emulate collisions (#5487)
* Clean up SimRadio and don't let it use PKC

* Add collision emulation for SimRadio

* Add stats from SimRadio to LocalStats

* Make emulating collisions optional
2024-12-15 10:16:48 +11:00
Ben Meadors
18b1928f97 Convert userprefs to a json file instead of header file which has to be included everywhere (#5471)
* WIP

* Got string quoting and macro expansion working

* Need the placeholder

* Cleanup

* Missed a user prefs reference

* Update jsonc
2024-12-15 10:16:48 +11:00
dylanli
b8c84a19a1 Update xiao_esp32 fully support L67K (#5488)
L67K module hardware changed
2024-12-15 10:16:48 +11:00
GUVWAF
cff0cea345 Update arduino-pico core and remove MDNS restriction (#5483) 2024-12-15 10:16:48 +11:00
Jonathan Bennett
bb5f07f9f9 Portduino fixes (#5479)
* Set config.yaml defaults even if General is missing

* Unsigned values should get %u in logging
2024-12-15 10:16:48 +11:00
github-actions[bot]
a33276fd9b [create-pull-request] automated change (#5478)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Jonathan Bennett
c53e614d1d Adds libusb dev package to Raspbian build steps (#5480) 2024-12-15 10:16:48 +11:00
github-actions[bot]
902a0d270c [create-pull-request] automated change (#5475)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
b4ae5e399d Warnings and log cleanup (#5472)
* Don't log if keyboard not found

* Signed comparison issue
2024-12-15 10:16:48 +11:00
Ben Meadors
85d23d6988 Trunk 2024-12-15 10:16:48 +11:00
virgil
49f0f7ab90 fix: Solve the lightsleep crash problem via disable lightsleep for indicator. (#5470) 2024-12-15 10:16:48 +11:00
panaceya
6c6b323d3f Fix ukrainian fonts (#5468)
* FIX:  rollback to !4624

* UPDATE: new 16 and 24 UA Fonts and fixes
2024-12-15 10:16:48 +11:00
Christopher Hoover
6d14c1a943 GPS.h cleanups round 3. (#5447)
* GPS.h cleanups round 3.

No effective behavior change.

Protected members can be private so make it so.  (Supporting
subclasses needs a lot more work.)

Moves uBloxGnssModelInfo into file scope.

Moves uBloxProtocolVersion into uBloxGnssModelInfo.

Moves baud rate arrays into file scope.

Removes unused/ unimplemented powerStateToString.

Signed-off-by: Christopher Hoover <ch@murgatroid.com>

* Trunk Format.

---------

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-12-15 10:16:48 +11:00
Ben Meadors
ca4bfa1eb7 Remove ATECC crypto chip placeholder code (#5461) 2024-12-15 10:16:48 +11:00
Liam Cottle
1f89ee5cce fix cors for meshtasticd to allow use of cross origin clients (#5463) 2024-12-15 10:16:48 +11:00
Ben Meadors
32f81568aa Use isWithinTimespanMs to avoid refererence to NodeDb instance inside of NodeDb (#5453) 2024-12-15 10:16:48 +11:00
Ben Meadors
46eb534d76 Clean up some inline functions (#5454) 2024-12-15 10:16:48 +11:00
Ben Meadors
cf62c6d4d0 Cleanup i2c scan logs and macro to save some bytes and remain consistent (#5455)
* Cleanup i2c scan logs and macro to save some bytes and remain consistent

* Functions are better than macros

* Exclude i2c scan for STM32

* Useless log
2024-12-15 10:16:48 +11:00
github-actions[bot]
603e723e4d [create-pull-request] automated change (#5457)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Jonathan Bennett
e0eae54487 Actually gunzip all the files when building a .deb (#5449) 2024-12-15 10:16:48 +11:00
Ben Meadors
e746905b5f Revert "Seems like the last DIY board that's not "extra" (#5420)" (#5446)
This reverts commit e6fb6b115a.
2024-12-15 10:16:48 +11:00
Ben Meadors
adb244e255 Don't powersave on Wifi (#5443)
* Don't go into light sleep with wifi enabled

* Move

* Trunk
2024-12-15 10:16:48 +11:00
Tomas Dubec
5347ee2ae4 enable MQTT with TLS on RPi picow (#5442)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
Christopher Hoover
14c4475b50 A second round of cleanup on GPS.h. (#5433)
* Move yet more stuff out of GPS.h and into file scope.

* Protect code macros from eating semicolons.

* Remove unused (and unimplemented) getDOPString.

* clang-format with project style file on affected files.

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
37bb28a4c0 Removing 1.0 legacy boards from releases and completely removing Heltec wireless capsule from support (#5436)
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-12-15 10:16:48 +11:00
César de Tassis Filho
fe1ed0dd08 Fix memory leaks by adding missing free() calls before early returns in MQTT::onReceive (#5439)
This fix addresses memory leaks in the `MQTT::onReceive` function by ensuring that dynamically allocated resources (`e.channel_id`, `e.gateway_id` and `e.packet`) are properly freed before each early return. Previously, these resources were only freed at the end of the function, leaving them unhandled in certain exit paths. Adding the missing `free()` calls prevents memory leaks and ensures proper resource cleanup in all scenarios.
2024-12-15 10:16:48 +11:00
Thomas Göttgens
66e219dd39 fixes https://github.com/meshtastic/firmware/issues/5434 (#5435)
* update libpax
* fix interval init
2024-12-15 10:16:48 +11:00
jake-b
79589df898 Support for the ClimateGuard RadSens Geiger-Muller tube (#5425) 2024-12-15 10:16:48 +11:00
github-actions[bot]
86b504f886 [create-pull-request] automated change (#5431)
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
cc7440b8f8 Remove BMA-423 and STK8X by default (#5429)
* Remove BMA-423 by default

* STK

* Wrong macro

* Helps if you include the file
2024-12-15 10:16:48 +11:00
Thomas Göttgens
563aeba72a try to detect dfrobot station to tell it apart from an ublox gps. (#5393) 2024-12-15 10:16:48 +11:00
Mictronics
350a89d0e2 Fix admin key loading from userPrefs.h (#5417)
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28

* Merge PR #420

* Fixed double and missing Default class.

* Use correct format specifier and fixed typo.

* Removed duplicate code.

* Fix error: #if with no expression

* Fix warning: extra tokens at end of #endif directive.

* Fix antenna switching logic. Complementary-pin control logic is required on the rp2040-lora board.

* Fix deprecated macros.

* Set RP2040 in dormant mode when deep sleep is triggered.

* Fix array out of bounds read.

* Admin key count needs to be set otherwise the key will be zero loaded after reset.

* Don't reset the admin key size when loading defaults. Preserve an existing key in config if possible.

* Remove log spam when reading INA voltage sensor.

* Remove static declaration for admin keys from userPrefs.h. Load hard coded admin keys in case config file has empty slots.

* Removed newlines from log.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-12-15 10:16:48 +11:00