[En-Nut-Discussion] Ethernut on TI's Cortex-M3 (Stellaris LM3S...)
Harald Kipp
harald.kipp at egnite.de
Tue Nov 6 11:52:53 CET 2012
Hi Ole,
On 06.11.2012 11:37, Ole Reinhardt wrote:
>> That _may_ be caused by a difference in the structure between Harvard
>> and non-Harvard architectures. The former includes an additional member
>> dev_write_P, which allows them to write data from program space.
>
> Yes, i exactly had the same problem! That's why I suggested to use the
> named structure member initialisation (which is not C89 conform) if you
> remember.
Yes, now I remember. :-)
Quite strange, because dev_write_P should never appear when compiling
for ARM. And the compiler should throw an error, if someone tries to add
more members in the related variable initialization.
Looks like there is an undiscovered problem somewhere in the header files.
Regards,
Harald
More information about the En-Nut-Discussion
mailing list