X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Flib%2Fstm32f407.c;fp=firmware%2Flib%2Fstm32f407.c;h=603c0ebbb78e59f68feed946bd072914da8260e8;hp=8e22329f0080aaf8dab35724b964326733de9708;hb=5bffb24e3e49be3e6667f45950cb158eda019b37;hpb=207c37e05544b7ac123e00f177a502fd67ef35f1 diff --git a/firmware/lib/stm32f407.c b/firmware/lib/stm32f407.c index 8e22329..603c0eb 100644 --- a/firmware/lib/stm32f407.c +++ b/firmware/lib/stm32f407.c @@ -1,10 +1,16 @@ -//! MSP430F2618 clock and I/O definitions - -// Included by other 2xx ports, such as the 2274. +/*! \file stm32f407.h + \author Travis Goodspeed + \brief STM32F407 port definitions. +*/ #include "platform.h" +//! Initialize the STM32F4xx ports and USB. +void stm32f4xx_init(){ + +} + //! Receive a byte. unsigned char serial0_rx(){ } @@ -35,16 +41,4 @@ 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() { -}