Commit Graph
1833 Commits
Author SHA1 Message Date
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
Olivier b10cf85eb0 Revert VER removal from CP string (#905) 2017-08-01 08:13:06 +02:00
Patrick Fallberg f3ab329ad3 Refactor the Doxygen structure (#880) 2017-07-31 18:42:26 +02:00
d00616 1cd2c6df05 Update radio defines in examples (#901) 2017-07-31 18:37:01 +02:00
Olivier 10ef62307b MySensors splash screen (#889) 2017-07-24 21:42:44 +02:00
Marcelo Aquino 90793e734c Prepend debug message only on serial gateway (#882) 2017-07-24 21:40:46 +02:00
Rainer Clasen 6f10745f0a Keep Serial from being linked when disabled (#877)
Even with MY_DISABLED_SERIAL defined, the linker is still adding the
Serial object to the binary.

That's because a) the MySensors *.cpp files are actually included
into the sketch and compiled as part of it (and not compiled
separately and then linked) and b) due the the default(?) behavior of
the linker (https://github.com/arduino/Arduino/issues/4579).
2017-07-24 21:33:46 +02:00
Krister W 8f58b18e1a I2C EEPROM support for OTA using dual Optiboot #802 (#834)
* Added support for I2C EEPROM OTA

* EEPROM OTA now uses extEEPROM as driver

* Compiler warning fix

* Style check fixes

* Fix doxygen warnings of I2CEeprom

* Use bool instead of boolean in I2CEeprom shim

* Fix re-merged style problem
2017-07-24 21:32:47 +02:00
Mikael Falkvidd git@mjo.se b85c11c383 Move pubsubclient files to PubSubClient (case sensitive) 2017-07-24 15:01:20 +02:00
Patrick Fallberg 3e75b52c33 Fixed indentations using astyle (#890) 2017-07-07 14:36:14 +02:00
Mikael Falkvidd a941827157 Use bool instead of boolean in drivers (#888)
In the Arduino IDE, boolean is an alias for bool.
The Arduino IDE might deprecate boolean in the future. See
https://github.com/arduino/Arduino/issues/4673 for details.

Command:
find drivers -type f | xargs sed -i 's/boolean/bool/g'
2017-07-05 16:23:27 +02:00
Patrick Fallberg 4ea0c88ac8 Rewrite security personalization data validation (#885)
* Data is not validated on Linux systems
* If encryption is enabled, data is also validated even if signing
  is disabled.
2017-07-04 15:49:57 +02:00
Rainer Clasen ff0953dd05 Add progmem support for String messages (#875)
added variant of MyMessage::set and sendSketchInfo that accept a
string that's stored in PROGMEM.

This avoids the need to (temporarily) store strings in memory to get
them into a message.
2017-06-21 23:41:48 +02:00
Marcelo Aquino e5221689af Fix keywords.txt (#883)
Replace spaces with tabs.
2017-06-21 20:04:12 +02:00
Marcelo Aquino 95d7c003cb Fix UDP on Ethernet gateway (#858)
- Fix UDP send
- Add a default value for MY_IP_GATEWAY_ADDRESS and
  MY_IP_SUBNET_ADDRESS, making them optional when using MY_IP_ADDRESS
- Add support for MY_IP_GATEWAY_ADDRESS and MY_IP_SUBNET_ADDRESS to
  W5100
2017-06-13 22:59:01 +02:00
Olivier 4820475e5c NRF5: Enable critical section (#879) 2017-06-13 18:49:14 +02:00
Rainer Clasen 59337b19fe Memory optimizations in signing (#874)
* Sha256 driver cosmetics

cosmetic cleanups:
- use actual define that was used to allocate the array
- remove unused file globals

* Save memory by eliminating sha256_hash array

eliminated sha256_hash array to save memory. Instead pass the
Sha256Class result pointer.

There seems to be no use for the extra sha256_hash array as it was
zeroed exactly at the same time, the Sha256Class result was invalidated
(by calling signerSha256Init)

If the result needs to stay around while another sha is calculated,
it's better to have the user taking care of this.

* Moved hmac methods and buffers to separate class

This allows saving the buffer memory if no hmac is needed ... eg. with
the public Signing API.
2017-06-07 08:25:56 +02:00