Commit Graph

2147 Commits

Author SHA1 Message Date
Nicolas Schurando
c456570875 Add STM32U0 RTC support for sleep (extends #1586) (#1592)
The STM32U0 series uses ICSR instead of ISR for the RTC initialization status register, and has a combined RTC_TAMP_IRQn instead of a separate RTC_WKUP_IRQn. Add a dedicated init block so sleep/wakeup works correctly on this family.

Co-authored-by: Nicolas Schurando <nicolas@schurando.fr>
2026-02-15 20:51:11 +01:00
Olivier
dd12875b37 Fix Sleeping, voltage and temperature readings (#1591) 2026-02-14 09:38:22 +01:00
Olivier
d6525d4c2e MySensors Diagnostics (#1333)
* MySensors Diagnostics

* Fix Cppcheck issues

* Fix formatting in PrintHex8 function
2026-02-07 15:11:27 +01:00
Olivier
18d07471b2 Fix Pointer arithmetic error in hwUniqueID() (#1589) 2026-02-07 14:14:17 +01:00
alexelite
b8f8b6e2dd RFM69: fix incorrect RSSI on Raspberry Pi SPI (#1511)
On Raspberry Pi SPI, interrupt handling latency can be milliseconds.
RFM69 continues updating RSSI after PayloadReady, resulting in
artificially low RSSI values.

Enable AutoMode to switch RX to STDBY on PayloadReady, freezing
RSSI at the correct packet reception time.

Note: with AutoMode enabled, PAYLOADREADY is not set in IRQFLAGS2.
Use the AUTOMODE flag in IRQFLAGS1 to detect the RX to STDBY
transition.
2026-01-03 18:58:50 +01:00
Olivier
8eea242512 Prepare 2.4.0 release (#1587) 2026-01-01 11:36:35 +01:00
Olivier
bf12bd6dcf Delete hal/architecture/STM32F1 directory 2025-12-29 11:51:11 +01:00
dirkju
9369c67903 STM32 sleep support (#1586)
* adding STM32 HAL sleep implementation

* fixed formatting

* added STM32F1 sleep support (legacy RTC)

* clean up code, no functional change

* fixed static analysis warnings
2025-12-24 17:50:13 +01:00
Olivier
bd94b61bed Fix build status message for nRF52 2025-12-24 17:37:31 +01:00
Olivier
c3fc0ff413 Fix deprecation warnings (#1585) 2025-11-29 17:34:21 +01:00
Olivier
c6a82f9976 Change default parallel jobs from 4 to 2 2025-11-26 19:16:19 +01:00
Olivier
041462f94e Refactor variable declaration for return status 2025-11-24 22:04:37 +01:00
Eduard Iten
969f3932aa Fixed compile error for ESP8266 on newest toolchain (#1560)
* Fixed compile error on newest xtensa toolchain

* Fixed compile error on newest xtensa toolchain
2025-11-24 18:28:14 +01:00
Olivier
95c55e90ed Update CI pipeline (#1584) 2025-11-24 13:46:20 +01:00
Olivier
467979f46c Refactor pipeline.groovy (#1582)
* Refactor pipeline.groovy

* Refactor pipeline.groovy for improved readability

* Refactor CI pipeline with helper functions

Refactor pipeline script to improve readability and maintainability. Introduced helper functions for Git SHA resolution and pre-registering build statuses.
2025-11-23 20:33:36 +01:00
Olivier
96c4df79e8 Unify STM32 implementation, remove legacy STM32F1 (#1579)
* Unify STM32 implementation, remove legacy STM32F1

* Add build stage for STM32F4 examples

* Apply restyling patch

* Update fqbn for STM32F1 and STM32F4 builds

* Update fqbn parameters for STM32F1 and STM32F4 builds

* Update fqbn for STM32F1 to use BLUEPILL_F103C8

* Add STM32F4 build stages to pipeline

* Fix condition for setting build status on failure
2025-11-23 14:13:11 +01:00
Olivier
130091deb8 Refactor cppCheck function for improved clarity (#1581)
* Refactor cppCheck function for improved clarity

* Fix cppcheck command to specify C++ language

* Fix grep command to check cppcheck report format
2025-11-22 23:35:20 +01:00
Olivier
4daf09307e Update capability indicators PJON/SX126x (#1578) 2025-11-19 08:52:58 +01:00
Olivier
77982d3ce0 Fix formatting of Doxygen comments warning message 2025-11-18 01:03:03 +02:00
Olivier
cbd2478797 Improve output message for missing Doxygen comments
Updated the message format for missing keywords in Doxygen comments.
2025-11-18 00:58:26 +02:00
Olivier
8b5d6e6b76 Fix Jenkins reporting (#1577) 2025-11-18 00:49:09 +02:00
Olivier
a58ee1deb4 Fix STM32 debug print (#1576) 2025-11-17 21:06:51 +02:00
rstephan
93db0e1e68 Removed local plantuml.jar file (#1467)
* Find a local plantuml installation

Search the usual location for the jar file and use it instead.
It will work for debian/ubuntu, fedora and arch.

* Nicer layout for the dev-env readme

* Optional tools to make the docs

What's needed to generate the documentation.
How to run it.

* plantuml.jar removed

No need to keep a local copy of the jar-file.
doxygen.sh will find a version, if installed from the package manager.

* Added homebrew support for plantuml
2025-11-17 17:56:06 +02:00
Olivier
0b94c2dc1a Update comments (#1574) 2025-11-17 17:29:49 +02:00
Olivier
403c2e970d Add STM32 temperature gain and offset keywords (#1573)
Fix Jenkins warning
2025-11-17 01:00:04 +02:00
Olivier
2b28c0156a Fix preprocessor directive formatting in MyHwSTM32.cpp 2025-11-17 00:14:29 +02:00
dirkju
1d0e25fbc8 Arduino_core_STM32 support (improved) (#1571)
* Arduino_core_STM32 support v1 after three previous attempts failed or were abandoned (#1422, #1437, #1486)

* fixed compile warning on redefined (v)snprintf

* add missing WDG reset, harden VREF and ATEMP to fail gracefully when not available
2025-11-14 22:25:33 +02:00
hypnosiss
43d4a148d2 Add new type of sensor data - V_TILT (#1570)
Co-authored-by: Mariusz Waszczynski (Nokia) <mariusz.waszczynski@nokia.com>
2025-07-03 10:46:02 +02:00
Olivier
3020658f9a Update RF24.cpp (#1569)
Fix #1568
2025-05-05 11:07:26 +01:00
Frantisek Repkovsky
e298769eb7 Fix building RFM69 gw on 64-bit OS (#1559)
Rollback change done in #1551 (the issue was fixed in #1500)
2024-01-28 09:36:07 +01:00
pixel::doc
0af72015da Update MyConfig.h (#1554)
URL for allowed (German) Channel updated.
2023-10-20 20:58:54 +02:00
Frantisek Repkovsky
27849cbc88 Fix mysgw configure script and building RFM69 gw on 64-bit OS (#1552)
* Fix configure script errors on 64-bit OS (#1550)

Use only gcc flags relevant to aarch64 for 64-bit RPI SoCs on 64-bit
OS version

* Fix mysgw build errors on 64-bit OS (#1551)

Force data type for the parameter of min() function to avoid conflicts
2023-10-13 20:52:35 +02:00
lyuboasenov
8d45e7bad7 Add support for ATtiny 3224/7 (#1535)
* Add hal for megaAvrs

* Add mcu selector setting

* Register hal

* Pull up pins to save power

* Remove dead code

* Add before/after sleep delegates

* Remove pin turn stable state setting

* Make hardware messages mysensors alike

* Enable route size reduction for devices with smaller eeprom

* Add macro for routes size to keywords

* Fix keyworkds.txt - using tabs instead of spaces

* Remove tinyAVR hardware debugging

* Remove unused macros

* Remove .history folder

* Fix formatting according to astyle

* Remove unused count variable

* Update MyTransportHAL.cpp

---------

Co-authored-by: Olivier <tekka007@users.noreply.github.com>
2023-10-12 08:47:53 +02:00
Vita
aa3583c50f Fix compilation of RFM69_new driver on aarch64 architecture (#1500) 2023-10-07 12:06:35 +02:00
Olivier
64fcecee46 Fix Jenkins warnings (#1548)
* Added support for ASR650x and SX126x

* Added support for ASR650x and SX126x

* Fix jenkins warnings

---------

Co-authored-by: Eduard Iten <eduard@iten.pro>
2023-06-17 14:40:41 +02:00
Eduard Iten
b9c4a4cd56 Enable light sleep on ESP32. Fixed style (#1546) 2023-04-04 22:34:22 +02:00
Paolo Rendano
aa520cea83 Switch WaterPulseSensor example to m3/h (#1541) 2023-02-08 13:40:35 +01:00
Paolo Rendano
bf79d13c19 WaterPulseSensor example improvements (#1540) 2023-01-27 23:14:11 +01:00
Olivier
093afa0a8a Update CI (#1531) 2022-09-04 10:06:00 +02:00
Nik Collins
94fa567c97 Fix nrf5-esb-mode default (#1473) 2022-09-04 09:15:14 +02:00
ltigges
a7d692f518 Removed a bug in MyMainSAMD.cpp to support ATSAM without USB (#1532) 2022-08-21 17:31:40 +02:00
Olivier
253109d3ff Upate CI and HW defs (#1530) 2022-07-24 10:55:35 +02:00
Virtual Maker
6e4206b0f0 Simplify MyMainESP8266 for core 3.0.x (#1496) (#1524)
and replace ICACHE_RAM_ATTR by IRAM_ATTR
2022-07-08 15:04:50 +02:00
Marcin Kamionowski
7f2fa37c03 Fix buffer overflow (#1525)
Co-authored-by: Marcin Kamionowski <marcink@sparkbit.pl>
2022-07-08 10:26:39 +02:00
Virtual Maker
40a3b2f921 Change N2N if destination is not parent or broadcast (#1478) (#1479) 2022-07-08 10:25:08 +02:00
gryzli133
8b51ea798e Update MyTransportPJON.cpp (#1526)
Enabling to define different value of PJON_POLLING_DURATION
2022-07-08 10:22:54 +02:00
Tico06
97a70a1407 New TLS implementation (#1520)
* New TLS implementation

Implement TLS to mqtt server thanks to WiFiClientSecure class

* New TLS implementation

Implement TLS to mqtt server thanks to WiFiClientSecure class

* New TLS implementation

Implement TLS to mqtt server thanks to WiFiClientSecure class

* New TLS implementation

Implement TLS to mqtt server thanks to WiFiClientSecure class

* Update MyConfig.h

Typo

* Update GatewayESP8266SecureMQTTClient.ino

Typo

* MyGatewayTransportMQTTClient.cpp updated

Move tls settings to bool gatewayTransportInit(void)

* MySensors code styling applied by GIT

* Try to fix Doxygen warnings

* Doxygen warnings fixed hopefuly

* MY_GATEWAY_ESP8266_SECURE doc added

* MY_GATEWAY_ESP8266_SECURE doc completed

* Avoid platform cross compiling

* Replaced spaces indent by tabs

* Multilines comments to /*
2022-07-08 10:16:03 +02:00
prawnpie
b49817b440 Signing docs proofread - fixing English and cleaning up wording (#1522)
* Signing docs proofread

* Fix trailing spaces
2022-07-08 09:42:19 +02:00
Virtual Maker
3f37f8d91a Replace memset() in PJONDefines.h to avoid build warning (#1527) (#1528) 2022-07-06 21:12:45 +02:00
Vita
423b9d790a ROCK Pi 4 (RK3399) support (#1499)
* ROCK Pi 4 (RK3399) support

* Code style
2022-04-18 08:21:14 +02:00