Changeset 29 for trunk/firmware/App/CubeMX/Appli/Core
- Timestamp:
- Oct 14, 2026, 10:56:57 AM (3 weeks ago)
- Location:
- trunk/firmware/App/CubeMX/Appli/Core
- Files:
-
- 4 edited
-
Inc/stm32n6xx_hal_conf.h (modified) (1 diff)
-
Inc/stm32n6xx_it.h (modified) (1 diff)
-
Src/main.c (modified) (2 diffs)
-
Src/stm32n6xx_it.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware/App/CubeMX/Appli/Core/Inc/stm32n6xx_hal_conf.h
r24 r29 163 163 */ 164 164 #define VDD_VALUE 3300UL /*!< Value of VDD in mv */ 165 #define TICK_INT_PRIORITY 15U /*!< tick interrupt priority (lowest by default)*/165 #define TICK_INT_PRIORITY 0U /*!< tick interrupt priority */ 166 166 #define USE_RTOS 0U 167 167 -
trunk/firmware/App/CubeMX/Appli/Core/Inc/stm32n6xx_it.h
r21 r29 53 53 void UsageFault_Handler(void); 54 54 void SecureFault_Handler(void); 55 void SVC_Handler(void);56 55 void DebugMon_Handler(void); 57 void PendSV_Handler(void);58 void SysTick_Handler(void);59 56 /* USER CODE BEGIN EFP */ 60 57 -
trunk/firmware/App/CubeMX/Appli/Core/Src/main.c
r28 r29 19 19 /* Includes ------------------------------------------------------------------*/ 20 20 #include "main.h" 21 #include "app_freertos.h" 21 22 #include "bsec.h" 22 23 #include "gpio.h" … … 113 114 /* USER CODE END 2 */ 114 115 116 /* Init scheduler */ 117 osKernelInitialize(); 118 /* Call init function for freertos objects (in app_freertos.c) */ 119 MX_FREERTOS_Init(); 120 121 /* Start scheduler */ 122 osKernelStart(); 123 124 /* We should never get here as control is now taken by the scheduler */ 125 115 126 /* Infinite loop */ 116 127 /* USER CODE BEGIN WHILE */ 117 128 while (1) 118 129 { 119 120 HAL_GPIO_TogglePin(LED_GREEN_GPIO_Port, LED_GREEN_Pin);121 HAL_Delay(500U);122 printf("Programm is running at %u MHz\n", SystemCoreClock / 1000000U);123 130 /* USER CODE END WHILE */ 124 131 -
trunk/firmware/App/CubeMX/Appli/Core/Src/stm32n6xx_it.c
r21 r29 155 155 156 156 /** 157 * @brief This function handles System service call via SWI instruction.158 */159 void SVC_Handler(void)160 {161 /* USER CODE BEGIN SVCall_IRQn 0 */162 163 /* USER CODE END SVCall_IRQn 0 */164 /* USER CODE BEGIN SVCall_IRQn 1 */165 166 /* USER CODE END SVCall_IRQn 1 */167 }168 169 /**170 157 * @brief This function handles Debug monitor. 171 158 */ … … 180 167 } 181 168 182 /**183 * @brief This function handles Pendable request for system service.184 */185 void PendSV_Handler(void)186 {187 /* USER CODE BEGIN PendSV_IRQn 0 */188 189 /* USER CODE END PendSV_IRQn 0 */190 /* USER CODE BEGIN PendSV_IRQn 1 */191 192 /* USER CODE END PendSV_IRQn 1 */193 }194 195 /**196 * @brief This function handles System tick timer.197 */198 void SysTick_Handler(void)199 {200 /* USER CODE BEGIN SysTick_IRQn 0 */201 202 /* USER CODE END SysTick_IRQn 0 */203 HAL_IncTick();204 /* USER CODE BEGIN SysTick_IRQn 1 */205 206 /* USER CODE END SysTick_IRQn 1 */207 }208 209 169 /******************************************************************************/ 210 170 /* STM32N6xx Peripheral Interrupt Handlers */
Note:
See TracChangeset
for help on using the changeset viewer.
