boards/stm32: remove up_perf_init from boardinitialize

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2023-01-06 10:37:13 +08:00 committed by Xiang Xiao
parent c137aeec32
commit 8c9e90882d
5 changed files with 0 additions and 20 deletions

View File

@ -53,10 +53,6 @@
void stm32_boardinitialize(void)
{
#ifdef CONFIG_SCHED_CRITMONITOR
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || \
defined(CONFIG_STM32_SPI3)
stm32_spidev_initialize();

View File

@ -52,10 +52,6 @@
void stm32_boardinitialize(void)
{
#ifdef CONFIG_SEGGER_SYSVIEW
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif
#ifdef CONFIG_ARCH_LEDS
/* Configure on-board LEDs if LED support has been selected. */

View File

@ -53,10 +53,6 @@
void stm32_boardinitialize(void)
{
#ifdef CONFIG_SCHED_CRITMONITOR
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3)
/* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak
* function stm32_spidev_initialize() has been brought into the link.

View File

@ -53,10 +53,6 @@
void stm32_boardinitialize(void)
{
#ifdef CONFIG_SCHED_CRITMONITOR
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3)
/* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak
* function stm32_spidev_initialize() has been brought into the link.

View File

@ -50,10 +50,6 @@
void stm32_boardinitialize(void)
{
#ifdef CONFIG_SCHED_IRQMONITOR
up_perf_init((void *)STM32_SYSCLK_FREQUENCY);
#endif
#ifdef CONFIG_ARCH_LEDS
/* Configure on-board LEDs if LED support has been selected. */