Skip to content

driver/mrf24j40: blocks shell input with auto_init_gnrc_netif #12943

@BastogneBas

Description

@BastogneBas

Description

When using a nucleo-f401re board and a mrf24j40 transceiver, the shell is broken and does not accept any user input. It works again when I remove the line USEMODULE += auto_init_gnrc_netif in the Makefile. After some investigation I discovered that it is caused by the mrf24j40 specific initialization.

I am able to run the shell commands manually with the function handle_input_line defined in sys/shell.c. The communication between the board and the transceiver does work perfectly. It is just the shell which doesn't see any input.

Steps to reproduce the issue

I did only have the nucleo-f401re and the mrf24j40 connected to it.
Compile and run examples/gnrc_networking with options USEMODULE=mrf24j40 and BOARD=nucleo-f401re
Then try to run commands in the shell.

Expected results

The shell sees the input and executes the commands

Actual results

RIOT network stack example application
All up, running the shell now
> ifconfig
help

Versions

OS: Linux
Build environment: arm-none-eabi-gcc version 9.2.0 (Arch Repository)

Metadata

Metadata

Assignees

Labels

Area: driversArea: Device driversArea: networkArea: NetworkingType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions