Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

PROCESSOR-SDK-OMAPL137: Baremetal ARM OMAP-L137 Initialization

$
0
0

Part Number:PROCESSOR-SDK-OMAPL137

This is a purely educational exercise for which I need some help. I'm rebuilding a very old SDK for the omapl137 component (the ARM UBL) with the latest cgt for arm.

I'm getting the following warning:

source/boot.c|88| warning #1119-D: this assembly directive potentially unsafe inside a function 

at this location:
...

// Setup the stack pointer
asm(" LDR sp,_stack");
asm(" SUB sp,sp,#4");
asm(" BIC sp, sp, #7");

// Call to main entry point
main();

asm("_stack:");
asm(" .word STACKStart"); <---
...

Any suggestion of another SDK or board support I can look at, as a reference for a baremetal arm initialization?

I have another thread open which I have completed answering my own questions :).


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>