Jonathan Bennett and GitHub
598e2ead65
Merge branch 'master' into lora-led-rx
2026-06-13 12:05:52 -05:00
c9398cccaa
Use standard GPS enable pin, for smarter power control on M3 ( #10671 )
...
* Use standard GPS enable pin, for smarter power control on M3
* Enable GPS pin in variant.cpp initialization
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-06-13 12:04:41 -05:00
Jonathan Bennett and GitHub
d44cf18722
Merge branch 'master' into lora-led-rx
2026-06-13 10:56:15 -05:00
Jonathan Bennett and GitHub
27ea97064b
Merge branch 'master' into lora-led-rx
2026-06-10 13:55:25 -05:00
Jonathan Bennett
46f6183d40
Briefly flash LED_LORA on packet RX
2026-06-09 21:52:26 -05:00
Jonathan Bennett
05fc717031
add optional LED_LORA to indicate LoRa TX
2026-06-09 20:50:33 -05:00
Jonathan Bennett and Ben Meadors
7440cd54bb
Update nanopb download URL in workflow
2026-06-08 14:59:01 -05:00
Jonathan Bennett and GitHub
41a558cc5e
Update Thinknode m7 pins ( #10635 )
2026-06-05 19:32:06 -05:00
Jonathan Bennett and GitHub
4446b0f1a2
Add variantDefaultConfig and set eth_enabled to default true ( #10454 )
2026-05-11 14:51:21 -05:00
Jonathan Bennett and GitHub
5512185cfe
Make heartbeat LED play nice with other LEDs ( #10423 )
2026-05-08 16:03:39 -05:00
Jonathan Bennett and GitHub
0f854862e7
Give ThinkNode-m4 a heartbeat ( #10408 )
2026-05-07 13:17:29 -05:00
4ccdd80090
Add search duration check for exceeding 15 minutes ( #10293 )
...
* Add search duration check for exceeding 15 minutes
Added a condition to check if the search duration exceeds 15 minutes, indicating too long of a search.
* trunk
* Fix searchedTooLong: move 15-min cap before UINT32_MAX check, cache elapsed, add constexpr
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/b7f74430-9e7e-4a6f-8095-6176c1eee972
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
* Update src/gps/GPSUpdateScheduling.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove dead UINT32_MAX branch from searchedTooLong
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/6dad5b56-902e-4d0e-90c1-038a9c2df364
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-25 20:42:14 -05:00
Jonathan Bennett and Ben Meadors
439b87b860
Detach power interrupts for sleep ( #10230 )
...
* Detach power interrupts for sleep
* Gate PMU IRQ behind a found PMU
2026-04-24 06:48:21 -05:00
Jonathan Bennett and Ben Meadors
d47301defc
Add PortduinoSetOptions to overwrite the realhardware bool ( #10157 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-04-24 06:48:09 -05:00
Jonathan Bennett and Ben Meadors
04b819a7b5
Remove incorrect LED_STATE_ON definition for t-beam-s3 ( #10280 )
...
Fixes #9912 and #10170
2026-04-24 06:47:38 -05:00
Jonathan Bennett and GitHub
031f332ec1
We have HardwareRNG, let's use it! ( #10274 )
2026-04-23 13:16:49 -05:00
Jonathan Bennett and GitHub
92c0133ef9
Finish evil merge cleanup ( #10253 )
2026-04-22 21:47:20 -05:00
Jonathan Bennett and GitHub
2b5daf2438
T watch pinfix ( #10231 )
...
* Minor button debugging bits
* pin0 is a pin, pin -1 means disabled
2026-04-21 20:02:56 -05:00
Jonathan Bennett and Ben Meadors
d8e4389da2
No longer need undefines, thanks to #10179 ( #10180 )
2026-04-21 09:57:48 -05:00
Jonathan Bennett and Ben Meadors
25febfdeee
More cleanly remove LED_BUILTIN ( #10179 )
...
* Test PR to remove LED_BUILTIN
Comment out the LED_BUILTIN definition in platformio.ini
* Add LED_BUILTIN definition to nrf52840.ini
2026-04-21 09:57:41 -05:00
Jonathan Bennett and GitHub
2dd9c5eef2
Fix Linux Input enable logic ( #10093 )
2026-04-06 15:02:38 -05:00
Jonathan Bennett and GitHub
98efb25a0c
Thinknode_m5 minor fixes ( #10049 )
2026-04-01 21:13:16 -05:00
Jonathan Bennett and GitHub
fe8bfa0069
Add new RAK 13302 power curve ( #9929 )
2026-03-17 12:06:35 -05:00
0ed537a336
Add json file rotation option ( #9783 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-03-06 10:24:32 -06:00
Jonathan Bennett and GitHub
9e40c8893f
Don't double-blink Thinknode-M1 Power LED while charging ( #9829 )
...
* Don't double-blink Thinknode-M1 Power LED while charging
* Drop Double Define
2026-03-05 20:34:31 -06:00
afd5e29bce
More RAK6421 work ( #9813 )
...
* Add Portduino Enable pins
* Add hat plus custom fields
* Punt on the GPIO device detection for now
* Simplify TX_GAIN_LORA for RAK13302
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-03-05 08:15:33 -06:00
857c7b3a3a
Don't launch canned message when waking screen or silencing notification ( #9762 )
...
* Don't launch canned message when waking screen or silencing notification
* Add screen ifdefs
* Get the #if right
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-02-27 17:07:03 -06:00
5a068431ed
Add GPIO_DETECT_PA portduino config, and support 13302 detection with it ( #9741 )
...
* Add GPIO_DETECT_PA portduino config, and support 13302 detection with it.
* Tweak PA detect gpio to use pinMapping
* minor yaml output fixes
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-02-25 14:18:07 -06:00
Jonathan Bennett and GitHub
31fe15bb73
ExternalNotification and StatusLED now call AmbientLighting to update… ( #9554 )
...
* ExternalNotification and StatusLED now call AmbientLighting to update RGB LEDs. Add optional heartbeat
* Don't overwrite RGB state if heartbeat is disabled.
* Use the right define
* Remove another .h and make rgb static
* move rgb objects into AmbientLighting class
* Straighten out AmbientLighting Thread object
* Use %f for floats
2026-02-11 12:02:22 -06:00
Jonathan Bennett and GitHub
75f3d123f3
Add sdl libs for native builds ( #9595 )
...
* Add sdl libs for native builds
* Alpine try again
2026-02-11 06:29:16 -06:00
Jonathan Bennett and GitHub
df0ee74b30
Add battery curve for T-Beam 1 watt ( #9585 )
2026-02-09 17:33:06 -06:00
Jonathan Bennett and GitHub
0df8719fc8
Temporarily un-renovate libch341 ( #9587 )
2026-02-09 13:30:27 -06:00
Jonathan Bennett and GitHub
4ce554e09d
Make LED_POWER blip even in critical battery ( #9545 )
2026-02-08 06:49:30 -06:00
Jonathan Bennett and GitHub
eb145f8adc
Add support for CW2015 LiPo battery fuel gauge ( #9564 )
...
* Add support for CW2015 LiPo battery fuel gauge
* Address Copilot's concerns, minor fixups
2026-02-07 22:30:14 -06:00
Jonathan Bennett and GitHub
2361776992
Rename LED_PIN to LED_POWER, move handling out of main to dedicated module ( #9512 )
...
* Rename LED_PIN to LED_POWER, move handling out of main to dedicated module
* Misc
* Remove errant endif
2026-02-05 05:41:00 -06:00
ac611c4b62
Add agc reset attempt ( #8163 )
...
* Add agc reset attempt
* Add radioLibInterface include
* Trunk
* AGC reset don't crash, don't naively call
* Update src/main.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Use Throttle function
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-04 14:47:44 -06:00
644fa5b54e
Power off control pin on Thinknode m5 during deepsleep and add RTC ( #9510 )
...
* Power off control pin on Thinknode m5 during deepsleep
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Finish HAS_RTC cleanup
* Add RTC for Thinknode M5
* Don't double-init Wire
* Specify the RTC chip directly rather than use SensorRtcHelper.
Saves a bit of flash, and avoid mis-detection
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-03 06:07:33 -06:00
Jonathan Bennett and GitHub
f514bc230b
Prefer EXT_PWR_DETECT pin over chargingVolt to detect power unplugged ( #9511 )
2026-02-03 00:13:49 -06:00
Jonathan Bennett and GitHub
9d06c1bf34
Add StatusMessage module and config overrides ( #9351 )
...
* Add StatusMessage module and config overrides
* Trunk
* Don't reboot node simply for a StatusMessage config update
2026-01-31 14:55:51 -06:00
Jonathan Bennett and GitHub
1d30342c00
Don't ever define PIN_LED or BLE_LED_INVERTED ( #9494 )
...
* Don't ever define PIN_LED
* Deprecate BLE_LED_INVERTED
2026-01-31 12:15:06 -06:00
7b03980e0a
Refuse to send legacy DMs simply because the remote public key is unknown ( #9485 )
...
* Refuse to send legacy DMs simply because the remote public key is unknown
* Update src/mesh/Router.cpp - use more specific error
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/mesh/Router.cpp - more detail in warning message
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-30 13:46:24 -06:00
Jonathan Bennett and GitHub
8f630bfcf3
Fix typo in LED state comment
...
And removed unused define
2026-01-30 12:52:17 -06:00
Jonathan Bennett and GitHub
200e79e800
You get an RTC, and you get an RTC! (delete HAS_RTC as it wasn't actually doing much) ( #9493 )
2026-01-30 11:54:49 -06:00
Jonathan Bennett
4cf01e7e53
Adjust pin poweroff for Thinknode M6
2026-01-30 10:05:26 -06:00
Jonathan Bennett
ad4b1d9c2b
re-enable RTC support on THINKNODE M3 and M6
2026-01-30 09:50:47 -06:00
Jonathan Bennett
5dd06edd00
Add ledOff if not defined
2026-01-29 13:24:10 -06:00
Jonathan Bennett
eeb7373043
Remove errant symbol
2026-01-29 13:23:49 -06:00
Jonathan Bennett and GitHub
dbded86dcb
More variant.h cleanup. LED_NOTIFICATION, remove dead code, etc ( #9477 )
2026-01-29 12:51:48 -06:00
Jonathan Bennett and GitHub
45fbc0f9d3
Remove stale variant.h defines ( #9470 )
...
* Remove noop CANNED_MESSAGE_MODULE_ENABLE define
* Remove over-eager warning removal
* Remove unused LED_CONN
* Dead defines removal
* Rename oddball LED pin name
* Rename second oddball LED pin name
* Remove another dead define
2026-01-29 10:58:06 -06:00
Jonathan Bennett
df400850c1
Undefine LED_BUILTIN where needed
2026-01-28 18:56:57 -06:00
Jonathan Bennett
6ab2f02dbc
re-add unintentionally removed include
2026-01-28 17:53:12 -06:00
Jonathan Bennett and GitHub
4fd0a8276b
Just set LED_BUILTIN universally to -1, as we don't use it. ( #8830 )
...
* Just set LED_BUILTIN universally to -1, as we don't use it.
* LUD_BUILTIN workarounds
* Squash the LED_BUILTINs that sneaked in
* Don't kill valid pin derfine
2026-01-28 17:09:13 -06:00
1d219a93ab
Move input init to an init function in InputBroker ( #9463 )
...
* Move input init to an init function in iInputBroker
* Unbreak targets with EXCLUDE_INPUTBROKER
* Update src/input/InputBroker.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix conditional compilation for input broker
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-28 14:58:05 -06:00
571c1ac34c
Initial serialModule cleanup ( #9465 )
...
* Initial serialModule cleanup
* Move SERIAL_PRINT_PORT definition to variant.h
* Add missed c6 check
* Update src/modules/SerialModule.cpp
Compile error for invalid SERIAL_PRINT_OBJECT value
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-28 14:08:32 -06:00
Jonathan Bennett and GitHub
69a42e1fd2
Add portduino_status, assign hardware device IDs... ( #9441 )
...
* Add portduino_status, assign hardware device IDs, and try to recover a CH341 device on a USB error
* Minor fixes suggested by Copilot
2026-01-27 18:00:20 -06:00
Jonathan Bennett and GitHub
fd498bebad
Add support for Hackaday Communicator function keys ( #9444 )
2026-01-27 16:09:18 -06:00
Jonathan Bennett and GitHub
10b2eae70c
Move more code out of main-nrf52 into variant.cpp ( #9450 )
2026-01-27 13:56:32 -06:00
Jonathan Bennett and GitHub
91ad861b26
Add Thinknode M4 variant_shutdown() ( #9449 )
2026-01-27 09:56:56 -06:00
Jonathan Bennett and GitHub
a2e8e232f1
Remove the unused OCV_ARRAYs and move one to a variant.h ( #9442 )
2026-01-26 16:58:16 -06:00
Jonathan Bennett and GitHub
3d58c6e916
Trackball revamp ( #9440 )
...
* Trackball revamp
* Use Throttle
* Volatile!
2026-01-26 14:28:05 -06:00
Jonathan Bennett and GitHub
c038cfe69a
Move device code from main.cpp to earlyInitVariant ( #9438 )
2026-01-26 11:54:14 -06:00
Jonathan Bennett and GitHub
8a9830282a
Move Lora Init code into LoraInit.cpp/h ( #9435 )
...
* Move Lora Init code into LoraInit.cpp/h
* Add missed extern definition
* More carefully check for nullptr in LoraInit.cpp
* STM32 fixes
* Add extern SPI1 for HW_SPI1_DEVICE
* Move initLora to RadioInterface.h
2026-01-25 20:54:17 -06:00
Jonathan Bennett and GitHub
6d6a0734b0
Add pin sense to wake M6 on Solar Charge ( #9416 )
2026-01-23 15:37:16 -06:00
Jonathan Bennett and GitHub
c38aff7e52
Add interrupt for external charge detection ( #9332 )
...
Tested on Thinknode m4, m6, and T1000-e
2026-01-19 15:39:24 -06:00
Jonathan Bennett
e545897d4e
Untangle some BME680 ifdef spaghetti
2026-01-18 21:28:20 -06:00
Jonathan Bennett and GitHub
afbd9e2180
Filter BLE updates that don't change pairing status ( #9333 )
2026-01-16 13:52:04 -06:00
Jonathan Bennett and GitHub
5d7d1ae7a5
Adds Custom battery curve for thinknode m6 ( #9313 )
2026-01-14 11:40:35 -06:00
Jonathan Bennett and GitHub
b6b129650a
Extra pins ( #9260 )
...
* Maybe add working extra GPIO pins to portduino
* Fix typo and add config.yaml example for ExtraPins
* Write extra pins back out with -y flag
2026-01-11 18:27:06 -06:00
Jonathan Bennett and GitHub
c45c217743
Remove a strlcpy reference ( #9249 )
2026-01-10 19:36:40 -06:00
Jonathan Bennett and GitHub
b002844aa0
Add Rak 6421 autoconf ( #9010 )
...
* Add Rak 6421 autoconf
* Minor memory safety hardening
2026-01-09 11:36:53 -06:00
Jonathan Bennett and GitHub
b12acba44f
CH341 MAC address derivation from serial and product string ( #9226 )
...
Updated MAC address derivation logic to include product string in hashing.
2026-01-09 05:42:00 -06:00
Jonathan Bennett and GitHub
489de09375
Use correct name for ALT_BUTTON_PIN ( #9225 )
2026-01-08 19:19:17 -06:00
Jonathan Bennett
792e930e45
Trunk
2026-01-08 12:07:14 -06:00
Jonathan Bennett and GitHub
fb7af18f4f
Add needed support bits for the Meshstick ( #9042 )
...
* Add needed support bits for the Meshstick
* Portduino: Reduce allowed length by one byte to prevent possible overflow
2026-01-07 23:04:02 -06:00
4d303c95d1
Add list of text message packet IDs, and check for dupes ( #9180 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-01-07 16:17:38 -06:00
Jonathan Bennett
1669a027e6
BME680 on Native
...
Co-authored-by: juanjin-dev <juanjin.dev@gmail.com >
2026-01-05 19:33:41 -06:00
Jonathan Bennett and GitHub
f63dadd19e
Add custom coding rate configuration for LoRa ( #9155 )
2026-01-02 16:23:01 -06:00
Jonathan Bennett and GitHub
a5b2d4a9d5
Add null check for p_encrypted before MQTT publish ( #9136 )
...
* Add null check for p_encrypted before MQTT publish
A user on BayMesh observed a strange crash in MQTT::onSend that seemed to be a null pointer dereference of this value.
* Trunk
2026-01-01 13:53:36 -06:00
Jonathan Bennett and GitHub
da9d71190f
Add STORE_FORWARD_PLUSPLUS_APP to core portnum checks ( #9127 )
2025-12-30 19:04:19 -06:00
Jonathan Bennett
63aadba526
Use IF_SCREEN macro to guard against null screen object
2025-12-28 11:33:14 -06:00
Jonathan Bennett
ac937766cd
In autoconf, don't probe Wire unless i2c device is set ( #9081 )
...
Found another bit of code that crashes my desktop, by probing the wrong i2c bus.
2025-12-26 22:22:32 -06:00
Jonathan Bennett and Ben Meadors
4fbe5356ca
M6 shutdown and LEDs work ( #9065 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-12-26 22:22:32 -06:00
Jonathan Bennett
b88a8bf968
In statusLEDModule, also detect isCharging ( #9050 )
2025-12-26 22:22:32 -06:00
Jonathan Bennett and GitHub
9dc7ef612e
In autoconf, don't probe Wire unless i2c device is set ( #9081 )
...
Found another bit of code that crashes my desktop, by probing the wrong i2c bus.
2025-12-26 14:33:17 -06:00
54a928f47f
M6 shutdown and LEDs work ( #9065 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2025-12-24 07:48:14 -06:00
Jonathan Bennett and GitHub
d609d05698
In statusLEDModule, also detect isCharging ( #9050 )
2025-12-23 07:48:55 -06:00
Jonathan Bennett and GitHub
cadf151826
In protobuf update, allow develop branch to auto-update ( #9027 )
2025-12-20 11:11:21 -06:00
5262233b2d
More blinkenlights work for Thinknode-m3 ( #8940 )
...
* More blinkenlights work for Thinknode-m3
* Update src/mesh/NodeDB.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-17 19:52:55 -06:00
5b299f3ede
Prep work for better Store and Forward ( #8999 )
...
* make channels.h getHash public
* router.* make the encrypted packet copy available for modules to access
* Update src/mesh/Router.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Set p_encrypted to nullptr after release
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-17 12:03:29 -06:00
Jonathan Bennett and GitHub
f1aefc4eef
Detect if NTP is active on native ( #8962 )
...
* Detect if NTP is active on native
* Drop debug warning
2025-12-16 20:40:29 -06:00
Jonathan Bennett and GitHub
b74238194b
Add JSON packet recording option to native ( #8930 )
2025-12-12 18:30:43 -06:00
Jonathan Bennett and GitHub
a8fa5f25cb
Properly turn off power pins at shutdown for m3 ( #8935 )
2025-12-11 10:23:45 -06:00
Jonathan Bennett and GitHub
fba92229a6
Add I2C device check for seesaw device on native ( #8927 )
...
It turns out the logic here was attempting to access i2c without being told to do so. Not good, especially on desktops.
2025-12-10 18:01:52 -06:00
Jonathan Bennett and GitHub
83b603827c
Enable Muzi-base LED notification ( #8925 )
2025-12-10 16:29:50 -06:00
Jonathan Bennett and GitHub
65c418d4e1
Update protobuf name of FRIED_CHICKEN ( #8903 )
2025-12-09 11:13:59 +11:00
Jonathan Bennett and GitHub
c3a69a2742
Fix backwards buttons on Thinknode-M1 ( #8901 )
2025-12-08 17:58:23 -06:00
Jonathan Bennett and GitHub
8a43741589
Add 'cleanup' to required PR labels ( #8835 )
2025-12-02 05:48:19 -06:00
Jonathan Bennett and GitHub
525c048354
Move device specific OCV curves to their respective device.h ( #8834 )
2025-12-02 05:46:24 -06:00
Jonathan Bennett and GitHub
41cbd77db3
Move everything from /arch to /variant ( #8831 )
2025-12-02 08:56:55 +01:00
Jonathan Bennett and GitHub
5b1b420cad
Add initial support for Hackaday Communicator ( #8771 )
...
* Add initial support for Hackaday Communicator
* Fork it!
* Trunk
* Remove unused elements from the HackadayCommunicatorKeyboard
* Don't divide by zero.
2025-11-30 17:21:10 -06:00