[riot-devel] API proficiency levels

Kaspar Schleiser kaspar at schleiser.de
Wed Mar 25 17:02:35 CET 2015


On 03/25/2015 11:12 AM, Hauke Petersen wrote:
> in general I like the idea, one problem I see is however, that is not
> always clear, to which level an API belongs (e.g. the GPIO API is
> definitely used also by high-level application programmers, while still
> belonging to the low-level peripheral drivers...).
We could mark certain functions / parts of an API as "advanced" in the 
docs and provide "safe" alternatives.

Seriously, it hurts to not be able to work around 1000000000 redundant 
checks whether an int coming from flash is a correct SPI device...


More information about the devel mailing list