From f090c9de43a80cbcd59911618e27373d1f79e88b Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Wed, 11 Sep 2024 16:00:22 +0000 Subject: [PATCH] Update main to include forward.hpp --- .../boards/stm32/H7/Src/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 c3d1559..203db42 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) */ -- GitLab