[En-Nut-Discussion] Fw: NutOS Upgrade, was: NutGetMillis in Uart ISR

Hugo Simon hugo.simon at gmx.de
Tue Nov 13 22:14:29 CET 2007


> I looked where __iob is defined:
>
> FILE *__iob[FOPEN_MAX] = { (FILE *) 1, (FILE *) 2, (FILE *) 3 };
>
> I cannot see how this could become 0x10=16 bytes in size, or is the
mapfile
> in words? But also then: since one element of __iob seems to have three
> pointers in it, the size should be a multiple of three. Am I wrong?
Oh no, it's to late today. Each element is a pointer (2 bytes?), the first
three are initialized (stdin, stdout, stderr I think). So with 8 entries we
get 16 bytes. Ok.

So it seems that NutOS make ignore's the settings, but App-Build doesn't.
Why?





More information about the En-Nut-Discussion mailing list