Page 1 of 1

In file stm32f4xx.h #defines for FSMC missing

Posted: Sat Jan 04, 2014 3:17 pm
by NixToDo
Hi,

I have found missing #define statements for the FSMC in file:
/os/hal/platforms/STM32F4xx/stm32f4xx.h

At registers FSMC_BTR[1..4] and FSMC_RWTR[1..4] the Bits [7:4] of DATAST are missing in #define statements.
The DATAST field is the only one with 8 Bits, all others have 4 Bits ;)

I have attached a SVN patch file as ZIP, because the forum not allow uploading .patch files.

Buy.

Re: In file stm32f4xx.h #defines for FSMC missing

Posted: Sat Jan 04, 2014 6:23 pm
by Giovanni
Hi,

Thanks for the file but should we be fixing vendor-provided files? in this case it should be ST fixing that (and good luck with that :)).

Giovanni