* New Firmware OTA for NVM/mcuboot (nRF5)

- Support for mcuboot (nRF5)
- Support for run length encoded data
- Support for smaller FIRMWARE_BLOCK_SIZE, if required

* Update NVM

* New MY_LOCK_MCU for NRF5

* Test with Sensebender GW + Sensebender Micro was successful
This commit is contained in:
d00616
2018-02-28 20:03:34 +01:00
committed by Mikael Falkvidd
parent 599c0bada6
commit fe42dbdcca
9 changed files with 292 additions and 106 deletions
+18
View File
@@ -1654,6 +1654,23 @@
#define MY_SIGNING_SOFT_RANDOMSEED_PIN (7)
#endif
/**
* @def MY_LOCK_DEVICE
* @brief Enable read back protection
*
* Enable read back protection feature. Currently only supported by NRF51+NRF52.
* Use this flag to protect signing and encryption keys stored in the MCU.
*
* Set this flag, when you use softsigning in MySensors. Don't set this
* in SecurityPersonalizer.
*
* @warning YOU CAN BRICK YOUR DEVICE!!!
* Don't set this flag without having an boot loader, OTA firmware update and
* an Gateway connection. To reset an device, you can try >>
* openocd -f interface/cmsis-dap.cfg -f target/nrf52.cfg -c "program dap apreg 1 0x04 0x01"
*/
//#define MY_LOCK_DEVICE
/**
* @def MY_SIGNING_FEATURE
* @ingroup internals
@@ -2023,6 +2040,7 @@
#define MY_INDICATION_HANDLER
#define MY_DISABLE_REMOTE_RESET
#define MY_DISABLE_RAM_ROUTING_TABLE_FEATURE
#define MY_LOCK_DEVICE
// core
#define MY_CORE_ONLY
// GW