Commit Graph
1691 Commits
Author SHA1 Message Date
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
Patrick Fallberg 26375757cd README.md updated with new Jenkins URL:s 2016-11-21 17:02:25 +01:00
Olivier 37b7885c7e Merge development & additional optimizations 2016-11-20 21:09:00 +01:00
Henrik Ekblad 41f4b4e845 Merge pull request #649 from tekka007/transportRFM95Update
RFM95 updates for RPI
2016-11-20 21:03:48 +01:00
Henrik Ekblad edac8f7fd4 Merge pull request #652 from tekka007/HALFix
AVR: Use avr-libc eeprom update functions
2016-11-20 16:58:18 +01:00
tekka007 ec09161c42 AVR: Use avr-libc eeprom update functions 2016-11-20 16:27:30 +01:00
tekka007 d8f8ea3418 Bump version to 2.1.0 2016-11-20 13:17:13 +01:00
Henrik Ekblad 3f33d0d4a1 Merge pull request #638 from marceloaqno/rpi-arduino-libs
RPi: Improve build process
2016-11-19 19:32:40 +01:00
Marcelo Aquino 330a910f3d RPi: Improve build process
Add option to set an external arduino libraries directory.
All libraries from this folder will be compile and available for use
in the gateway.
Some Arduino libraries can be used on Linux/RPI with minor adjustments,
but there are some that will have to be completely rewritten.

The build process uses a separate folder for objects and binary files
which can be set by the user.

Initialize the bcm2835 inside a class constructor to fix cases where
pin operations are used before hwInit().

Fix SPI pins default values.

Fix activation interrupt functions.

Fix some headers.

Rename gateway binary and services to mysgw.
2016-11-19 11:49:18 -02:00
Olivier 865c4a773a RFM95 updates for RPI 2016-11-16 22:52:50 +01:00
Henrik Ekblad 9037924f06 Merge pull request #621 from tekka007/TransportRFM95
Implement RFM95 transport layer
2016-11-16 20:40:34 +01:00
Henrik Ekblad 6680be68e6 Merge pull request #648 from tekka007/OTAHarmonization
Harmonize OTA code, reboot when flash is idle
2016-11-16 20:25:12 +01:00
Olivier 399734502d Harmonize OTA code, reboot when flash is idle 2016-11-16 18:48:19 +01:00
Olivier d5039de270 Merge development & Fix variable 2016-11-15 22:38:38 +01:00
Thomas Mørch 477091f6a8 Merge pull request #646 from tekka007/FixLedHAL
Fix IO/HAL calls
2016-11-14 22:58:56 +01:00
tekka007 ba80a7e7b1 Core optimizations 2016-11-14 22:53:30 +01:00
Olivier 144c7b9d2f Implement RFM95 transport layer 2016-11-14 21:33:11 +01:00
tekka007 9ec97a6eaf Fix IO/HAL calls 2016-11-14 15:26:58 +01:00
Olivier 58e9d5864f Merge development 2016-11-14 12:34:31 +01:00
Olivier 92cbd2ac8f Allow node to enter loop() if transport is NOK 2016-11-14 12:24:27 +01:00
Henrik Ekblad 0450d21d03 Merge pull request #640 from Yveaux/ledProcess_fix
Fix consistent yield usage & LED updates
2016-11-08 20:30:51 +01:00
Embedded Innovation 7f0e23b728 Finish LED pattern before low-power sleep
Wait until no LEDs are blinking anymore before going to sleep.
Decrement LED blink counter before acting on the value, otherwise LED
state will always lag behind.
2016-11-08 20:06:53 +01:00
Embedded Innovation 9254b45150 Fix consistent yield usage & LED updates 2016-11-07 21:28:25 +01:00
Thomas Mørch fedf326099 Merge pull request #637 from tekka007/SAMDCoreFunctions
Implement SAMD core functions
2016-11-06 17:52:19 +01:00
Thomas Mørch 15e2770347 Fixes LED prevTime bug reported in forum (#636) 2016-11-06 17:51:53 +01:00
Olivier 30e447782e Implement SAMD core functions: reboot, Vcc, freq 2016-11-06 14:07:21 +01:00
Olivier 6ad18b641e Fixed missing RF24_NOP refactoring (#635) 2016-11-06 10:55:32 +01:00
Olivier 6636a97562 Harmonize RF24 definitions (#629) 2016-11-05 09:53:12 +01:00
Olivier c6ff9122b4 Harmonize definition ins core (#628) 2016-11-05 09:50:18 +01:00
Henrik Ekblad e77f3c06cd Merge pull request #633 from frizzy/development
Fixed parsing of subscribed topics containing slashes.
2016-11-04 23:31:05 +01:00