Commit Graph
1720 Commits
Author SHA1 Message Date
Olivier aa5cecfca1 OTA: Add incoming FW block check (#718) 2017-01-03 20:19:00 +01:00
Olivier 570b6079b6 Bump version to 2.2.0-beta (#713) 2016-12-31 10:48:38 +01:00
Olivier add3f5febe Add OTA update debug info (#711) 2016-12-30 12:37:42 +01:00
Olivier 8fabae979a Harmonize transport code (#710) 2016-12-29 14:50:12 +01:00
Olivier 01711becd1 Update RFM95 driver (#709) 2016-12-29 14:24:48 +01:00
Olivier dd9dff77ed Minor optimizations & code harmonization (#708) 2016-12-28 22:47:41 +01:00
Olivier 7445b065ec Reduce memory footprint (#703) 2016-12-26 23:40:32 +01:00
Olivier 7013f912d2 Fix Arduino IDE warning (#702) 2016-12-26 11:49:07 +01:00
Patrick Fallberg 1040fbebc5 Refactor signing backend (#690)
Cleaned up the AES driver and removed some cppcheck isues
in the process.
2016-12-25 16:12:40 +01:00
Olivier 61e6cecb3f Fix regression, adjust parameters, typos (#699) 2016-12-20 23:15:11 +01:00
Olivier d204929937 Use RNG for randomSeed(), ADC_MODE() switch (#696) 2016-12-19 23:27:10 +01:00
Olivier 38013ce5ac Fix bug preventing msgs from GW-attached sensors (#698) 2016-12-19 22:31:33 +01:00
Bruce Lacey 6a68510d57 Tool bundle updates (#693)
* 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
2016-12-18 11:57:59 +01:00
Bruce Lacey 3be2516ef8 Update RFM69 to MYS coding standards (#694) 2016-12-17 12:50:52 -08:00
Bruce Lacey 4753c1ec3d Override cppcheck library & platform options (#691)
* 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
2016-12-13 00:26:11 +01:00
Marcelo Aquino 707442b257 RPi: Use logError when possible (#689) 2016-12-12 22:23:19 +01:00
Bruce Lacey 7e1aa82d6e Rename .tools to .mystools for Arduino IDE 2 (#688)
* The Arduino IDE considers the .tools directory
 special and warns if it finds .tools the repo
 * Added detection of .tools directory rename
 * Corrected README errata

References #672
2016-12-11 13:49:32 -08:00
Bruce Lacey 1e37f35dc6 Revert "Rename .tools to .mystools for Arduino IDE" (#687) 2016-12-11 13:28:37 -08:00
Bruce Lacey 68ce74d11a Rename .tools to .mystools for Arduino IDE (#686)
* The Arduino IDE considers the .tools directory
special and warns if it finds .tools the repo

References #672
2016-12-11 22:08:14 +01:00
Bruce Lacey 28e0086291 Refactored tools structure & conventions for reuse (#685)
1.  All common tools are hosted and managed in
    the tools directory (used for both local development
    and continuous integration)
2.  Each tool comprises a directory, akin to a bundle,
    that encapsulates declarative command-line options,
    configuration files and a run script
3.  A single bootstrap script configures a
    development environment
4.  A lightweight runtime provides a common set of
    convenience functions and variables to all scripts

References #672
2016-12-11 09:40:32 +01:00
Olivier 37881d56ba Fix Cppcheck warnings (#684) 2016-12-10 12:46:52 -08: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 d4c4ab82ea Fix debug message, add test sketch (#682) 2016-12-07 21:48:37 +01:00
Marcelo Aquino 62b74bb88a RPi: Improve board revision detection (#681)
Revision detection is done at runtime, the configure script has been
simplified to reflect this.
2016-12-07 21:17:59 +01:00
Olivier fdbb285dee Fix payload length verification (#680) 2016-12-06 15:45:27 +01:00
Olivier f59be0aa2a ESP8266: remove redundant EEPROM check (#668) 2016-12-03 16:53:36 +01:00
Bram Oosterhuis 0fe9df1a77 Buildroot integration possible using autotools
* Add option to not install a init script

* Added autotools default install prefix

* Add autotools ${DESTDIR} to the install paths

* Add option to specify platform type
2016-12-03 13:25:25 -02:00
Henrik Ekblad 3570a507a6 Fix regression MY_NODE_ID (#669) 2016-12-03 15:57:23 +01:00
Patrick Fallberg 65bece33fd Add a SublimeText 3 MySensors project (#676)
Various plugins exist to enhance the experience. The project
file contain references for all plugins it holds configurations
for.
2016-12-02 12:26:50 -08:00
Patrick Fallberg ea65c5b150 Move Doxyfile to repository root (#674)
This makes most tools/plugins for Doxygen work without
much adjustment.
Also resolved some Doxygen warnings.
2016-11-29 11:18:49 +01:00
Patrick Fallberg 6564daec3e Update the pre-commit git hook (#667)
It now supports both Linux and Windows and checks
both coding style (astyle) and does static code
analysis (cppcheck).
Tested using "Bash on Ubuntu on Windows" and the
git shell (via GitHub for Windows).

Installation is done by executing hooks/install-hooks.sh
Windows users has to execute it in a cygwin based git shell.

Tools:
astyle (2.05.1 or newer)
cppcheck (1.76.1 or newer)
2016-11-28 14:57:26 -08:00
Bruce Lacey 2f587b9647 Merge pull request #666 from tekka007/DigitalWriteFastUpdate
Add digitalWriteFast support for Atmega1284
2016-11-27 14:57:13 -08:00
tekka007 de82269d68 Add DigitalWriteFast support for Atmega1284 2016-11-27 22:57:28 +01:00
Henrik Ekblad 505c1facc5 Merge pull request #663 from tekka007/FixRoutingTable
Refine routing table update
2016-11-26 15:31:28 +01:00
Henrik Ekblad 41d818f248 Merge pull request #662 from tekka007/ESP8266core
ESP8266: Reorganize EEPROM handling
2016-11-26 15:30:23 +01:00
Olivier cca055fdae Refine routing table upgrade 2016-11-26 10:05:21 +01:00
Olivier b16839cc5d ESP8266: Reorganize EEPROM handling 2016-11-26 09:30:37 +01:00
Patrick Fallberg fb872fae67 Clean up cppcheck suppressions 2016-11-25 14:27:43 +01:00
Henrik Ekblad 16def1162c Merge pull request #661 from tekka007/CodeHarmonization
Update forward link driver limit
2016-11-25 14:10:10 +01:00
tekka007 03aa0f44d4 Update forward link driver limit 2016-11-25 12:05:11 +01:00
Patrick Fallberg c1d88b236d Add MySensors specific cppcheck config files (#660) 2016-11-24 23:39:17 +01:00
Marcelo Aquino c23b7d563e RPi: Add signing and encryption to configure (#655) 2016-11-24 21:25:14 +01:00
Henrik Ekblad e1ec2ccb69 Merge pull request #634 from tekka007/transportSMupdate
Allow node to enter loop() if transport is NOK
2016-11-24 21:18:17 +01:00
tekka007 aff8deb8bf Merge development 2016-11-24 21:01:08 +01:00
Patrick Fallberg 410fe2df95 Merge pull request #659 from tekka007/RFM95example
Fix timeout and add RFM95 test
2016-11-24 18:25:28 +01:00
Olivier 5bc5eff1f9 Fix timeout and add RFM95 test 2016-11-24 16:55:42 +01:00
Patrick Fallberg 45b671457d Coding style related changes (#653)
* Add .astylerc with the core coding standard

* Added pre-commit git hook

The hook currently only checks code format using
astyle and will not permit commits which cause
astyle to change the contents of any source file
in the commit.
This is useful to have automatic coding standard
verification done without having to wait for
Jenkins to react to a pull request.

Installation:
Linux:
ln -s ../../tools/hooks/pre-commit.sh .git/hooks/pre-commit
Windows:
copy tools\hooks\pre-commit.sh .git\hooks\pre-commit

* Added editorconfig and updated gitattributes

Unix style line endings are now default.

* Resolved doxygen warning
2016-11-24 16:43:04 +01:00
Henrik Ekblad 26b485cb0d Merge pull request #651 from tekka007/VersionBump
Bump version to 2.1.0
2016-11-24 16:01:38 +01:00
Marcelo Aquino 9ef1df5407 RPi: Fix RFM95 build (#654) 2016-11-24 15:59:01 +01:00
Henrik Ekblad 66599c0b23 Fix typo for MY_DEFAULT_ERR_LED_PIN (#657) 2016-11-24 15:31:36 +01:00