SDRAM driver

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
JoVM
Posts: 89
Joined: Thu Mar 12, 2015 12:13 pm

SDRAM driver

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: SDRAM driver

Post by Giovanni »

If I remember well F407 does not support SDRAM.

Giovanni
JoVM
Posts: 89
Joined: Thu Mar 12, 2015 12:13 pm

Re: SDRAM driver

Post 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
JoVM
Posts: 89
Joined: Thu Mar 12, 2015 12:13 pm

Re: SDRAM driver

Post 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
?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: SDRAM driver

Post by Giovanni »

It is not mandatory.

Giovanni
JoVM
Posts: 89
Joined: Thu Mar 12, 2015 12:13 pm

Re: SDRAM driver

Post by JoVM »

Is it planned for consistency with the latest release? Do I include FSMC always with every build?
Post Reply