Hi. I am attempting to add a new cpu (Analog Devices MAX32660) and a new board (max32660-evsys).
I thought I would start with the blinky app which says it is intended for exactly this sort of thing. The blinky README says:
“This is mostly useful for boards without stdio to check if a new port of RIOT works. For that reason, this example has only an optional dependency on timer drivers. Hence, this application only needs a working GPIO driver and is likely the first milestone when porting RIOT to new MCUs.”
However, blinky appears to want a uart:
$ make BOARD=max32660-evsys There are unsatisfied feature requirements: periph_uart
The workaround is apparently:
$ make BOARD=max32660-evsys CONTINUE_ON_EXPECTED_ERRORS=1 There are unsatisfied feature requirements: periph_uart EXPECT ERRORS!
The build then finishes (finishes ok as far as I can tell … but then I told it to continue on error, so maybe not).
Blinky is such a basic example that it doesn’t seem like there should be any expected errors. And when I tell it to continue on expected errors, how do I know that I’m not continuing past other errors?
I see in the blinky README that stdio is used for the case that there is no LED to blink, but what would be the point of that?? Seems like that would be the point of the ‘hello world’ example. This seems like an unnecessary complication for something that’s intended only to wiggle a gpio output to help with bringing up a new cpu.
So, I guess my question is: Is there a way to fix blinky to forget the whole uart thing?
(FWIW, I’m just a newbie - maybe I shouldn’t be trying to add a new cpu - except the max32 family has a lot of potential and of course they should be running RIOT OS.)
Thanks!