[riot-notifications] [RIOT-OS/RIOT] drivers/cc110x: add hook cc1xxx_eui_get() (#16286)

Marian Buschsieweke notifications at github.com
Thu Apr 8 10:51:02 CEST 2021

Works like a charm. In `master` I get `0xAE` as L2 address on my MIoT-Nucleo-F767ZI. With this PR I still get the same L2 address. With this PR and the following patch applied, I get `0x42` as address:

diff --git a/RIOT/miot-nucleo-f767zi/board.c b/RIOT/miot-nucleo-f767zi/board.c
index f2687e8..3451c48 100644
--- a/RIOT/miot-nucleo-f767zi/board.c
+++ b/RIOT/miot-nucleo-f767zi/board.c
@@ -20,6 +20,7 @@
 #include "board.h"
 #include "periph/gpio.h"
+#include "net/netdev.h"
 void board_init(void)
@@ -41,3 +42,9 @@ void board_init(void)
     gpio_init(AT86RF2XX_PARAM_CS, GPIO_OUT);
+void cc1xxx_eui_get(const netdev_t *netdev, uint8_t *eui)
+    (void)netdev;
+    *eui = 0x42;

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210408/bae89596/attachment-0001.htm>

More information about the notifications mailing list