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

zero footprint library #9

Closed
huegene opened this issue Feb 9, 2016 · 3 comments
Closed

zero footprint library #9

huegene opened this issue Feb 9, 2016 · 3 comments
Labels

Comments

@huegene
Copy link

huegene commented Feb 9, 2016

I don't really know where else to put this or where to look for answers but, I have experimented with porting the stm32f4 runtime library (sfp) to an stm32f103 device. By changing various stack sizes I was able to fit it all in the 20KB of RAM. Considering even smaller controllers it seems reasonable to go with the ZFP runtime systems. But i was not able to find any resources on how to implement interrupts with a ZFP rts. Can anyone help me out tackling this or even better provide me sources for study?
Note i've created my ZFP rts from the bb-runtime sources from libreada

@Fabien-Chouteau
Copy link
Member

On Wed, Feb 10, 2016 at 12:15 AM, huegene notifications@github.com wrote:

I don't really know where else to put this or where to look for answers
but, I have experimented with porting the stm32f4 runtime library (sfp) to
an stm32f103 device. By changing various stack sizes I was able to fit it
all in the 20KB of RAM. Considering even smaller controllers it seems
reasonable to go with the ZFP runtime systems. But i was not able to find
any resources on how to implement interrupts with a ZFP rts. Can anyone
help me out tackling this or even better provide me sources for study?
Note i've created my ZFP rts from the bb-runtime sources from libreada

By definition with the ZFP you are on your own, so an interrupt is just a
call to a function (more or less). You can have a look at how we do it in
the ravenscar run-time in the handler.S file.

Fabien Chouteau

@simonjwright
Copy link
Contributor

See also Maciej Sobczak’s Ada and SPARK on ARM Cortex-M - chapter 13.

@Fabien-Chouteau
Copy link
Member

Thanks @simonjwright, that's a good pointer indeed.

@huegene I think you have enough info I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants