Update stack size

For some reason ETH_IRQ handler was not enabled
Everything seems to be working
This commit is contained in:
2023-12-01 18:42:41 +01:00
parent 06468f20a0
commit 2d1a51ea04
5 changed files with 25 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ int main(void) {
/* Create the thread(s) */
/* definition and creation of app */
osThreadDef(app, app_main, osPriorityNormal, 0, 128);
osThreadDef(app, app_main, osPriorityNormal, 0, 1024);
appHandle = osThreadCreate(osThread(app), NULL);
/* USER CODE BEGIN RTOS_THREADS */

View File

@@ -55,6 +55,7 @@
/* USER CODE END 0 */
/* External variables --------------------------------------------------------*/
extern ETH_HandleTypeDef heth;
extern TIM_HandleTypeDef htim1;
/* USER CODE BEGIN EV */
@@ -86,6 +87,20 @@ void TIM1_UP_TIM10_IRQHandler(void)
/* USER CODE END TIM1_UP_TIM10_IRQn 1 */
}
/**
* @brief This function handles Ethernet global interrupt.
*/
void ETH_IRQHandler(void)
{
/* USER CODE BEGIN ETH_IRQn 0 */
/* USER CODE END ETH_IRQn 0 */
HAL_ETH_IRQHandler(&heth);
/* USER CODE BEGIN ETH_IRQn 1 */
/* USER CODE END ETH_IRQn 1 */
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */