From: travisutk Date: Sat, 5 May 2012 19:47:21 +0000 (+0000) Subject: Empty files for STM32F407 support. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=62b6ab15afdcff1bf22efa9d285ca34c7816fa7d;hp=8c97f896b9cf1b9b6ddf25420c9d9f04516ddd11 Empty files for STM32F407 support. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1154 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/firmware/lib/stm32f407.c b/firmware/lib/stm32f407.c new file mode 100644 index 0000000..8e22329 --- /dev/null +++ b/firmware/lib/stm32f407.c @@ -0,0 +1,50 @@ +//! MSP430F2618 clock and I/O definitions + +// Included by other 2xx ports, such as the 2274. + +#include "platform.h" + + +//! Receive a byte. +unsigned char serial0_rx(){ +} + +//! Receive a byte. +unsigned char serial1_rx(){ +} + +//! Transmit a byte. +void serial0_tx(unsigned char x){ +} +//! Transmit a byte. +void serial_tx_old(unsigned char x){ +} + +//! Transmit a byte on the second UART. +void serial1_tx(unsigned char x){ + +} + +//! Set the baud rate. +void setbaud0(unsigned char rate){ + //Ignore this, as we'll be in USB. +} + +//! Set the baud rate of the second uart. +void setbaud1(unsigned char rate){ + +} + +void msp430_init_uart(){ + +} + + +//! Initialization is correct. +void msp430_init_dco_done(){ +} + +//! Initialize the MSP430 clock. +void msp430_init_dco() { +} + diff --git a/firmware/platforms/stm32f4discovery.h b/firmware/platforms/stm32f4discovery.h new file mode 100644 index 0000000..4b7c518 --- /dev/null +++ b/firmware/platforms/stm32f4discovery.h @@ -0,0 +1,4 @@ + + +// Nothing to see here. +