Hi,

On 8/29/18 11:13 AM, Jose wrote:
> 1. Move the `net` folder to the RIOTBASE folder (`sys/net` -> `sys`):
>    This is consistent with our documentation, generates less folder
>    depth, makes refactoring easier. The Linux kernel does exactly the
>    same [2].
> 2. Add a `lib` folder in the RIOTBASE:
>     1. Move cryptos, serializers, parsers, math, etc. to this `lib` folder.
>     2. Keep RIOT sys related stuff in the `sys` folder. This could be,
>        for instance, stuff in direct communication with the RIOT kernel
>        and layers interacting with periphs (auto_init, xtimer, power
>        management, maybe file systems).

+1!

Would it make sense to then move core, drivers, sys, net, lib, boards,
cpu into src/?
Is there something sensible like "hw" where we could put cpu, boards,
drivers?
Should periph and netdev move to sys?

For network I find it a little difficult. IMO some parts are more
sys/net, others are more lib/net. Eg., everything that sits on top of
sock (and is stack independent) could be considered "library code".

Kaspar
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to