1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/mrf24j40/include
Benjamin Valentin 38b35c513c drivers/mrf24j40: allow for basic self-test on init
During production it is often desirable for devices to perform
some kind of basic self-test to isolate defects.

For this it is necessary for the initialization not to hang if a
component is faulty / not connected.

This moves an already exising self-test that was previously enabled
as a debug option to an independent compile-time configurable.

It is necessary to call this in _init() before mrf24j40_hardware_reset()
as the reset function uses xtimer_usleep() which will cause another
thread to get scheduled.
If this thread (e.g. rpl or ipv6) then tries to access the netdev, RIOT
will crash.
2019-10-14 14:50:06 +02:00
..
mrf24j40_internal.h drivers/mrf24j40: allow for basic self-test on init 2019-10-14 14:50:06 +02:00
mrf24j40_netdev.h netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00
mrf24j40_params.h drivers/mrf24j40: use new driver params scheme 2018-03-01 14:31:55 +01:00
mrf24j40_registers.h drivers/mrf24j40 : support of NETOPT_LAST_ED_LEVEL 2019-05-23 15:45:03 +02:00