Commit Graph

2140 Commits

Author SHA1 Message Date
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
klaudiusz223
4afa7a6443 RS485: Fix Auto ID assignment (#1451)
* S485: Fix auto id assignment

* RS485: assertDE(),deassertDE() cleanup

Co-authored-by: Klaudiusz <Klaudiusz>
2022-04-14 07:39:01 +02:00
Mikael Falkvidd
263ea26363 Mysgw configure: Exit on illegal parameters (#1519)
The user probably made a mistake. Let the user correct the mistake
before continuing.

Ref: https://github.com/mysensors/MySensors/issues/1518

Example output after this change:
$ ./configure --my-transport=laser
[SECTION] Detecting target machine.
[OK] machine detected: SoC=unknown, Type=unknown, CPU=x86_64.
[SECTION] Checking GPIO Sysfs.
  [WARNING] /sys/class/gpio/export not found.
[SECTION] Detecting SPI driver.
  [WARNING] No supported SPI driver detected. Using SPIDEV.
[SECTION] Gateway configuration.
  [OK] Type: ethernet.
[ERROR] Invalid transport type laser.
$ ./configure --my-mqtt-username=user
[ERROR] Unknown option detected: --my-mqtt-username=user
2022-04-07 14:16:05 +02:00
Constantin Petra
d62ca6d426 Add multi-message support (#1517) (#1515)
Excellent contribution by @cpetra ! Thanks to @virtual-maker for extensive feedback on the PR.
2022-02-17 22:46:40 +01:00
Julian Sanin
aa76d26615 Update hwCPUVoltage to support ATmega1284P (#1494)
Thanks for this contribution @j54n1n 

That microcontroller gets used for example on the MoteinoMEGA board
from LowPowerLab.

Resolves: #1442
See also: https://lowpowerlab.com/guide/moteino/
2021-07-27 12:52:15 +02:00
Johnny
7a5a98f548 ATmega328PB: deactivate bod during power down (#1493) 2021-07-01 22:31:27 +02:00
Olivier
2e00bf6a10 Add PJON transport layer (#1278)
* Add PJON transport layer

* Update PJON 13.0

* PJON transport now non-blocking, fixed polling

Co-authored-by: Giovanni Blu Mitolo <gioscarab@gmail.com>
2021-03-20 10:26:12 +01:00
Jens J
dc562a2c09 Improve logparser compatibility (#1469)
Co-authored-by: Jens Jensen <jjensen@verizonmedia.com>
2021-03-20 10:16:07 +01:00