stm32f107_basic: Add support for a simple stm32f107 platform
This platform is a basic waveshare stm32f107 devkit which contains a USART, USB device port, some buttons and some LEDs. Unfortunately not enough to bring up networking, but enough to test building and a simple contiki shell
This commit is contained in:
parent
5c6018f0e2
commit
222f93f023
10 changed files with 557 additions and 0 deletions
14
platform/stm32f107_basic/dev/debug-uart.h
Normal file
14
platform/stm32f107_basic/dev/debug-uart.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* USART driver for STM32F1xx w/ libopencm3 peripherl lib
|
||||
* (c) 2012 Blessed Contraptions
|
||||
* Jeff Ciesielski <jeff.ciesielski@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef _UART_H_
|
||||
#define _UART_H_
|
||||
|
||||
int uart_putchar(char c);
|
||||
int uart_getchar(char *c);
|
||||
void uart_init(int baud);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue