Jonathan Bennett and GitHub
767a748188
add optional LED_LORA to indicate LoRa TX ( #10465 )
2026-05-16 22:11:49 -05:00
871194517d
Ble banner ( #8902 )
...
* Drop unneeded Sizeof() instances
* Use SimpleBanner for BLE pin
* Support for different font sizes on notification banner
* Fix NRF52 BLE cppcheck shadow warning
Agent-Logs-Url: https://github.com/meshtastic/firmware/sessions/de12b52c-49d5-452a-b3fb-344724649270
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: HarukiToreda <116696711+HarukiToreda@users.noreply.github.com >
Co-authored-by: Jason P <applewiz@mac.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com >
2026-05-13 11:02:19 -05:00
Jonathan Bennett
1c06b702dc
Merge remote-tracking branch 'origin/master' into develop
2026-05-11 15:07:22 -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
da61a0db7d
Refactor mutex handling in PhoneAPI.cpp
...
Replace LockGuard with explicit lock and unlock calls to avoid deadlock
2026-05-11 11:45:14 -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
Jonathan Bennett
bb86cf4e81
Merge remote-tracking branch 'origin/master' into develop
2026-05-04 18:10:59 -05:00
Jonathan Bennett and GitHub
6ea0d5ebba
Add TFT_BACKLIGHT_ON for cardputer to fix builds ( #10387 )
2026-05-04 16:19:48 -05:00
Jonathan Bennett and GitHub
b7a9555905
Update RadioLib dependency to a specific commit ( #10370 )
...
Exploratory PR to test new radiolib change
2026-05-01 12:50:07 -05:00
Jonathan Bennett
989b8620ba
Merge remote-tracking branch 'origin/master' into develop
2026-04-30 10:49:26 -05:00
Jonathan Bennett and GitHub
24c4162a75
Standardize PMU IRQ handling and enable power button cancel on tbeam-s3 ( #10285 )
...
* Standardize PMU IRQ handling and enable power button as cancel on tbeam s3
* Original T-beam, too
2026-04-26 19:58:23 -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
7adfc3f992
Remove incorrect LED_STATE_ON definition for t-beam-s3 ( #10280 )
...
Fixes #9912 and #10170
2026-04-24 15:17:33 +10:00
Jonathan Bennett and GitHub
837637b70c
Only enable wakeup via EXT_CHRG_DETECT if we shut down due to low power ( #10263 )
2026-04-23 15:37:35 -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
28e705de5c
Detach power interrupts for sleep ( #10230 )
...
* Detach power interrupts for sleep
* Gate PMU IRQ behind a found PMU
2026-04-22 14:27:48 -05:00
Jonathan Bennett
b53fe7a1e7
T watch pinfix ( #10231 )
...
* Minor button debugging bits
* pin0 is a pin, pin -1 means disabled
2026-04-21 20:03:40 -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
3a87e746a8
No longer need undefines, thanks to #10179 ( #10180 )
2026-04-16 21:34:28 -05:00
Jonathan Bennett and GitHub
2768080edf
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-16 13:12:31 -05:00
0cab43fb43
Add PortduinoSetOptions to overwrite the realhardware bool ( #10157 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2026-04-14 21:32:48 +02:00
Jonathan Bennett and GitHub
125c1b7f13
Make consoleInit() Reentrant, and initialize it earlier on native ( #10156 )
2026-04-14 06:41:04 -05:00
Jonathan Bennett
69495dcd98
Merge remote-tracking branch 'origin/master' into develop
2026-04-12 17:29:40 -05:00
Jonathan Bennett and GitHub
8061f83704
Modify log output to show milliseconds ( #10115 )
...
Updated timestamp format to include milliseconds.
2026-04-10 07:21:24 -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