-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into chacha20-glue-cod…
…e-implementation
- Loading branch information
Showing
195 changed files
with
5,992 additions
and
703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
spelling_language = en | ||
end_of_line = lf | ||
|
||
[*{.c,.h}] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[{Makefile*,*.mk}] | ||
indent_style = tab | ||
indent_size = 2 | ||
tab_size = 2 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
if: github.event_name != 'merge_group' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: RIOT-OS/[email protected].1 | ||
- uses: RIOT-OS/[email protected].2 | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
unset_labels: 'CI: needs squashing,State: waiting for CI update,State: waiting for other PR,Process: blocked by feature freeze' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,6 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install lib32asan6 | ||
- name: Run release tests | ||
id: tests | ||
timeout-minutes: 350 | ||
run: | | ||
RIOTBASE="$GITHUB_WORKSPACE/RIOT" | ||
|
@@ -182,27 +181,6 @@ jobs: | |
mkdir test-reports/ | ||
junit2html ${REPORT_XML} ${REPORT_NAME}.html | ||
cp ${REPORT_XML} ${REPORT_NAME}.xml | ||
- name: Generate result message | ||
if: always() | ||
id: generate_results | ||
run: | | ||
if [ "${{ steps.tests.conclusion }}" == "success" ]; then | ||
nice_str="✅ **PASSED**" | ||
elif [ "${{ steps.tests.conclusion }}" == "failure" ]; then | ||
nice_str="❌ **FAILED**" | ||
fi | ||
echo "nice_str=${nice_str}" >> ${GITHUB_OUTPUT} | ||
- name: Report to Matrix channel | ||
if: ${{ always() && steps.generate_results.outputs.nice_str != '' }} | ||
uses: s3krit/[email protected] | ||
with: | ||
room_id: ${{ secrets.RIOT_CI_RELEASE_REPORT_CHANNEL }} | ||
access_token: ${{ secrets.MATRIX_RIOT_CI_ACCESS_TOKEN }} | ||
server: "matrix.org" | ||
message: > | ||
${{ steps.generate_results.outputs.nice_str}}: Release tests | ||
`[${{ join(matrix.*, ', ') }}]` on `${{ github.event_name }}`: | ||
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
#define BOARD_H | ||
|
||
#include "cpu.h" | ||
#include "periph/gpio.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
#define BOARD_H | ||
|
||
#include "cpu.h" | ||
#include "periph/gpio.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
#define BOARD_H | ||
|
||
#include "cpu.h" | ||
#include "periph/gpio.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
* @brief Peripheral MCU configuration for the ST B-L072Z-LRWAN1 board | ||
* | ||
* @author Alexandre Abadie <[email protected]> | ||
* @author Thibault Tisserand <[email protected]> | ||
*/ | ||
|
||
#ifndef PERIPH_CONF_H | ||
|
@@ -147,6 +148,21 @@ static const spi_conf_t spi_config[] = { | |
#define SPI_NUMOF ARRAY_SIZE(spi_config) | ||
/** @} */ | ||
|
||
/** | ||
* @name ADC configuration | ||
* @{ | ||
*/ | ||
static const adc_conf_t adc_config[] = { | ||
{ GPIO_PIN(PORT_A, 0), 0 }, | ||
{ GPIO_PIN(PORT_A, 2), 2 }, | ||
{ GPIO_PIN(PORT_A, 3), 3 }, | ||
{ GPIO_PIN(PORT_A, 4), 4 }, | ||
{ GPIO_PIN(PORT_A, 5), 5 } | ||
}; | ||
|
||
#define ADC_NUMOF ARRAY_SIZE(adc_config) | ||
/** @} */ | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
#define BOARD_H | ||
|
||
#include "cpu.h" | ||
#include "periph/gpio.h" | ||
#include "periph/pm.h" | ||
|
||
#ifdef __cplusplus | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
#define BOARD_H | ||
|
||
#include "cpu.h" | ||
#include "periph/gpio.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
#define BOARD_H | ||
|
||
#include "board_common.h" | ||
#include "periph/gpio.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.