We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am actually using the default __main function in the Startup.s file, but i would like to replace it by creating my own __main than branches to __rt_entry. How can i define it? how to branch it to __rt_entry ?
Pretty sure you'd need to IMPORT the symbol and jump to it, and have enough dependencies so it doesn't dead-code eliminate the functions and load region tables, etc.
I know I've used __scatterload in a project where I had no main() function.