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

34984 Commits

Author SHA1 Message Date
Francisco
ddc5dea8ed
Merge pull request #16064 from leandrolanzieri/pr/makefiles/kconfig_include_config_only_when_running
makefiles/kconfig: include out.config only when running Kconfig
2021-02-23 18:58:52 +01:00
Francisco
4665303d58
Merge pull request #16076 from kaspar030/fix_xfa_typeof
core/xfa: typeof() -> __typeof__()
2021-02-23 18:58:18 +01:00
Cenk Gündoğan
72337ebb9b
gnrc_rpl: harden validation routine for options 2021-02-23 18:58:03 +01:00
Benjamin Valentin
769978904a suit/transport/coap: use coap_opt_put_uri()
The URI is passed as a string to `suit_coap_get_blockwise()`.
It may contain query parameters, those will not be translated
properly to CoAP options if `coap_opt_put_uri_path()` is used.

Instead use `coap_opt_put_uri()` to handle both path and query
parameters.
2021-02-23 18:27:54 +01:00
Benjamin Valentin
d4e5c25b70 nanocoap: add coap_opt_put_uri_pathquery() 2021-02-23 18:27:54 +01:00
Martine Lenders
a0234cafe5
uncrustify: fix diff annotations 2021-02-23 18:25:50 +01:00
Martine Lenders
2d27db02f5
headerguards: fix diff annotations 2021-02-23 18:25:50 +01:00
Martine Lenders
2465a701ee
coccinelle: fix diff annotation 2021-02-23 18:25:50 +01:00
chrysn
9cbc6042e3 drivers/saul: Fix "%u" print formatter 2021-02-23 18:02:06 +01:00
Francisco
cc19075742
Merge pull request #16074 from fjmolinas/pr_remove_AVRDUDE_PORT
boards: remove AVRDUDE_PORT and PORT_BSL
2021-02-23 17:37:26 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
4b807c1f73
Merge pull request #16031 from benpicco/pkg/nanocbor-bump
pkg/nanocbor: bump version
2021-02-23 15:50:28 +01:00
668ccba35c
Merge pull request #16073 from aabadie/pr/tools/esptool_cleanup
tools/esptool: cleanup preflash and qemu integration in build system
2021-02-23 15:20:07 +01:00
fa32f8a4b1
ci/test-on-iotlab: set error precision to periph_timer_periodic 2021-02-23 15:19:10 +01:00
ca26a8fe6a
tests/periph_timer_periodic: add error tolerance in timings
On a lot of platforms the peripheral timer fires in advance, adding a precision factor of 15% makes the test more reliable
2021-02-23 15:19:09 +01:00
Francisco
c91499997e
Merge pull request #16030 from benpicco/drivers/mtd_flashpage-fix_native
drivers/mtd_flashpage: fixes for native (and stm32l0, stm32l4)
2021-02-23 15:12:06 +01:00
Francisco
cb87c418f4
Merge pull request #16068 from aabadie/pr/tests/xfa_fix_build_in_docker
tests/xfa: use BUILDDEPS instead of overriding the all target
2021-02-23 13:49:59 +01:00
2861d1f353 core/xfa: typeof() -> __typeof__() 2021-02-23 13:37:19 +01:00
Francisco
f85628cdb4
Merge pull request #16071 from benpicco/cpu/native/timer-periodic
cpu/native: timer: implement timer_set_periodic()
2021-02-23 13:26:53 +01:00
Francisco Molina
f5ba075ab2
boards: remove PORT_BSL 2021-02-23 12:28:18 +01:00
Francisco Molina
a88c010a8e
boards: remove AVRDUDE_PORT 2021-02-23 12:22:49 +01:00
Martine Lenders
b866d22062
Merge pull request #16032 from fjmolinas/pr_move_flashpage_unittest
tests/unittests/tests-flashpage: move out of unittests
2021-02-23 12:05:28 +01:00
7ead5b28f9
Merge pull request #15916 from benpicco/pkg/nanopb-0.4.4
pkg/nanopb: bump version to 0.4.4
2021-02-23 12:04:09 +01:00
Erik Ekman
ccd4c71110 pkg/lwip: Add patch for lowpan6 printf formatters 2021-02-23 11:48:13 +01:00
Erik Ekman
88d2d2d030 tests/lwip: Update test to match new ifconfig
Removed custom ifconfig command.
2021-02-23 11:48:13 +01:00
Erik Ekman
eab317749f sys/shell: Add lwIP ifconfig shell command
Lists state, link type, v4/v6 addresses.
Currently read-only.

Using lwIP debug system to print addresses, to limit dependencies
and work with dual stack setup. Most other code seems to only
allow either v4 or v6 networking. For that to compile I
had to change the `SZT_F` format string due to this error:
```
error: format '%lu' expects argument of type 'long unsigned int',
but argument 2 has type 'size_t {aka unsigned int}'
```
Switching to the lwIP default format string here.

Outputs the following on my ESP32 board with Ethernet,
when both v4 and v6 are enabled in examples/paho-mqtt:
```
> ifconfig
Iface ET0 HWaddr: 24:0a:c4:e6:0e:9f Link: up State: up
        Link type: wired
        inet addr: 10.4.4.81 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9f scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9f scope: global
Iface ET1 HWaddr: 24:0a:c4:e6:0e:9c Link: up State: up
        Link type: wireless
        inet addr: 10.4.4.82 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9c scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9c scope: global
>
```
2021-02-23 11:47:45 +01:00
Erik Ekman
9da7ea2dec pkg/lwip: Name sixlowpan netifs 2021-02-23 11:47:33 +01:00
Benjamin Valentin
07acd9c101 pkg/nanocbor: bump version
The package got relicensed to CC-0.
2021-02-23 11:24:52 +01:00
554a02ff2a
tools/esptool: cleanup preflash and qemu integration 2021-02-23 11:01:38 +01:00
Benjamin Valentin
127b46eea3 drivers/mtd_flashpage: require read source & destination alignment 2021-02-23 10:59:17 +01:00
62c7a9f13d
tests/xfa: fix parallel build with BUILD_IN_DOCKER 2021-02-23 10:39:39 +01:00
Benjamin Valentin
65093a47a3 cpu/native: timer: fix style issue 2021-02-23 09:52:05 +01:00
Benjamin Valentin
7eb159c2a2 cpu/native: timer: implement timer_set_periodic()
The native timer is not free running, so we can't honor it's flags.
But setitimer() already provides an interval option, we only have to enable it.
2021-02-23 09:51:53 +01:00
Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00
benpicco
d014f5e6d0
Merge pull request #14911 from OTAkeys/pr/can_stm32_deepsleep_opt
stm32/can: add option to enable deep-sleep per device
2021-02-22 22:52:46 +01:00
benpicco
c3d2bc7cec
Merge pull request #16066 from benpicco/pkg/emlearn-0.11.6
pkg/emlearn: bump version to 0.11.6
2021-02-22 22:50:55 +01:00
benpicco
da780e7bfa
Merge pull request #16065 from LordTy/NRF52840Dongle-SPI-support
boards/nrf52840dongle: Add spi feature and default pins
2021-02-22 22:50:46 +01:00
benpicco
4a829b6442
Merge pull request #16070 from kaspar030/fix_microbit_flash_doc
boards/microbit: doc: FLASHTOOL -> PROGRAMMER
2021-02-22 22:13:08 +01:00
Dylan Laduranty
dc8b96f7a6
Merge pull request #16060 from benpicco/cpu/sam0_common/periph/adc-errata
sam0/adc: work around ADC errata on SAM D5x/E5x
2021-02-22 21:30:26 +01:00
c251215315 boards/microbit: doc: FLASHTOOL -> PROGRAMMER 2021-02-22 21:29:48 +01:00
Benjamin Valentin
a17686b551 Revert "cpu/sam0_common: SPI: only mux MISO on spi_acquire()"
This reverts commit 31bf0c5257.
2021-02-22 19:46:10 +01:00
e167131c05
Merge pull request #15972 from benpicco/samdx1-arduino-bootloader
boards/samd21-arduino-bootloader: rename to samdx1-arduino-bootloader
2021-02-22 18:47:23 +01:00
benpicco
678be81ac0
Merge pull request #16063 from ant9000/fix_usb_cdc_capabalities_typo
USB CDC: fix typo in definitions
2021-02-22 18:42:57 +01:00
Tim Broenink
d998d45489 boards/nrf52840dongle: Add spi feature and default pins
The chip supports spi on most pins. The default pins are in a bit
of a wierd location, but accessible.
2021-02-22 17:34:20 +00:00
Benjamin Valentin
56bb4529be pkg/emlearn: bump version to 0.11.6 2021-02-22 17:23:36 +01:00
Leandro Lanzieri
017fc36c7b
makefiles/kconfig: include out.config only when running Kconfig 2021-02-22 16:15:46 +01:00
MrKevinWeiss
3718acd4d8 murdock: Add kconfig tests 2021-02-22 14:58:09 +01:00
MrKevinWeiss
fd98105c94 tests/struct_tm_utility: Add Kconfig defaults 2021-02-22 14:58:09 +01:00
MrKevinWeiss
03dc2ba09a tests/shell: Add Kconfig defaults 2021-02-22 14:58:09 +01:00
MrKevinWeiss
6a217ee34f tests/eepreg: Add Kconfig defaults 2021-02-22 14:58:09 +01:00