Hi guys, I am completely new to ATMEL programming and I was trying the example code trying tofigure out, and it gives error when i issue 'make'
In this code there seem to be two macros and one function definition. Compile error says Error[4]: Unexpected end of file encountered Recodring macto started at in line 14 (which is MACRO IRQ_ENTRY $reg in following code). Can you give any hint? Thanks!
MACRO IRQ_ENTRY $reg ;Adjust and save LR_irq in IRQ stack sub r14, r14, #4 stmfd sp!, {r14}
;write in the IVR to support Protect Mode ;-No effect in Normal mode ;De-assert the NIRQ and clear teh source in Protect Mode ldr r14, =AIC_BASE str r14, [r14, #AIC_IVR]
;save SPSR and r0 in IRQ stack mrs r14, SPSR stmfd sp!, {r0, r14}