Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup dongle code #25

Open
ataffanel opened this issue Mar 18, 2016 · 0 comments
Open

Cleanup dongle code #25

ataffanel opened this issue Mar 18, 2016 · 0 comments

Comments

@ataffanel
Copy link
Member

Looking at the SDCC compiler manual, http://sdcc.sourceforge.net/doc/sdccman.pdf, we do a couple of bad things in the current implementation of the Crazyradio.

The main offender is the interrupt handling: it is apparently not advised to call function in the interrupt handlers but in Crazyradio the USB interrupt handling is complex and calling a lot of function.

Further work on the Crazyradio (like #22 #24 #3 #7 #4) are kind of blocked by that.

If anyone is interested about helping out, lets use this ticket to sync work.

ataffanel added a commit that referenced this issue Jul 20, 2017
ataffanel added a commit that referenced this issue Jul 20, 2017
Should be more efficient and produces smaller code
ataffanel added a commit that referenced this issue Jul 20, 2017
 - Interrupt register bank does not help unless all function
   called by the interrupt are in the same bank, hard to
   achieve for USB interrupt
 - Add no overlay for all functions (and a bit more) called
   by the USB interrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant