Commit Graph
59 Commits
Author SHA1 Message Date
Frieder Schrempf f401f68309 Remove NRF52BoardOTA class and integrate it into NRF52Board
As all NRF52 boards now have OTA support, let's remove the subclass
and integrate it into the base class.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2026-01-08 22:46:20 +01:00
Frieder Schrempf c39edc32da variants: ProMicro: Use DC/DC regulator
The schematic shows the LC circuit for the internal DC/DC regulator
to be available. Enable it to save power.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2026-01-08 22:44:22 +01:00
João Brázio e2582f9a4e Add RS232 bridge environment configuration for ProMicro 2025-12-28 20:04:57 +00:00
Frieder Schrempf 6a06a12476 Deduplicate NRF52 startOTAUpdate()
The startOTAUpdate() is the same for all NRF52 boards. Use a common
implementation for all boards that currently have a specific
implementation.

The following boards currently have an empty startOTAUpdate() for
whatever reasons and therefore are not inheriting NRF52BoardOTA to
keep the same state: Nano G2 Ultra, Seeed SenseCAP T1000-E,
Wio WM1110.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-12-17 10:30:50 +01:00
Frieder Schrempf b9958e1c99 Use common NRF52 begin() and deduplicate() startup reason init
Use a common begin() method that can be called from derived classes
to contain the shared initialization code.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-12-17 10:26:57 +01:00
Frieder Schrempf 2f79f3b03d Deduplicate reboot() for NRF52 boards
The reboot() method is the same for all NRF52 boards. Use a shared
implementation.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-12-17 10:25:16 +01:00
Kevin Le 2c47d417d9 Added default temperature from ESP32 MCU and NRF52 MCU
Added NRF52Board.h and NRF52Board.cpp
Modified NRF52 variants to extend from NRF52Board to share common feature
2025-12-12 19:01:15 +07:00
ripplebiz 393bcba717 Merge pull request #1133 from oltaco/repeater-adc-multiplier-setting
Feature: configurable adc.multiplier for repeaters
2025-11-22 14:50:23 +11:00
taco f5e8ab74f5 tweaks get/set adcMultiplier logic 2025-11-21 23:44:17 +11:00
taco da55ff8936 Repeater: add adc.multiplier setting 2025-11-21 18:15:30 +11:00
taco 773baf63c6 rename adverts 2025-11-21 17:57:49 +11:00
taco a2b5a2bed1 rename faketec to promicro 2025-11-21 12:48:33 +11:00
liamcottle c5932a6878 increase MAX_NEIGHBOURS from 8 to 50 2025-09-28 16:11:58 +13:00
João Brázio 5ec27c879c Normalize repeater target names 2025-09-10 23:56:07 +01:00
taco 9e26b0eb3d new ldscript for extrafs nrf companion envs 2025-09-09 16:55:46 +10:00
taco 7a6ed7fe98 nrf52 targets: increase limits for contacts and channels 2025-09-06 14:15:40 +10:00
taco a420b85a5c fix: promicro: add powerOff 2025-09-02 21:30:51 +10:00
Scott Powell a4db089cd8 * original UITask now in /ui-orig folder 2025-08-16 21:09:35 +10:00
MikesAllotment 56c1b8b5e6 Added support for new EnhancedUI MomentaryButton
for Heltec V2 and Faketec ProMicro variants
2025-08-14 14:17:26 +01:00
recrof cd07274c61 promicro: added sensor role 2025-07-24 17:37:35 +02:00
recrof 398736dccf move radiolib wrappers to dedicated directory 2025-07-13 11:37:33 +02:00
Normunds Gavars 5afdb175c4 393 clean up Promicro variant 2025-07-10 00:08:59 +03:00
recrof 2255ece665 add support for BMP280 temperature+pressure sensor 2025-06-29 00:17:46 +02:00
taco fa33f8fc49 refactor: promicro with CustomSX1262::std_init()
added check in CustomSX1262.h to support both txco and non-txco radios
switched promicro to use CustomSX1262::std_init()
2025-06-20 11:22:34 +10:00
Scott Powell 3e80c41d16 * enabling _PRIVATE_KEY import/export for ALL companions. 2025-06-07 14:20:59 +10:00
hank 81a39f04d9 Refactored MyMesh, advert on doublepress
Pulled the class out of main.cpp, made a header to go along with it, externed globals in headers to make them accessible to button code. Added button code to send an advert on double press. Refactored ini files to prevent linker errors.
2025-05-31 19:11:28 -07:00
taco 31b29e84f7 refactor: more conditionals for GPS
also re-added some missing returns.
2025-05-23 18:58:45 +10:00
taco 18ccee7f17 REFACTOR: sensors are now wrapped in conditionals 2025-05-23 17:08:23 +10:00
taco 68c2f1c864 added serial GPS support to EnvironmentSensorClass
based on T114 serial GPS and EnvironmentSensorClass.
2025-05-22 15:36:20 +10:00
Normunds Gavars d804e46dd3 Add sensors to build path for ProMicroLLCC68 2025-05-22 00:35:03 +03:00
Normunds Gavars 66ef5c38ae Remove sensor wrapper classes and simplify. Switch to Adafruit libs for sensors. 2025-05-22 00:19:00 +03:00
Normunds Gavars ba4dbfbe66 Remove unnecessary include 2025-05-19 20:30:58 +03:00
Normunds Gavars d55b2527be Telemetry: Create BME280 sensor that can bu used across variants. Add to promicro. 2025-05-19 19:37:30 +03:00
Normunds Gavars a7c7de4ffa Create sensor classes that can be shared across variants 2025-05-19 17:24:54 +03:00
Scott Powell 19d506f4b3 * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
Normunds Gavars ec755a539b Telemetry: add support of AHT10/AHT20 temp/humidity sensor to Promicro 2025-05-16 15:03:42 +03:00
Normunds Gavars d5655e4f0a Promicro: add support for INA219 current sensor 2025-05-15 00:21:51 +03:00
Normunds Gavars de02c0c01f 283 Promicro: add INA3221 library dependency to all build targets 2025-05-14 18:19:53 +03:00
ripplebiz ed5d462b65 Merge pull request #285 from liamcottle/feature/offline-queue-increase
Increase offline queue size to 256 for all companion ble firmwares
2025-05-14 21:28:02 +10:00
Scott Powell 58f1ce55ab * Promicro: some refactors, minor fixes for INA3221 sensors 2025-05-14 21:22:26 +10:00
ripplebiz 3193e8c3f2 Merge pull request #284 from ngavars/main
Telemetry: INA3221 current sensor support for Promicro
2025-05-14 21:07:22 +10:00
liamcottle 19a293ca09 increase offline queue size from 16 to 256 for all companion ble firmwares 2025-05-14 23:02:49 +12:00
Normunds Gavars a614fe2cb2 283 minor cleanup 2025-05-14 13:58:52 +03:00
Normunds Gavars 2b91bde4a9 283 add new permision for access to environment sensors 2025-05-14 13:55:45 +03:00
Normunds Gavars 016072e45a 283 remove settingsManager and avoid the String class 2025-05-14 13:27:57 +03:00
Normunds Gavars dbd90ec41a 283 Add support of INA3221 to Promicro telemetry 2025-05-13 23:52:49 +03:00
recrof 20ed6d072f raise current limit to max for sx126x and sx127x 2025-05-12 10:19:33 +02:00
liamcottle e156096762 enable neighbours feature for all repeater variants 2025-05-07 20:26:15 +12:00
recrof 7ef5de4da0 disable debug flags that were not commented out after debugging 2025-05-05 22:48:21 +02:00
Scott Powell 2745f73f50 * new: SensorManager
* BasChatMesh: new onContactRequest(), for PAYLOAD_TYPE_REQ handling.
* companion, repeater and room_server: now with basic 'plumbing' to handle REQ_TYPE_GET_TELEMETRY_DATA (0x03).
* dependency: added CayenneLPP to libdeps
* all target.* modules now with a stub 'sensors' object.
2025-05-03 13:14:03 +10:00