[stm32] platform and target implementation
This commit is contained in:
@@ -26,5 +26,6 @@
|
||||
#include <stm32f10x_usart.h>
|
||||
|
||||
#define DEBUG_UART USART3
|
||||
#define DEBUG_UART_IRQ USART3_IRQn
|
||||
|
||||
#endif
|
||||
|
||||
@@ -50,10 +50,15 @@ void target_early_init(void)
|
||||
init.GPIO_Mode = GPIO_Mode_IN_FLOATING;
|
||||
GPIO_Init(GPIOD, &init);
|
||||
|
||||
stm32_debug_init();
|
||||
stm32_debug_early_init();
|
||||
}
|
||||
|
||||
void target_init(void)
|
||||
{
|
||||
TRACE_ENTRY;
|
||||
|
||||
stm32_debug_init();
|
||||
|
||||
TRACE_EXIT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user