Jump to content
Sign in to follow this  

Startup-Procedure For Boostc

Recommended Posts

The best option is to use the -rb option, this allows offseting of all the BoostC generated code.

All the interrupt and reset code areas can then be use to intercept restarts and interrupts before the BoostC code is called.

Once your own code is done call the BoostC code at its new offset address.


I'm not sure I've made that very clear, but I hope that helps.




Share this post

Link to post
Share on other sites



It would be nice to have BoostC recognize a special function for this purpose.

The same way we have...

void Interrupt(void) and void interrupt_low(void)

we could also have...

void startup(void)


Of course, this only a "nice to have" not exactly a urgent need.



Best regards



Share this post

Link to post
Share on other sites

Your content will need to be approved by a moderator

You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this