mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Add new test file.
This commit is contained in:
parent
31bda54b75
commit
f3eb5028a3
2 changed files with 126 additions and 0 deletions
24
Demo/PIC32MX_MPLAB/timertest_isr.S
Normal file
24
Demo/PIC32MX_MPLAB/timertest_isr.S
Normal file
|
@ -0,0 +1,24 @@
|
|||
#include <p32xxxx.h>
|
||||
#include <sys/asm.h>
|
||||
#include "ISR_Support.h"
|
||||
|
||||
.set nomips16
|
||||
.set noreorder
|
||||
|
||||
.extern vT2InterruptHandler
|
||||
.extern xISRStackTop
|
||||
.global vT2InterruptWrapper
|
||||
|
||||
.set noreorder
|
||||
.set noat
|
||||
.ent vT2InterruptWrapper
|
||||
|
||||
vT2InterruptWrapper:
|
||||
|
||||
portSAVE_CONTEXT
|
||||
jal vT2InterruptHandler
|
||||
nop
|
||||
portRESTORE_CONTEXT
|
||||
|
||||
.end vT2InterruptWrapper
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue