[stm32] platform and target implementation

This commit is contained in:
Travis Geiselbrecht
2012-04-10 14:23:37 -07:00
parent 1686c8741a
commit 1a24df3f3a
9 changed files with 312 additions and 9 deletions

View File

@@ -26,5 +26,6 @@
#include <stm32f10x_usart.h>
#define DEBUG_UART USART3
#define DEBUG_UART_IRQ USART3_IRQn
#endif

View File

@@ -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;
}