X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Finclude%2Fplatform.h;h=5de88ca0cb06c868cd5955badb1b535fc828813d;hb=1265496073840b32e1e57b8b23f2d4de4bcb78c4;hp=e6cbcec2401b60e3c75698b77e18aff6d778c6f0;hpb=c28cce5afcc1e1747f51e5afe15e338dae030376;p=goodfet diff --git a/firmware/include/platform.h b/firmware/include/platform.h index e6cbcec..5de88ca 100644 --- a/firmware/include/platform.h +++ b/firmware/include/platform.h @@ -1,4 +1,10 @@ -//! \file platform.h +/*! \file platform.h + \author Travis Goodspeed + \brief Port and baud rate definitions. + + The functions specified here are defined in the platform + definition file, such as msp430x1612.c or msp430x2618.c. +*/ #include #include @@ -8,7 +14,7 @@ //Use P3 instead of P5 for target I/O on chips without P5. #ifndef __MSP430_HAS_PORT5__ #ifndef __MSP430_HAS_PORT5_R__ -//#warning "No P5, using P3 instead. Will break 2618 and 1612 support." +#warning "No P5, using P3 instead. Will break 2618 and 1612 support." #define P5OUT P3OUT #define P5DIR P3DIR #define P5REN P3REN @@ -20,7 +26,7 @@ //Use false P5REN for 1612. #ifdef __MSP430_HAS_PORT5__ #ifndef __MSP430_HAS_PORT5_R__ -//#warning "1xx, using fake P5REN for external pulling resistors." +#warning "1xx, using fake P5REN for external pulling resistors." #define P5REN P5OUT #endif #endif