Empty files for STM32F407 support.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 5 May 2012 19:47:21 +0000 (19:47 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 5 May 2012 19:47:21 +0000 (19:47 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1154 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/lib/stm32f407.c [new file with mode: 0644]
firmware/platforms/stm32f4discovery.h [new file with mode: 0644]

diff --git a/firmware/lib/stm32f407.c b/firmware/lib/stm32f407.c
new file mode 100644 (file)
index 0000000..8e22329
--- /dev/null
@@ -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 (file)
index 0000000..4b7c518
--- /dev/null
@@ -0,0 +1,4 @@
+
+
+// Nothing to see here.
+