diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-25 09:33:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-25 09:33:30 +0000 |
commit | 464ab9297ac103d973421c2210e74f8de4c12f36 (patch) | |
tree | 633458893df8ad17fd2e4e2c43d04958ca684e42 /boards | |
parent | 1fbfd93a98f00a583ded741fa0218b436e1172ac (diff) | |
download | ChibiOS-464ab9297ac103d973421c2210e74f8de4c12f36.tar.gz ChibiOS-464ab9297ac103d973421c2210e74f8de4c12f36.tar.bz2 ChibiOS-464ab9297ac103d973421c2210e74f8de4c12f36.zip |
Updated MSP port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4134 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r-- | boards/OLIMEX_MSP430_P1611/board.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/boards/OLIMEX_MSP430_P1611/board.c b/boards/OLIMEX_MSP430_P1611/board.c index c81a4d5bc..70534158e 100644 --- a/boards/OLIMEX_MSP430_P1611/board.c +++ b/boards/OLIMEX_MSP430_P1611/board.c @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <signal.h>
-
#include "ch.h"
#include "hal.h"
@@ -52,7 +50,7 @@ const PALConfig pal_default_config = };
#endif
-CH_IRQ_HANDLER(TIMERA0_VECTOR) {
+CH_IRQ_HANDLER(TIMERA0) {
CH_IRQ_PROLOGUE();
@@ -68,6 +66,14 @@ CH_IRQ_HANDLER(TIMERA0_VECTOR) { */
void boardInit(void) {
+#if USE_MSP430_USART0
+ P3SEL |= (1 << 4) | (1 << 5);
+#endif
+
+#if USE_MSP430_USART1
+ P3SEL |= (1 << 6) | (1 << 7);
+#endif
+
/*
* Timer 0 setup, uses SMCLK as source.
*/
|