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

34688 Commits

Author SHA1 Message Date
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
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
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
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
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
Antonio Galea
9c9056844e USB CDC: fix typo in definitions 2021-02-22 14:56:37 +01:00
24185611d1
Merge pull request #16059 from aabadie/pr/make/esptool_qemu_fix
make/esptool: fix FFLAGS inclusion order for qemu
2021-02-22 14:19:42 +01:00
benpicco
bd7782c23f
Merge pull request #16034 from maribu/test-boards-supported
makefiles/tests: add unit test for info-boards-supported
2021-02-22 14:15:50 +01:00
Benjamin Valentin
56654478d4 sam0/adc: work around ADC errata on SAM D5x/E5x
The ADC SYNCBUSY.SWTRIG gets stuck to '1' after wake-up from Standby Sleep mode.
Ignore the ADC `SYNCBUSY.SWTRIG` status bit, this functionality is not used by
the driver anyway.
2021-02-22 12:39:32 +01:00
Benjamin Valentin
0b79ae3524 drivers/mtd_flashpage: require the write source buffer to be aligned 2021-02-22 11:27:07 +01:00
benpicco
2f919877c0
Merge pull request #15987 from benpicco/drivers/mtd_spi_nor-fix
drivers/mtd_spi_nor: fix poll on init
2021-02-22 11:16:29 +01:00
430770886b
make/esptool: fix FFLAGS inclusion order for qemu 2021-02-22 10:35:38 +01:00
Francisco
65ffb4261c
Merge pull request #16058 from aabadie/pr/tools/compile_and_for_board_fix_lint
tools/compile_and_test_for_board: fix lint
2021-02-22 09:43:00 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00
dd88ead843
tools/compile_and_test_for_board: fix lint
Pylint raises an error because of inconsistent return statements in the make_with_outfile function. The return value of this function is never used, so a bare return or no return is ok
2021-02-21 21:34:03 +01:00
Francisco
e0211f4574
Merge pull request #16050 from aabadie/pr/make/edbg_script
tools/edbg: add and use wrapper shell script
2021-02-21 19:52:46 +01:00
9153e39dab
makefiles/edbg: refactor to use wrapper script 2021-02-21 12:56:43 +01:00
1ec4ea2d7c
tools/edbg: add wrapper bash script 2021-02-21 12:56:35 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
09ca07e7b1
Merge pull request #16057 from benpicco/examples/gnrc_networking_mac-atmegarf
examples/gnrc_networking_mac: whitelist ATmega256RFR2 based boards
2021-02-20 13:11:49 +01:00
Martine Lenders
b10ce9784a
Merge pull request #15989 from haukepetersen/opt_nrf52_dcdcento1
cpu/nrf5x: enhance enabling of internal DC/DC converter
2021-02-20 02:29:38 +01:00
Benjamin Valentin
68fa58fb45 examples/gnrc_networking_mac: whitelist ATmega256RFR2 based boards
The example now works successfully on these AVR based boards.
2021-02-20 00:41:53 +01:00
Hauke Petersen
306c75186d boards/nrf-based: select VDD_LC_FILTER feature(s) 2021-02-19 17:19:45 +01:00
Hauke Petersen
72db395963 cpu/nrf5x/kconfig: add VDD_LC_FILTER_REGx features 2021-02-19 17:19:45 +01:00
Hauke Petersen
3290ffd370 boards/nrf5x-based: add vdd_lc_filer_regX feature 2021-02-19 17:19:45 +01:00
Hauke Petersen
cc2df0c508 cpu/nrf5x: use IS_ACTIVE to enable the DCDC conv 2021-02-19 17:19:28 +01:00