[riot-notifications] [RIOT-OS/RIOT] boards/samr21-xpro: namespace board_init (#16481)

Francisco notifications at github.com
Wed May 19 13:17:29 CEST 2021

> > I don't really see the point of this - how about we remove some boilerplate from `board_init()` with #16055 and then add the option to hook custom functions after `board_init()` in cpu?
> > If anything I'd like to reduce the boilerplate in `board.c`, not add to it.
> How would these hooks be defined?

I don't disagree with what you want to do, but for the particular use case of "extending" a `BOARD` that exists in tree, I would think that the hook would end up looking the same no?

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/20210519/8319e712/attachment.htm>

More information about the notifications mailing list