Răsfoiți Sursa

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

ardafu 10 ani în urmă
părinte
comite
1daa96a214

+ 1 - 6
bsp/tm4c129x/applications/board.c

@@ -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");

+ 1 - 1
bsp/tm4c129x/applications/board.h

@@ -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>

Fișier diff suprimat deoarece este prea mare
+ 5 - 1656
bsp/tm4c129x/libraries/inc/tm4c1294ncpdt.h


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff