diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-11-04 10:49:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 10:49:50 +0100 |
commit | d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8 (patch) | |
tree | 703501bbb1acd3937a1dbba4c68cf98c5d8ac5d2 /testhal/STM32/STM32F4xx/FSMC_SRAM/main.c | |
parent | 462e4e00f64027b7f38b33ad2b0737c453cf0fc1 (diff) | |
parent | c65efdcfa1d281a8f0a29bb864e86dd0c892c156 (diff) | |
download | ChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.tar.gz ChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.tar.bz2 ChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.zip |
Merge pull request #205 from ChibiOS/fsmc
FSMC drivers update
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/main.c')
-rw-r--r-- | testhal/STM32/STM32F4xx/FSMC_SRAM/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c index c94bd73..4bd94f8 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c @@ -17,7 +17,6 @@ #include "ch.h" #include "hal.h" -#include "hal_fsmc_sram.h" #include "membench.h" #include "memtest.h" @@ -173,8 +172,8 @@ int main(void) { halInit(); chSysInit(); - fsmcSramInit(); - fsmcSramStart(&SRAMD4, &sram_cfg); + sramInit(); + sramStart(&SRAMD4, &sram_cfg); membench(); memtest(); |