1. [BSP] TM4C129x : Fix the bug that enable global INT before OS scheduler start the fist thread.

2. [BSP] TM4C129x : According to LunchPad, change device id from TM4C1294XCNZAD   to TM4C1294NCPDT
This commit is contained in:
ardafu 2015-03-10 12:13:14 +08:00
parent 4a9c3fae29
commit 1daa96a214
3 changed files with 8 additions and 1664 deletions

View File

@ -91,13 +91,8 @@ int rt_hw_cpu_init(void)
MAP_SysTickIntEnable();
MAP_SysTickEnable();
/* set pend exception priority */
//IntPrioritySet(FAULT_PENDSV, (1 << 5) - 1);
/*Enable interrupts to the processor.*/
MAP_IntMasterEnable();
return 0;
}
// rt_hw_cpu_init should be run before any other INIT_BOARD_EXPORT
// We use INIT_EXPORT here and set the sequence index to "0.xxxx"
INIT_EXPORT(rt_hw_cpu_init, "0.post");
INIT_EXPORT(rt_hw_cpu_init, "0.post");

View File

@ -17,7 +17,7 @@
#ifndef __BOARD_H__
#define __BOARD_H__
#include "tm4c129xnczad.h"
#include "tm4c1294ncpdt.h"
#include <rtthread.h>
#include <stdbool.h>
#include <stdint.h>