Page 1 of 1

SDRAM driver

Posted: Thu Aug 13, 2015 1:18 pm
by JoVM
Why

Code: Select all

#if (defined(STM32F427xx) || defined(STM32F437xx) || \
     defined(STM32F429xx) || defined(STM32F439xx))

#include "fsmc.h"
...
??

Is it tested for stm32f407? This comes from barthess commit.


Kr,Jo

Re: SDRAM driver

Posted: Thu Aug 13, 2015 1:21 pm
by Giovanni
If I remember well F407 does not support SDRAM.

Giovanni

Re: SDRAM driver

Posted: Thu Aug 13, 2015 1:45 pm
by JoVM
Hi Giovanni,

Likely. I have the IS61WV1024 on my STM32F40G-EVAL board. I thought it was DRAM but it must be SRAM then.


Kr,Jo

Re: SDRAM driver

Posted: Thu Aug 13, 2015 4:31 pm
by JoVM
The commit in ChibiOS-contrib doesn't include a .mk for smartbuild.
Doesn't it need something like

Code: Select all

ifneq ($(findstring HAL_USE_FSMC TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/FSMC/....
endif
?

Re: SDRAM driver

Posted: Thu Aug 13, 2015 6:43 pm
by Giovanni
It is not mandatory.

Giovanni

Re: SDRAM driver

Posted: Thu Aug 13, 2015 7:19 pm
by JoVM
Is it planned for consistency with the latest release? Do I include FSMC always with every build?