1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

36851 Commits

Author SHA1 Message Date
Martine Lenders
e38aec72b2
pycrypto: use pycryptodome instead
`pycrypto` is unmaintained [[1]] since v2.6.1 (released October 2013).
This version, however, has some severe vulnerabilities [[2]] [[3]].

The recommendation is to use the API-compatible `pycryptodome` library.

[1]: https://github.com/pycrypto/pycrypto/issues/173
[2]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7459
[3]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6594
2021-11-02 13:28:42 +01:00
d14f559622
Merge pull request #16915 from aabadie/pr/pythonlibs/black_format
tools/pythonlibs/riotctrl_*: add code format check with black
2021-10-25 10:49:16 +02:00
Gunar Schorcht
a06268a5ca
Merge pull request #16425 from iosabi/esp8266_sdk
esp8266: Download Espressif RTOS SDK as a new RIOT PKG
2021-10-23 18:00:48 +02:00
iosabi
7b1f083cd8 esp8266: Download Espressif RTOS SDK as a new RIOT PKG
RIOT-OS uses part of Espressif ESP8266 RTOS SDK to build support for
this CPU. The SDK includes some vendor-provided closed source
pre-compiled libraries that we need to modify to adapt to RIOT-OS
usage. This library modifications was done once and uploaded to a fork
of the vendor repository and was provided as an environment variable.

This patch changes two things:

1. It installs the SDK as a RIOT PKG from the new pkg/esp8266_sdk
directory instead of requiring the user to download it separately.

2. It performs the library modifications (symbol renames) on the pkg
Makefile removing the need to use a fork with the modifications applied
and simplifying the SDK update and future modifications.

This change sets the SDK package version (git SHA) to the same one that
our fork was using as a parent in the vendor repository, meaning that
the output libraries are exactly the same as before.

Tested with
```
ESP8266_RTOS_SDK_DIR=/dev/null USEMODULE=esp_log_startup make -C tests/shell BOARD=esp8266-esp-12x flash
```

and verified that the program works. The boot message now includes:
```
ESP8266-RTOS-SDK Version v3.1-51-g913a06a9
```
confirming the SDK version used.

`/dev/null` in the test is just to make sure that no evaluation of
`ESP8266_RTOS_SDK_DIR` in make is affected by the environment variable
value which would be set to the SDK for people who followed the set up
instructions before this change.

Tested the checkout size:
```bash
$ du -hs build/pkg/esp8266_sdk/
124M	build/pkg/esp8266_sdk/
```
2021-10-23 11:13:38 +00:00
769dd09234
Merge pull request #17041 from fjmolinas/pr_lostandfound_fox
LOSTANDFOUND.md: add boards/fox
2021-10-23 11:47:59 +02:00
Francisco Molina
4f9632ebb8 LOSTANDFOUND.md: add boards/fox 2021-10-23 11:33:42 +02:00
Francisco
3a62c8a4f4
Merge pull request #17038 from fjmolinas/pr_gha_release_python_38
gha/workflows/release-test: set python version to 3.8
2021-10-23 11:31:09 +02:00
Francisco
81458c8eed
Merge pull request #17021 from fjmolinas/pr_remove_board_fox
boards/fox: remove BOARD
2021-10-23 11:30:35 +02:00
Kevin "Tristate Tom" Weiss
325d3ea743
Merge pull request #17036 from kaspar030/turo_text_float_fix
sys/test_utils/result_output: fix turo_float() precision value
2021-10-22 19:07:09 +02:00
Francisco
43befee63c
Merge pull request #17030 from bissell-homecare-inc/nucleo-g431rb-pwm
boards/nucleo-g431rb: added PWM configuration
2021-10-22 14:43:56 +02:00
Francisco Molina
acc85bb0af gha/workflows/release-test: set python version to 3.8 2021-10-22 14:36:39 +02:00
74925c0ab0
Merge pull request #17028 from miri64/citation/doc/initial
CITATION.cff: Initial import
2021-10-22 12:58:43 +02:00
3b4e698b2e
Merge pull request #16907 from aabadie/pr/tools/backport_pr_with_black
tools/backport_pr: check code format with black
2021-10-22 12:58:01 +02:00
1fc45d888b
Merge pull request #16905 from aabadie/pr/tools/compile_and_test_with_black
tools/compile_and_test_for_board: apply black automatic code formatter + add format checker in tox
2021-10-22 12:57:42 +02:00
4bee52a693 sys/test_utils/result_output: fix turo_float() precision value
`print_float()` only allows values from 0-7.
2021-10-22 12:49:16 +02:00
Francisco
abbf798e8e
Merge pull request #17027 from kaspar030/turo_json_fixes
turo: some json fixes
2021-10-22 10:48:29 +02:00
2e7c83f374
tools/flake8: ignore pythonlibs/riotctrl_* directories
They are already covered by flake8 with their tox configuration
2021-10-22 10:25:15 +02:00
b44652c489
pythonlib/riotctrl_shell: reformat with black 2021-10-22 10:25:15 +02:00
f2bb9242bb
pythonlib/riotctrl_shell: add black testenv in tox
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
43550cd853
pythonlib/riotctrl_ctrl: reformat native.py with black 2021-10-22 10:25:15 +02:00
ba1173409f
pythonlib/riotctrl_ctrl: add black testenv in tox
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
Martine Lenders
e14cbc1c31
github-labeler: add *.cff files to 'Area: doc' 2021-10-22 10:21:57 +02:00
Martine Lenders
278ea905ce
CITATION.cff: Initial import 2021-10-22 10:21:57 +02:00
8d4d8f207d
tools/backport_pr: reformat with black 2021-10-22 10:20:52 +02:00
43a7c8c8f2
tools/backport_pr: add black testenv in tox
Add Flake8 and Pylint configuration compatible with black
2021-10-22 10:20:52 +02:00
8f870a7cb8
tools/compile_and_test_for_board: reformat with black 2021-10-22 10:19:55 +02:00
c98fc635fc
tools/compile_and_test_for_board: add black testenv in tox
Add Flake8 and Pylint configuration compatible with black
2021-10-22 10:19:55 +02:00
Francisco
5abd097abf
Merge pull request #17033 from luisan00/fix_doc/stm32f464i-disco
boards/stm32f469i-disco: fix documentation
2021-10-22 09:17:40 +02:00
kl
4b0a28aba2 boards/stm32f469i-disco: fix documentation 2021-10-21 21:58:12 +02:00
Dave VanKampen
eb09d2dafb boards/nucleo-g431rb: added PWM configuration 2021-10-21 10:25:15 -04:00
99dbed9ce7 turo: fix json toru_float() precision value 2021-10-21 13:02:48 +02:00
1c8a8bf6c4 turo: add space after JSON comma 2021-10-21 13:02:21 +02:00
chrysn
e86370cf4b
Merge pull request #17026 from chrysn-pull-requests/riotboot-serial-docfix
sys/riotboot doc: Minor fixes
2021-10-20 19:11:29 +02:00
chrysn
78c12c6626 sys/riotboot doc: Minor fixes
Which, in particular, make it build in the first place.
2021-10-20 19:00:18 +02:00
benpicco
ca1ab67a9d
Merge pull request #17002 from maribu/doc/getting-started
doc/.../getting-started.md: update software requirements
2021-10-20 14:02:05 +02:00
benpicco
5eb7bd744b
Merge pull request #17019 from kaspar030/add_missing_nrf_includes
nrfx: add some missing includes
2021-10-20 14:01:29 +02:00
Francisco Molina
2552c6941e treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
Francisco Molina
e0678e9eb4 boards/fox: remove support
Remove support of unavailable BOARD.
2021-10-20 13:51:49 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
sys/net: Add ipv4/ipv6 pseudomodules

to ease code unification
2021-10-20 11:58:26 +02:00
5e52a0ea4c cpu/nrf5x_common: nrfx.h: add missing "kernel_defines.h" include 2021-10-20 11:36:55 +02:00
df6ad4b4d0 boards/nrf52840dk: periph_conf.h: include "kernel_defines.h" 2021-10-20 11:36:55 +02:00
0486c0dba7
Merge pull request #17001 from kaspar030/support_picolibc_stdio_globals
sys/picolibc_syscalls_default: support new picolibc stdio globals
2021-10-20 12:17:14 +03:00
Martine Lenders
7ef715bf56
Merge pull request #17009 from fjmolinas/pr_lorawan_parameters_gha
gh/workflows/release-tests: update LoRaWAN parameters to ttnv3
2021-10-19 15:47:10 +02:00
Francisco
7086429aef
Merge pull request #17010 from fjmolinas/pr_examples_lorawan_pass_keys_to_docker
examples/lorawan: add LoRaWAN keys to DOCKER_ENV_VARS
2021-10-19 15:35:04 +02:00
Francisco Molina
dbf7efac14 examples/lorawan: add LoRaWAN keys to DOCKER_ENV_VARS 2021-10-19 13:30:46 +02:00
Marian Buschsieweke
ba859613d4
doc/.../getting-started.md: update software requirements 2021-10-19 11:26:42 +02:00
Francisco Molina
d55b67326b gh/workflows/release-tests: update LoRaWAN parameters to ttnv3 2021-10-19 10:57:07 +02:00
benpicco
f57e2f1e99
Merge pull request #16055 from benpicco/soc_init
cpu: call cpu_init() from startup code, not from board
2021-10-18 20:52:53 +02:00
Francisco
1f00d7a89c
Merge pull request #16961 from jia200x/pr/semtech-loramac/fix_schedule_uplink
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 17:40:03 +02:00
Benjamin Valentin
3e20e939c6 cpu: drop cpu_init() from public headers
Boards are no longer supposed fo call the function, so drop it from
public header files.
2021-10-18 17:31:26 +02:00