Updated config for F407 and fixed profiler error

This commit is contained in:
dario 2024-05-28 12:31:33 +02:00
parent 0e5addfe9d
commit ad2be63cbe
2 changed files with 7 additions and 2 deletions

View File

@ -64,6 +64,11 @@
#define STA_STM32_USART_3_PCLK_IDX 1 /**< USART3 to PCLK index */
#define STA_STM32_USART_6_PCLK_IDX 2 /**< USART6 to PCLK index */
// prescaler from APBx to APBx timer clocks
#define STA_STM32_TIM_PCLK_1_PRESCALER 2 /**< PCLK1 has prescaler of 2 */
#define STA_STM32_TIM_PCLK_2_PRESCALER 2 /**< PCLK2 has prescaler of 1 */
// HAL handle mappings
//

View File

@ -7,7 +7,7 @@
#include <sta/debug/profile.hpp>
#ifdef STA_DEBUGGING_ENABLED
#ifdef STA_PROFILING_ENABLED
#include <sta/time.hpp>
@ -26,4 +26,4 @@ namespace sta
}
} // namespace sta
#endif // STA_DEBUGGING_ENABLED
#endif // STA_PROFILING_ENABLED