Using SoC Interrupts, Timer, ... MakeFile Error / Question
Hello!
I am trying to use the interrupts from FPGA to HPS (for example with the buttons of the Cyclone V Board etc).
At first I was not able to get the compilation with the makefile to work, since I forgot, that I would need to compile the .c files of the .h files (alt_interrupt.h, ...) as well.
I dont know how to write the makefile in order to automatically take the .c files from the direction where the SoC Embedded is installed.
So instead I copied all the necessary C files to my project folder.
When I now execute the makefile, it throws the error:
C:\intelFPGA_lite\18.1\embedded\host_tools\cygwin\tmp\ccqTRJ6G.s: Assembler messages:
C:\intelFPGA_lite\18.1\embedded\host_tools\cygwin\tmp\ccqTRJ6G.s:91: Error: Thumb encoding does not support an immediate here -- `msr CPSR_c,#(0x12|0x80|0x40)'
make: *** [alt_interrupt.o] Error 1
How can I fix this? Or is there another way to compile everything?
I can not find any examples or something like this.
Are there any examples on how to use either timer or interrupts with the SoC Embedded libraries?
I also attached my makefile.
I use:
Quartus Version 18.1
Embedded Version 18.1
Windows 11
DE10-Standard FPGA Board