understand freertos logging

This commit is contained in:
lucordes 2025-07-10 18:09:05 +02:00
parent b82393d4a2
commit 862fc8da97
2 changed files with 447 additions and 490 deletions

View File

@ -60,11 +60,11 @@ unsigned long getRunTimeCounterValue(void);
/* Functions needed when configGENERATE_RUN_TIME_STATS is on */ /* Functions needed when configGENERATE_RUN_TIME_STATS is on */
__weak void configureTimerForRunTimeStats(void) { __weak void configureTimerForRunTimeStats(void) {
// Configure TIM2 as a free-running timer at 1 MHz // Configure TIM2 as a free-running timer at 1 MHz
// __HAL_RCC_TIM2_CLK_ENABLE(); __HAL_RCC_TIM2_CLK_ENABLE();
// TIM2->PSC = (SystemCoreClock / 1000000) - 1; // 1 MHz TIM2->PSC = (SystemCoreClock / 1000000) - 1; // 1 MHz
// TIM2->ARR = 0xFFFFFFFF; TIM2->ARR = 0xFFFFFFFF;
// TIM2->CNT = 0; TIM2->CNT = 0;
// TIM2->CR1 = TIM_CR1_CEN; TIM2->CR1 = TIM_CR1_CEN;
} }
__weak unsigned long getRunTimeCounterValue(void) { __weak unsigned long getRunTimeCounterValue(void) {

File diff suppressed because it is too large Load Diff