Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
a71fa0f1
Commit
a71fa0f1
authored
Sep 27, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented HardFault_Handler that resets processor, not just stalls it
parent
2457fd5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
irq_dispatcher.c
sw/freertos/src/irq_dispatcher.c
+5
-0
No files found.
sw/freertos/src/irq_dispatcher.c
View file @
a71fa0f1
...
...
@@ -30,6 +30,7 @@
#include <drivers/rtc.h>
#include <em_device.h>
#include <em_gpio.h>
#include <em_burtc.h>
...
...
@@ -103,3 +104,7 @@ void BURTC_IRQHandler(void)
portEND_SWITCHING_ISR
(
xHigherPriorityTaskWoken
);
}
void
HardFault_Handler
(
void
)
{
SCB
->
AIRCR
=
0x05FA0004
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment