[riot-notifications] [RIOT-OS/RIOT] Makefile.features: prerequisites for moving CPU/CPU_MODEL to boards/Makefile.features (#11478)

Francisco notifications at github.com
Mon May 6 14:17:44 CEST 2019


> Not sure moving CPU etc to Makefile.features. Seems like hack, no one would expect it there.

I think it does make sense to have them defined in Makefile.features if you think of CPU as another feature provided by a board. How I understand this, a  board is not only an MCU but an CPU (MPU), with different peripherals and connections to different drivers. IMO it would be more intuitive to think of the CPU as another feature which is then included when needed.

> How to solve the issue from #9913 without it then ? Setting a new file seems like an overhead right now.

In #9913 @cladmi hinted it could make event more sense if they were defined in a completely different file. Although I agree with that, this seems like a sensible stepping stone towards dependencies resolution while still making sense semantically. 

It also makes  sense in a bigger picture where you may have 1 board with multiple CPU units (e.g. usb-kw41z witch also has a k22). 

@kaspar030 what do you think?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11478#issuecomment-489599958
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190506/367bc543/attachment.html>


More information about the notifications mailing list