mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: disable show_stack_usage in bootloader
This commit is contained in:
parent
a6e989e263
commit
51b4d54f70
|
@ -76,7 +76,7 @@ void stm32_timer_set_channel_input(stm32_tim_t *tim, uint8_t channel, uint8_t in
|
|||
}
|
||||
}
|
||||
|
||||
#if CH_DBG_ENABLE_STACK_CHECK == TRUE
|
||||
#if CH_DBG_ENABLE_STACK_CHECK == TRUE && !defined(HAL_BOOTLOADER_BUILD)
|
||||
void show_stack_usage(void)
|
||||
{
|
||||
thread_t *tp;
|
||||
|
@ -290,7 +290,7 @@ void peripheral_power_enable(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if defined(STM32F7) || defined(STM32F4)
|
||||
#if defined(STM32F7) || defined(STM32H7) || defined(STM32F4)
|
||||
/*
|
||||
read mode of a pin. This allows a pin config to be read, changed and
|
||||
then written back
|
||||
|
|
|
@ -74,7 +74,7 @@ void malloc_init(void);
|
|||
read mode of a pin. This allows a pin config to be read, changed and
|
||||
then written back
|
||||
*/
|
||||
#if defined(STM32F7) || defined(STM32F4)
|
||||
#if defined(STM32F7) || defined(STM32H7) || defined(STM32F4)
|
||||
iomode_t palReadLineMode(ioline_t line);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue