aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2014-10-18 17:20:29 +0300
committerbarthess <barthess@yandex.ru>2014-10-18 17:20:29 +0300
commit721c48bc978edeeff89e4b1169cb96b1569fdc3a (patch)
treebee730944db7faf53e81394e3c713b2a70026beb /testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
parentfb205a7d6dee939848797cc25af3b118af025406 (diff)
downloadChibiOS-Contrib-721c48bc978edeeff89e4b1169cb96b1569fdc3a.tar.gz
ChibiOS-Contrib-721c48bc978edeeff89e4b1169cb96b1569fdc3a.tar.bz2
ChibiOS-Contrib-721c48bc978edeeff89e4b1169cb96b1569fdc3a.zip
FSMC. Build fixed after code moving from SVN
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/main.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
index ba5c28d..ac8f04d 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS/RT - Copyright (C) 2013-2014 Uladzimir Pylinsky aka barthess
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -13,10 +13,6 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-/*
- Concepts and parts of this file have been contributed by Uladzimir Pylinsky
- aka barthess.
- */
/*
TODO:
@@ -66,10 +62,10 @@ static const SRAMConfig sram_cfg = {
};
/* benchmarking results in MiB/S */
-double memset_speed_ext;
-double memset_speed_int;
-double memcpy_speed_ext2int;
-double memcpy_speed_int2ext;
+volatile double memset_speed_ext;
+volatile double memset_speed_int;
+volatile double memcpy_speed_ext2int;
+volatile double memcpy_speed_int2ext;
/*
******************************************************************************