Commit Graph
1849 Commits
Author SHA1 Message Date
d00616 aabddc841c NRF5 ESB fix Errata #78,#102,#106 (#995) 2017-11-18 17:02:38 +01:00
Mikael Falkvidd 506d23581d Update RelayActuator example (#973)
Based on feedback from skywatch,
https://forum.mysensors.org/post/78896

We'll need to update the wiring instructions on
https://www.mysensors.org/build/relay as well.
2017-11-17 21:18:15 +01:00
Mikael Falkvidd 1e3305959e BCM driver: include inttypes (#983)
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
https://github.com/mysensors/MySensors/issues/955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404de9.

This change fixes the problem discussed in
https://github.com/mysensors/MySensors/issues/980
2017-11-17 21:16:01 +01:00
Patrick Fallberg 356b783e19 Script documentation generation and UML support (#992)
Documentation is now generated by invoking a shell script
which takes care of all the plumbing.
There is now also support of inlineing PlantUML syntax with
Doxygen. This inlining takes the form of
@startuml{imagename.png}
'PlantUML specific syntax'
@enduml
The inlineing can be made in C syntax comment blocks.
Doxygen will then include the generated UML diagram when
rendering the HTML documentation.
All generated images will be placed under Documentation/img
which is the default search path for Doxygen.
2017-11-16 22:21:01 +01:00
Patrick Fallberg 1f8d810ff4 Add documentation for MyCapabilities (#989)
Also fixed spelling error in the MySigning documentation.

Fixes #902
2017-11-13 12:34:50 +01:00
tekka d44ecd95dd RF24: Fix logical operator (#990) 2017-11-12 11:12:06 +01:00
tekka 3830c5dde0 RFM69: Add missing SPI namespace (#987) 2017-11-11 18:26:14 +01:00
Patrick Fallberg 809663e648 Provide link to Gitler report for gitler asserts (#986)
This will help "offending" contributors to find what
is wrong.
2017-11-11 17:56:56 +01:00
tekka 4f0a4ee021 Use dedicated namespace for radio SPI (#985) 2017-11-11 15:59:54 +01:00
Mikael Falkvidd a23ab14494 Clarify TSM:ID:FAIL message (#984)
As discussed in
http://korturl.nu/gitler-is-a-stubborn-bastard-1
and numerous other forum threads, many people don't understand
that id generation is done by the controller.

Many new users start out their first MySensors network with a
gateway, a single sensor node and no controller. Since MySensors
defaults to AUTO node id, the node gets stuck on TSM:ID:FAIL,
like this:
TSM:ID
TSM:ID:REQ
TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
TSM:ID
TSM:ID:REQ
TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
TSM:ID
TSM:ID:REQ
TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
TSM:ID
TSM:ID:REQ
TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
!TSM:ID:FAIL

This change adds a clarifying note about the controller in the
doxygen documentation.
2017-11-11 10:41:09 +01:00
tekka d43c755508 Fix RFM95 reset (#982)
I've verified that the datasheet says to go low, and checked that the commit history does not indicate a reason for doing otherwise.
2017-11-10 18:23:36 +01:00
d00616 0042cd4bee NVM: consideration of SoftDevice memory layout (#977) 2017-11-07 21:54:00 +01:00
Patrick Fallberg 2d5404de97 CppCheck cleanup (#975)
* Add support for inline cppcheck suppressions
* Clean out all known cppcheck issues
* Terminate toll-gate on found cppcheck issues
2017-11-07 20:37:36 +01:00
tekka e2ac85afbb Reshuffle arch files (#974) 2017-11-06 21:24:38 +01:00
tekka b892aef6c3 Jenkins: Add STM32F1 support (#972) 2017-11-05 14:19:42 +01:00
tekka 9663d4c6b7 Harmonize type definitions (#970) 2017-11-04 14:38:33 +01:00
tekka 30516cf87e Jenkins: Drop redundant targets (#969) 2017-11-02 23:03:52 +01:00
tekka 1f07d7eafe Update debug message table (#965) 2017-10-30 20:22:50 +01:00
Patrick Fallberg 2d5c4a0e9a Revert attempt to build Arduino jobs in parallel (#966) 2017-10-30 05:49:51 +01:00
Patrick Fallberg 9b630f7d46 Pipeline improvements (#964)
* Fix bug with toll-gate validation against master
* Change cppcheck to not attempt to validate headers directly and
  to run on the entire codebase in the pipeline.
* Support running Arduino test and examples build in parallel
2017-10-29 21:48:39 +01:00
tekka e6cef8ba63 Implement RFM95 sanity check (#963) 2017-10-29 15:08:39 +01:00
tekka a00857a8c2 Update Debug message tables (#962) 2017-10-29 10:19:09 +01:00
Olivier e685aa10e1 Update repo info (#961) 2017-10-28 22:46:22 +02:00
Olivier 682a6b0798 Update library properties for RC1 (#960) 2017-10-28 15:20:52 +02:00
Olivier a190034305 MySensors 2.2.0-rc.1 (#959) 2017-10-28 14:35:06 +02:00
Olivier 571947ced9 Minor splash screen tweak (#958) 2017-10-28 13:19:49 +02:00
Mikael Falkvidd 3ebeb4fea1 Add MY_ESP8266_BSSID parameter (#953)
To use this feature, add the following to a sketch, for example
GatewayESP8266MQTTClient:
  const uint8_t bssid[] = {0x00, 0xDE, 0xAD, 0xBE, 0xEF, 0x00};
  #define MY_ESP8266_BSSID bssid

This feature was requested in
https://github.com/mysensors/MySensors/issues/947
2017-10-27 18:52:21 +02:00
Mikael Falkvidd adfd9f36f1 Generate Doxygen from configure (#952)
* Generate Doxygen from configure

Use case: view the ./configure help text on the web.
This has been requested in
https://forum.mysensors.org/post/77751

Manually putting the help text in the forum or on mysensors.org
would lead to diverging documentation, no version management and
extra maintenance burden. This commit attempts to auto-generate
the documentation and use existing Doxygen infrastructure to
add the help text to the rest of the MySensors documentation.
2017-10-27 18:39:25 +02:00
Patrick Fallberg 901258f165 Implement Jenkins pipelines as code (#948)
Jenkins has been updated with new jobs that scan and execute
Jenkinsfiles. These Jenkinsfiles encapsulates all logic for building
and validating the commits in both pull requests and merged pull
requests.

Filestructure is as follows:
  .ci/Jenkinsfile - This is the main Jenkinsfile that handles normal
                    pull request builds as well as merged pull request
                    post-validation.
		    Any repository in the MySensors GitHub organization
		    can implement this file and Jenkins will pick up
		    and execute it automatically.
  .ci/Jenkinsfile-nightly - This perform merged pull request
                            post-validation using the nightly builds of
			    the Arduino IDE to provide early compliancy
			    status of the MySensors library for
			    upcoming releases of the Arduino IDE
  .ci/ - This folder contain all the auxiliary scripts executed by the
         Jenkinsfiles as well

Fixes #934
2017-10-13 20:55:02 +02:00
d00616 8cb9b26920 NRF24 disable DYN_ACK support (#940) 2017-10-01 22:39:09 +02:00
d00616 f8e132fdb8 NRF5 fix 8 bit inttype handling (#943) 2017-10-01 20:40:32 +02:00
d00616 3ca9b56380 Fix uninitialized state handling (#939) 2017-10-01 09:41:36 +02:00
d00616 1b1cf8ff9c Nrf5 improvements (#938)
* Fix NRF5_ESB_readMessage, allways enable radio

* NRF5: fixes and improvements

- Compiles with arduino core for nRF52 (primo)
  MY_RADIO_NRF5_ESB stays unsupported with primo!

- Split ACK negation flag into
    MY_NRF5_ESB_REVERSE_ACK_TX
    MY_NRF5_ESB_REVERSE_ACK_RX

- MY_RADIO_NRF5_ESB changes to act more than NRF24

- MY_RADIO_NRF5_ESB better support for powerdown/standby

- Moved initialization from MyMainNRF5 to hwInit()
2017-09-30 22:55:55 +02:00
Olivier 9ee837199e MyCapabilities: Add missing arch identifiers (#936) 2017-09-22 10:55:25 +02:00
Olivier 5164af7edc ESP8266: Fix example compilation error (#932) 2017-09-19 22:48:54 +02:00
Olivier f5dce5b61b Disable splash screen on GW (#931) 2017-09-19 14:33:55 +02:00
d00616 8412a3d360 New OTA debugging and logging feature (#913) (#913) 2017-09-18 20:58:44 +02:00
Olivier 0ed558f1d0 Make debug prints portable (#929) 2017-09-17 20:54:20 +02:00
Patrick Fallberg 9e5a1e32cb Correct NRF24 PA levels docs (#924)
Fixes #907
2017-09-14 10:49:58 +02:00
Olivier 067519c500 Fix sanity check option (#923) 2017-09-07 18:10:55 +02:00
Olivier 973b4b8423 Fix compiler warning (#922) 2017-09-05 19:35:13 +02:00
Olivier a9ef29fa67 Update hwUniqueID() function (#921) 2017-09-04 23:37:11 +02:00
Olivier d74e9bd212 Autogenerate release versions (#920) 2017-09-04 22:37:50 +02:00
d00616 e0412f8c98 Merge pull request #917 from d00616/nrf5_fix_sleep_caluclation
NRF5: Fix sleep() (#917)
2017-08-29 19:38:22 +02:00
Frank Holtz 46557d129e NRF5: Fix sleep()
Fixes commit 5776d2b650
      NRF5: Fix and improve sleep(0) (#909)
2017-08-29 18:43:49 +02:00
Patrick Fallberg df34c00118 Skip check personalization with simple passwd flag (#915)
Personalization does not need validation if the simple password
security flag is set.

Fixes #914
2017-08-29 09:32:23 +02:00
d00616 5776d2b650 NRF5: Fix and improve sleep(0) (#909) 2017-08-29 09:29:03 +02:00
Olivier 463358209d Update STM32 support (#908) 2017-08-13 08:11:14 +02:00
Marcelo Aquino d291a3661b RPi: Fix GPIO Layout detection (#895) (#906) 2017-08-12 08:58:02 -03:00
bilbolodz d17b9dd6f1 Added posibility to use non standard SPI Flash (#899)
Added possibility to tune flash commands and parameters
in case off use non standard SPI flash for OTA
2017-08-03 09:01:05 +02:00