mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Updated config for F407 and fixed profiler error
This commit is contained in:
parent
0e5addfe9d
commit
ad2be63cbe
@ -64,6 +64,11 @@
|
|||||||
#define STA_STM32_USART_3_PCLK_IDX 1 /**< USART3 to PCLK index */
|
#define STA_STM32_USART_3_PCLK_IDX 1 /**< USART3 to PCLK index */
|
||||||
#define STA_STM32_USART_6_PCLK_IDX 2 /**< USART6 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
|
// HAL handle mappings
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include <sta/debug/profile.hpp>
|
#include <sta/debug/profile.hpp>
|
||||||
|
|
||||||
#ifdef STA_DEBUGGING_ENABLED
|
#ifdef STA_PROFILING_ENABLED
|
||||||
|
|
||||||
#include <sta/time.hpp>
|
#include <sta/time.hpp>
|
||||||
|
|
||||||
@ -26,4 +26,4 @@ namespace sta
|
|||||||
}
|
}
|
||||||
} // namespace sta
|
} // namespace sta
|
||||||
|
|
||||||
#endif // STA_DEBUGGING_ENABLED
|
#endif // STA_PROFILING_ENABLED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user