[En-Nut-Discussion] Nut/OS Initialization
Harald Kipp
harald.kipp at egnite.de
Tue Sep 16 10:11:13 CEST 2008
Henrik Maier wrote:
> I actually like the way how it's done currently.
Yes, in any case this should not force anyone to re-write existing
applications.
> If HardwareInit() is kept in a separate linker module
> (this is important!), users like myself can simply override it on a project
> basis by providing project specific object file with a custom implementation
> of HardwareInit().
Yes, this "hidden initialization" should not add any code if not
configured. Or the other way round, it will be configured by default to
allow an easy start for newbies. Programmers may disable it without penalty.
Harald
More information about the En-Nut-Discussion
mailing list