Commit Graph

24 Commits

Author SHA1 Message Date
rstephan
93db0e1e68 Removed local plantuml.jar file (#1467)
* Find a local plantuml installation

Search the usual location for the jar file and use it instead.
It will work for debian/ubuntu, fedora and arch.

* Nicer layout for the dev-env readme

* Optional tools to make the docs

What's needed to generate the documentation.
How to run it.

* plantuml.jar removed

No need to keep a local copy of the jar-file.
doxygen.sh will find a version, if installed from the package manager.

* Added homebrew support for plantuml
2025-11-17 17:56:06 +02:00
Olivier
2e00bf6a10 Add PJON transport layer (#1278)
* Add PJON transport layer

* Update PJON 13.0

* PJON transport now non-blocking, fixed polling

Co-authored-by: Giovanni Blu Mitolo <gioscarab@gmail.com>
2021-03-20 10:26:12 +01:00
Michiel van der Wulp
6c4b8055f7 Support also development on OpenSuse (#1378)
* Support also OpenSuse. On OpenSuse Leap 15.1, the OSTYPE is simply 'linux'.

* This commit hook should be an executable file
2020-10-27 08:26:09 +01:00
Olivier
15f5c5e793 CI: Update CppCheck 2.1 (#1440) 2020-08-21 19:41:32 +02:00
Sinisha Djukic
e91b6fd514 Update bootstrap and tooling instructions (#1417)
* Update bootstrap with sleeps to view error/success in PowerShell

* Update tooling instructions with latest tool versions
2020-05-17 08:11:00 +02:00
Mikael Falkvidd
b9798e4a1d Update mystools/README.md for WSL (#1361)
Thanks to @ltigges and @mkaiser for noticing that the documentation
needed an update and providing input.

This fixes #1359
2019-11-06 09:34:16 +01:00
Olivier
40f4deb18c Code maintenance (#1309)
* Fix issues after CPPcheck 1.88 update

* Code maintenance
2019-07-20 14:08:33 +02:00
Olivier
36ec4f8624 Fix issues after CPPcheck 1.88 update (#1308) 2019-07-14 21:17:24 +02:00
Olivier
1fa4728f61 Transport and crypto HAL update (#1282) 2019-04-28 14:22:25 +02:00
Olivier
a1282f358a Code maintenance (#1279)
* Code maintenance

* Code maintenance
2019-04-20 16:22:12 +02:00
tekka
71b06987ab Code maintenance (#1261) 2019-01-27 20:58:06 +01:00
Patrick Fallberg
4e1d69dbb2 Refine cppcheck analysis (#1133)
- Details link on github for cppcheck now goes straight to the report
- Removed umatched suppression from the cppcheck suppression file
2018-05-18 08:35:43 +02:00
thucar
4d90c00f98 MY_GATEWAY_TINYGSM support. GSM gateway using a modem module (#1097)
Added TinyGSM driver and GatewayGSMMQTTClient example
2018-04-04 16:40:11 +02:00
Patrick Fallberg
3f2d292142 Add git commit message hook to the mystools bundle (#1067)
The message hook validates that the c ommit message follows
the MySensors requirements.
More specifically, it checks that
- Commit message does not exceed a line length of 72 characters
- Commit title start with an uppercase character
- Commit title does not end with a period ('.')

Fixes #672
2018-03-06 08:32:54 -08: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
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
d00616
5776d2b650 NRF5: Fix and improve sleep(0) (#909) 2017-08-29 09:29:03 +02:00
Marcelo Aquino
28c4f3f19e Signing improvements package (#871)
* Signing support with MAX_PAYLOAD>32

Support in the signing backends to handle configurations
where MAX_PAYLOAD is more than 32 bytes.

Fixes #748

* Support big message signatures

Support for signing messages larger than 32 bytes.
This is not fully testable with the current version of
the library but the change would add theoretical support
for signing any sized messages.

Fixes #749

* Have gw properly indicate whitelisting preferences

If the gateway hold a signing whitelist, inform all
nodes of this requirement and not just nodes that hold
whitelists themselves.

Fixes #806

* Harden security

The flag MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL
has been removed. Gateway will now request signatures
from everyone by default.
In addition to this, no nodes in the network will allow
clearing of signing/whitelisting preferences by OTA
commands by default.
If the old behaviour is needed (suitable for gradual
signing roll out and development purposes) a new flag,
MY_SIGNING_WEAK_SECURITY can be set.

Fixes #807

* Signing debug messages rewritten

All signing related debug has been rewritten to
better match other core debug printouts.
Also, backends are updated to have a smaller
implementation delta.

* Simplified signing option implemented

Enable by MY_SIGNING_SIMPLE_PASSWD. Signing, and signing requirements
will be enabled, as will encryption. Whitelisting is optional.
The value provided to MY_SIGNING_SIMPLE_PASSWD is used as HMAC and AES
key. Whitelists use the first 8 bytes of the password and the ninth
byte from the node ID as serial.
Password is required to be at least 8 characters wide. It is zero
padded if it is not long enough to cover the AES (16 bytes) and HMAC
(32 bytes) keys. It is not recommended to have a password shorter than
32 bytes, and there is no need for a password longer than 32 bytes.

* Add documentation section for signing debug

* Add nRF5 encryption to simple signing option

* Restructure MySigning documentation

* Minor fixes for Linux
2017-05-31 17:13:29 +02:00
Marcelo Aquino
582c653a19 Fix cppcheck includes.cfg (#842) 2017-05-15 07:30:15 +02: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
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
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