diff --git a/aidge_export_arm_cortexm/boards/stm32/H7/Src/main.c b/aidge_export_arm_cortexm/boards/stm32/H7/Src/main.c index c3d1559ee4f1490863e0606d92ecf90789cd0782..203db42842226fcb0a0411c8b136f0bcfabec8a8 100644 --- a/aidge_export_arm_cortexm/boards/stm32/H7/Src/main.c +++ b/aidge_export_arm_cortexm/boards/stm32/H7/Src/main.c @@ -26,7 +26,7 @@ #include <stdio.h> -#include "dnn/include/dnn.h" +#include "dnn/include/forward.hpp" /* USER CODE END Includes */ @@ -83,7 +83,7 @@ int main(void) /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ - + /* Enable I-Cache---------------------------------------------------------*/ SCB_EnableICache(); @@ -125,7 +125,7 @@ int main(void) printf("********************** END DEMO *********************\r\n"); printf("*****************************************************\r\n"); printf("\r\n"); - + /* USER CODE END 3 */ } @@ -139,15 +139,15 @@ void SystemClock_Config(void) RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; - /** Supply configuration update enable + /** Supply configuration update enable */ HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY); - /** Configure the main internal regulator output voltage + /** Configure the main internal regulator output voltage */ __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1); while(!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {} - /** Initializes the CPU, AHB and APB busses clocks + /** Initializes the CPU, AHB and APB busses clocks */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI; RCC_OscInitStruct.HSIState = RCC_HSI_DIV1; @@ -166,7 +166,7 @@ void SystemClock_Config(void) { Error_Handler(); } - /** Initializes the CPU, AHB and APB busses clocks + /** Initializes the CPU, AHB and APB busses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2 @@ -355,7 +355,7 @@ void Error_Handler(void) * @retval None */ void assert_failed(uint8_t *file, uint32_t line) -{ +{ /* USER CODE BEGIN 6 */ /* User can add his own implementation to report the file name and line number, tex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */