[En-Nut-Discussion] How to modify Nut/OS

Harald Kipp harald.kipp at egnite.de
Thu Mar 31 15:26:30 CEST 2005


Hi Thiago,

The idea is to keep the source tree in its original state.
Thus I'd view the mod directory being outdated.

The preferred way is to create a new build tree with the
Configurator and place the modified files in this directory.
'make' will take sources from the build tree first. If they
exist, the same files in the source directory will be ignored.

If you want your modification being included in the release
later, it might be better to create a new source file. I assume,
that packing memory/port access into one file makes the code
difficult to read. But I may be wrong here.

If you decide to use a new source file, I can help with adding
it to the Configurator Scripts.

Harald

P.S. Btw. connecting the controller to port pins offers the
ability to honor the IOWAIT signal, which is impossible
on the AVR memory bus.



At 14:18 30.03.2005 -0300, you wrote:
>Hi,
>
>
>    How should I modify the Nut/OS files? I read I should place my
>modified files in the mod folder, but doing so, it won´t be build. I
>want to modify the nicrtl.c driver to be compatible with the uIP-AVR
>way of accessing the NIC chip, thru PORTF instead of the bus in PROTA
>
>Thanks in advance,
>
>     Thiago A. Correa




More information about the En-Nut-Discussion mailing list