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

__main

HI,
I'm porting an older RL-ARM project.
I have noticed that in the demo HTTP project the file LPC2400_RTX.s has no code after IMPORT __main

Where my original had:

LDR R0, =__main
BX R0

With my original after calling __main lots of scatterload and os_ functions are called but it ends up stuck in: os_switch_tasks_ret looping on a BCS instruction and never gets to main().

Can someone please explain what is going on and what I should do?

Thanks

0