提交 1daa96a2 编写于 作者: A ardafu

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
上级 4a9c3fae
......@@ -91,11 +91,6 @@ 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
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册