This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT91F_LowLevelInit() in RealView startup file

Dear all,

I use a startup file that includes the AT91F_LowLevelInit() call. AT91F_LowLevelInit() is a c function and is called as followed:

;------------------------------------------------------------------------------
;- Low level Init (APMC, AIC, EBI, ....) by C function AT91F_LowLevelInit
;------------------------------------------------------------------------------
            IMPORT   AT91F_LowLevelInit
;- minimum  C initialization

            ldr     r0,=Top_Stack    ; temporary stack in internal Ram
            ldr     r13,[r0]
            ldr     r0,=AT91F_LowLevelInit
            mov     lr, pc
            bx      r0

Now I want to use the "normal" RealView Startup file but I don't know how and where to modify this file to call my AT91F_LowLevelInit - function.

Does anybody knows, what to do?

Big thanks,

Christian

0