Hi,

On Sat, Feb 14, 2015 at 03:28:56PM +0100, Kaspar Schleiser wrote:
> On 02/14/15 12:28, Ludwig Ortmann wrote:
> >I created quick&dirty branches for both methods:
> >
> >plain c:
> >https://github.com/LudwigOrtmann/RIOT/tree/wip/remove-main-application-init
> >macro magic:
> >https://github.com/LudwigOrtmann/RIOT/tree/wip/remove-main-make
> >
> >Not sure which one I dislike better ;)
> ;)
> 
> I think we should come up with a method that enables inclusion of multiple
> application threads. Maybe we can even replace auto_init in the process.

A possible removal of auto_init is a separate concern from my point of
view, so I'd like to keep it out of the discussion for now. If you
disagree you need to elaborate, because I don't see how this fits in.

> We could have something like
> ...
> All that we parse and auto-generate the corresponding C code.
> 
> Not sure if we're entering a world of pain this way. ;)

Call me bourgeois, but I would rather use macros than generating C
code somewhere in the build system. (Or you could try to convince me
with the power of code ;)

I liked the idea with the list, though.

Cheers,
Ludwig
_______________________________________________
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel

Reply via email to