diff --git a/.cproject b/.cproject index 1e529a9..af501ce 100644 --- a/.cproject +++ b/.cproject @@ -124,17 +124,17 @@ - - - - - - - - + + + + + + + + @@ -220,17 +220,17 @@ - - - - - - - - + + + + + + + + diff --git a/Core/Src/main.c b/Core/Src/main.c index 3a9209f..a4ac7bf 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -18,7 +18,6 @@ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" -#include "app_touchgfx.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ @@ -105,7 +104,6 @@ static void MX_TIM3_Init(void); static void MX_TIM5_Init(void); static void MX_TIM8_Init(void); static void MX_USART1_UART_Init(void); -void TouchGFX_Task(void *argument); /* USER CODE BEGIN PFP */ /* USER CODE END PFP */ @@ -127,6 +125,12 @@ int main(void) /* USER CODE END 1 */ + /* Enable I-Cache---------------------------------------------------------*/ + SCB_EnableICache(); + + /* Enable D-Cache---------------------------------------------------------*/ + SCB_EnableDCache(); + /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ diff --git a/RealtimeOscilloscope.ioc b/RealtimeOscilloscope.ioc index 8725edd..ee8fc73 100644 --- a/RealtimeOscilloscope.ioc +++ b/RealtimeOscilloscope.ioc @@ -4,6 +4,9 @@ ADC3.Channel-IN0=ADC_CHANNEL_0 ADC3.ExternalTrigConv=ADC_EXTERNALTRIGCONV_T1_CC1 ADC3.ExternalTrigConvEdge=ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING ADC3.IPParameters=Channel-IN0,Channel-0\#ChannelRegularConversion,ExternalTrigConv,ExternalTrigConvEdge +CORTEX_M7.CPU_DCache=Enabled +CORTEX_M7.CPU_ICache=Enabled +CORTEX_M7.IPParameters=CPU_ICache,CPU_DCache FMC.CASLatency1=FMC_SDRAM_CAS_LATENCY_3 FMC.ExitSelfRefreshDelay1=7 FMC.IPParameters=CASLatency1,SDClockPeriod1,SDClockPeriod2,ReadBurst1,ReadBurst2,LoadToActiveDelay1,ExitSelfRefreshDelay1,SelfRefreshTime1,RowCycleDelay1,RowCycleDelay2,WriteRecoveryTime1,RPDelay1,RPDelay2,RCDDelay1