Commit Graph
14 Commits
Author SHA1 Message Date
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 eeb880957c Bump version to 2.2.0-beta (#754) 2017-01-19 19:13:09 +01:00
Olivier c90ff65b53 MySensors 2.1.1 release (#746) 2017-01-17 23:58:02 +01:00
Olivier 7abbfd7b47 Merge Master into Dev (#745)
* Fix spi flash error when compiling in Arduino IDE 1.6.6

* Bump minor version

* Fixed "invalid suffix on literal" warning

* Fix addressing bug in _doSign bitfield

* Make sure nodes not supporting signing informs GW

A node that does not support signing, still needs to inform the
gateway about this to make sure the gateway carries a valid signing
requirement table when a node Id that was requiering signing stops
doing this.
This fixes #286.

* Prevent SecureActuator from accepting ACKs as commands

As ACKs are not currently signed, allowing ACKs as commands
is a considerable security hole for this sketch. This is now resolved.

* Backport of bugfix (#259) in repeaters when forwarding signed messages

* Bumped version to 1.5.2

* Corrected doSign variable name (was _doSign)

* Bumped version to 1.5.3

* Add NULL termination to payloads

Messages addressed to "this" node, will have a null char
appended to the payload after message verification is
done, because some "getters" assume the message being a
string.
2017-01-17 23:23:02 +01:00
Olivier c2dfedc1a9 Revert "Bump version to 2.2.0-beta" (#744) 2017-01-17 22:44:11 +01:00
Olivier 6bad2c721b Consolidate open PRs for bugfix release (#741) 2017-01-16 20:36:15 +01:00
Olivier 570b6079b6 Bump version to 2.2.0-beta (#713) 2016-12-31 10:48:38 +01:00
tekka007 d8f8ea3418 Bump version to 2.1.0 2016-11-20 13:17:13 +01:00
Ivan Kravets 378112db7d Update supported development platforms 2016-08-16 13:10:05 +03:00
tekka007 56693d5b73 Bumped version to 2.0.1-beta 2016-07-21 21:53:13 +02:00
Ivan Kravets 5f9c51c2d4 Update version to beta 2016-07-13 22:40:05 +03:00
Ivan Kravets 293604c9a2 Exclude not required for build process content 2016-07-13 15:20:33 +03:00
Ivan Kravets a36299f3d9 Fix repo url; update version; explain builder which files to build 2016-07-13 15:05:14 +03:00
Thomas Mørch ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00