[En-Nut-Discussion] spi_flash_at45d.c - compile errors with AT45D_CRC_PAGE enabled

Harald Kipp harald.kipp at egnite.de
Wed Apr 2 08:59:16 CEST 2014


Hi Uwe, Wojciech,

On 01.04.2014 15:53, Uwe Bonnes wrote:
>>>>>> "Wojciech" == Wojciech Nizinski <niziak at spox.org> writes:
>     Wojciech> 'CalculateChecksum': 
> This one in fishy. 

The whole CRC code looks smelly to me. Obviously not one of my best days
when I wrote that.

Wojciech, you probably selected AT45D_CRC_PAGE in the Configurator. None
of the reference configuration uses this option, that's why it hasn't
been detected in the test builds. If you don't need this option, you can
disable it to make the code compile.

Regards,

Harald



More information about the En-Nut-Discussion mailing list