- use MY_SERIALDEVICE in hwInit
- disable use of MY_SERIALDEVICE.flush() since the current STM32duino
implementation performs a reset instead of an actual flush.
The previous code would clear the proper interrupt flag assuming
interrupt1 was INT0 and interrupt2 was INT1. If interrupt1 was INT1 or
interrupt2 was INT0, the sleep bug would be triggered.
Round requested sleep time up to next multiple of 16ms, to sleep at
least requested time.
Sleep time of 0 will return immediately.
Fixed watchdog sleep time calculation. AVR libc watchdog time
implementation is inconsistent, and requires larger flash/ram usage.
* Removed ability to lock data section
* Introduced "guided mode" to simplify process
* Refactored the sketch to be less monolithic
* Print details and instructions in tables
* Use device unique ID as serial when
* Calculate and store personalization checksum
* Print serial in a copy+paste friendly manner (fixes#804)
* Clarify meaning of UART confirmation (fixes#805)
* 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.
RPi and Linux refactor.
Add GPIO Sysfs for GPIO operations.
Update configure script.
Fix some cppcheck warnings.
Add serial emulation that prints to stdout.
Fix some file headers.
* Pre-commit --cached vs. less-efficient iteration
* During pre-commit, leverage the git cppcheck --cached
form instead of iterating over the cached files and
invoking git cppcheck on each to eliminate
redundant static analysis
* Add support for Debian Linux on ARM
* Check prerequisite tool minimum versions
* Bootstrapping will now confirm that each
prerequisite tool satisfies the minimum version
required
* Using LIBRARY=[avr|gnu] git cppcheck ... will set the command
line library= to the value
* Using PLATFORM=[avr.xml|unix32.xml] git cppcheck ... will set
the command line platform= to the value
* Corrected logical if error when bootstapping a pristine repo
References #672