From 407e5714792cf9280eeea1a60e66db69924f114c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 16 Aug 2015 08:33:01 +0000 Subject: Moved cache initialization into startup files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8220 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F746G-DISCOVERY/main.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'demos/STM32') diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c index 236ab396c..dabc687cb 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c @@ -40,11 +40,6 @@ static THD_FUNCTION(Thread1, arg) { */ int main(void) { - SCB_InvalidateICache(); - SCB_EnableICache(); - SCB_CleanInvalidateDCache(); - SCB_EnableDCache(); - /* * System initializations. * - HAL initialization, this also initializes the configured device drivers -- cgit v1.2.3