From 7c46e301610063ac82b364946e15497f13c8ff84 Mon Sep 17 00:00:00 2001 From: "@CarlWachter" Date: Wed, 30 Aug 2023 13:46:42 +0200 Subject: [PATCH] Added use of startup.cpp --- Core/Src/freertos.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Core/Src/freertos.c b/Core/Src/freertos.c index 81500c8..5a1ff45 100644 --- a/Core/Src/freertos.c +++ b/Core/Src/freertos.c @@ -126,6 +126,13 @@ void MX_FREERTOS_Init(void) { void StartDefaultTask(void *argument) { /* USER CODE BEGIN StartDefaultTask */ + +#define STA_RTOS_SYSTEM_EVENTS_ENABLE +#define STA_RTOS_WATCHDOG_ENABLE + + extern void startALPAKA(void *); + startALPAKA(argument); + /* Infinite loop */ for(;;) {