Commit Graph
1860 Commits
Author SHA1 Message Date
tekka d557cb3d34 Doxygenize MyGatewayTransport (#1023) 2018-01-01 12:13:18 +01:00
tekka 292dc849cc RFM69: Fix compiler warnings (#1020) 2017-12-28 13:07:09 +01:00
rejoe2 b148d828ad Add MY_RS485_SOH_COUNT option (#1014) 2017-12-18 16:57:53 +01:00
Mikael Falkvidd 27b0177d26 Update reference to Code Contribution Guidelines (#1011)
As mentioned by per1234 in
https://github.com/mysensors/MySensors/pull/1008
we should make it easier to find the full code contribution
guidelines.

Since we have multiple git repos, we don't want to duplicate the
guidelines in each repo. Instead, we link to the canonical source
on mysensors.org.
2017-12-09 10:08:43 +01:00
tekka 26232da4d8 MySensors 2.2.0-rc.2 (#1000) 2017-12-06 23:04:22 +01:00
per1234 6337b8bf71 Use correct separator in keywords.txt (#1008)
The Arduino IDE currently requires the use of a tab separator between
the name and identifier. Without this tab the keyword is not
highlighted.
2017-12-06 23:03:39 +01:00
tekka a80879e056 Fix FOTA updates with smart sleep (#999) 2017-12-06 23:02:57 +01:00
tekka a9c49f0210 Harmonize debug outputs (#1002) 2017-12-05 04:03:39 +01:00
Lee Nelson bfcb125e72 Add MY_DEBUGDEVICE to redirect debug output (#1006)
* Add MY_DEBUGDEVICE to redirect debug output

MY_DEBUGDEVICE, if defined, will replace MY_SERIALDEVICE
for the purpose of printing debug messages. This only
applies to debugging.
2017-12-03 19:34:58 +01:00
d00616 8d9af98a55 Update board name MyNRF5Board -> MyBoardNRF5 (#997) 2017-11-20 19:55:30 +01:00
d00616 e39b2be7af NRF5 ESB fix two states (#996) 2017-11-19 13:48:29 +01:00
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