Posted: Tue Dec 04, 2018 12:52 am Post subject: CreatingDMAC
Hi,
I am sorry to trouble you.When I test the examples about the CreatingDMAC(4.interrupt),it goes successfully.
But when I change the OR1K core into ARM_CORTEX_A9,there is a mistake like
"Compiling Application dmaTest.ARM_CORTEX_A9.o
dmaTest.c:8:23: fatal error: interrupt.h: No such file or directory
#include "interrupt.h".
^
I want to know where is the file"#include "interrupt.h"
#include "spr_defs.h".
Thank you very much!
Joined: 27 Feb 2008 Posts: 1646 Location: United Kingdom
Posted: Thu Jan 24, 2019 4:35 am Post subject:
I think this has been answered in another posting already.
There is support for interrupts included in the OR1K toolchain and target library, when you change processor and hence use a different cross compiler is no longer used and so the header interrupts.h that defines specific OR1K interrupt support routines is not longer available.
you need to re-write the interrupt support for the target processor.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum