diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-29 20:27:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-29 20:27:35 +0000 |
commit | 97436c3443db58bc802dc33e5d1a02763f5a48da (patch) | |
tree | ee267fb965d7d09bc41cdd07a8fe344f34290c63 /os/hal/platforms/LPC11xx | |
parent | 14f0fb44f8420d816367ff142ddee8acf51173cd (diff) | |
download | ChibiOS-97436c3443db58bc802dc33e5d1a02763f5a48da.tar.gz ChibiOS-97436c3443db58bc802dc33e5d1a02763f5a48da.tar.bz2 ChibiOS-97436c3443db58bc802dc33e5d1a02763f5a48da.zip |
Now it is working, honest.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1805 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC11xx')
-rw-r--r-- | os/hal/platforms/LPC11xx/hal_lld.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/os/hal/platforms/LPC11xx/hal_lld.c b/os/hal/platforms/LPC11xx/hal_lld.c index d58648c5e..31d9f5417 100644 --- a/os/hal/platforms/LPC11xx/hal_lld.c +++ b/os/hal/platforms/LPC11xx/hal_lld.c @@ -58,13 +58,8 @@ */
void hal_lld_init(void) {
- /* Note: PRIGROUP 2:0 (2:6).*/
-// SCB->AIRCR = AIRCR_VECTKEY | SCB_AIRCR_PRIGROUP_0 | SCB_AIRCR_PRIGROUP_1;
- NVICSetSystemHandlerPriority(HANDLER_SVCALL, CORTEX_PRIORITY_SVCALL);
- NVICSetSystemHandlerPriority(HANDLER_SYSTICK, CORTEX_PRIORITY_SYSTICK);
- NVICSetSystemHandlerPriority(HANDLER_PENDSV, CORTEX_PRIORITY_PENDSV);
-
/* SysTick initialization using the system clock.*/
+ NVICSetSystemHandlerPriority(HANDLER_SYSTICK, CORTEX_PRIORITY_SYSTICK);
SysTick->LOAD = LPC11xx_SYSCLK / CH_FREQUENCY - 1;
SysTick->VAL = 0;
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
|