Commit Graph

23 Commits

Author SHA1 Message Date
Olivier
8eea242512 Prepare 2.4.0 release (#1587) 2026-01-01 11:36:35 +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
4daf09307e Update capability indicators PJON/SX126x (#1578) 2025-11-19 08:52:58 +01:00
Olivier
0b94c2dc1a Update comments (#1574) 2025-11-17 17:29:49 +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
Olivier
253109d3ff Upate CI and HW defs (#1530) 2022-07-24 10:55:35 +02:00
Olivier
8103c6cf6b Fix STM32F1 capability indicator (#1408) 2020-04-19 17:31:30 +02:00
Olivier
dd91aeb9c3 Library & CI maintenance (#1394) 2020-02-26 12:28:37 +01:00
tekka
71b06987ab Code maintenance (#1261) 2019-01-27 20:58:06 +01:00
tekka
6ffe29cb5f Code maintenance (#1186) 2018-08-22 20:50:16 +02:00
Patrick Fallberg
bbaa9399d6 Add software AES encryption to RFM95 transport HAL (#1054)
Also clean up capabilities flags a bit and fix test-sketch
for rfm95 to use proper encryption flag.
2018-05-30 00:09:24 +02:00
tekka
eaf1b9452b ESP32: Support HW (#865)
This fixes https://github.com/mysensors/MySensors/issues/968
2018-04-07 14:46:01 +02:00
Patrick Fallberg
1f8d810ff4 Add documentation for MyCapabilities (#989)
Also fixed spelling error in the MySigning documentation.

Fixes #902
2017-11-13 12:34:50 +01:00
Olivier
9ee837199e MyCapabilities: Add missing arch identifiers (#936) 2017-09-22 10:55:25 +02:00
d00616
726a20dad9 Add nrf5 platform (#830)
* Add NVRAM support

This is an EEPROM replacement based on MCU's internal Flash memory.
The NVRAM class is designed to be stateless. Each operation is
written to flash immediately.

The last 16k(nRF51)/32k(nRF52) of Flash memory are managed by the
VirtualPage class.  This class allows writing a single emulated 4k
page up 40,000 times.

The NVRAM class is a log based byte-wise storage allowing up to
40,000,000 writes depending on the number of used addresses.  Each
four allocated addresses from the beginning of the NVRAM reduce the
write log by one.

When first 256 bytes of the emulated storage are used, there is an
average writing capacity of 145,000 cycles per byte.

When the write log is full, the NVRAM is compressed into a new flash
page. After a new page is ready, the old page is released. This
process can take up to 4500 ms and cannot be interrupted.

The NVRAM functionality can easily be ported to ESP8266 or SAMD by
providing a Flash interface.

* Add NRF5 platform support

This is the support of the Nordic Semiconductor NRF51 (nrf51822,
nrf51422) and NRF52 (nrf52832) platform. Based on arduino-nRF5
(https://github.com/sandeepmistry/arduino-nRF5).

The included radio driver is compatible with the NRF24 devices.
Using a SoftDevice (BLE)is not supported and must be removed before
flashing MySensors with a "mass_erase" operation.
2017-05-14 11:53:01 +02:00
Olivier
818f887926 Polishing code (#803) 2017-04-02 20:03:59 +02:00
Olivier
b132a8a81e Transport update (#722)
* Major transport rework

* Adjust signal report calculations

* Minor driver optimizations

* Implement sanity check in legacy RFM69 driver

* Additional RFM69 rework

* RFM95 encryption

* Polishing
2017-03-28 20:31:08 +02:00
Olivier
61a415c422 Code cleanup (#787)
* Cleanup Core

* SAMD adjustments
2017-03-15 19:05:17 +01:00
Patrick Fallberg
8e1ef13804 Repo restyled using astyle (#683)
The rules are in .tools/astyle/config/style.cfg
and can also be reviewed at
https://www.mysensors.org/view/260#coding-guidelines-core-library
2016-12-07 23:44:29 +01:00
Olivier
144c7b9d2f Implement RFM95 transport layer 2016-11-14 21:33:11 +01:00
tekka007
efc71165c7 Various MyTransport optimisations 2016-09-25 12:46:58 +02:00
Embedded Innovation
99973a346e Add nRF24 receive message buffering (#538)
* Add critical section support

Allows defining a code block which is executed as a critical section.
Supports AVR, ESP8266 & SAMD.

* Add receive message buffering

When MY_RF24_IRQ_PIN is defined (and connected), a buffer will be used
to retrieve & store messages received by nRF24 as fast as possible.
This reduces the chance of losing messages due to a busy
microcontroller.
nRF24 SPI rx message transfer is running from interrupt context when
MY_RF24_IRQ_PIN is defined. If this transfer takes too long, serial
characters received will get lost. Therefore serial rx is enabled during
SPI transfer of nRF messages.

Limitations: Only AVR/SAMD & nRF24L01+ combinations can buffer rx
messages.
nRF24L01+ IRQ pin should be connected to AVR.
Tested on W5100- & Serial-gateway.

SAMD has not been tested yet!

* Fix Doxygen warnings

* Fix more Doxygen warnings
2016-08-02 22:20:25 +02:00
Thomas Mørch
ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00