Giter Club home page Giter Club logo

Comments (9)

pat-rogers avatar pat-rogers commented on July 21, 2024

HI,
Yes, that would make sense. Eventually, if/when we get a more broad scope... :-)
Thanks for the comment!

from ada_drivers_library.

pat-rogers avatar pat-rogers commented on July 21, 2024

By the way, I would definitely appreciate receiving any other comments and/or suggestions you may have!

from ada_drivers_library.

aethaniel avatar aethaniel commented on July 21, 2024

Hi @pat-rogers, another suggestion would be to rename 'ARM' root folder to 'cortex-m' or 'arm-cm' or similar, ARM being usually pointing on arm 32b instruction set, ie not Cortex.
To come back on Cortex-M peripherals, I would see bareboard/'ARM-CM'/common/drivers/[nvic|scb|itm|etc...]

from ada_drivers_library.

aethaniel avatar aethaniel commented on July 21, 2024

A quite good naming example is present here: https://github.com/RIOT-OS/RIOT/tree/master/cpu

from ada_drivers_library.

pat-rogers avatar pat-rogers commented on July 21, 2024

That does seem reasonable. (Thanks for the reference to the other repo.) As you can probably tell, I am somewhat new to the ARM family, so the possibilities are not immediately obvious. I appreciate the inputs here.

from ada_drivers_library.

Fabien-Chouteau avatar Fabien-Chouteau commented on July 21, 2024

@aethaniel please have look at the svd branch we are trying a different project architecture over there.

from ada_drivers_library.

simonjwright avatar simonjwright commented on July 21, 2024

I’d have thought that NVIC wouldn’t be used by user projects - the only reason (*) for using it is to set up interrupts, and the RTS does that when elaborating protected handlers.

(*) Actually, since my timings show it takes about 1000 cycles to get from the interrupt to the activated task, perhaps we do need a more immediate interrupt response mechanism for low-latency high-frequency demands.

from ada_drivers_library.

Matthias-R avatar Matthias-R commented on July 21, 2024

You would need to program the NVIC if you want to use interrupts with a ZFP runtime.
And even when using a (ravenscar) tasking runtime - as Simon pointed out - it could be desirable (for performance reasons) to have some interrupts not be handled by the runtime.
I'm not sure how to do this (have some interrupts handled by the runtime and some not) in a 'clean' way...
.

from ada_drivers_library.

lambourg avatar lambourg commented on July 21, 2024

The NVIC package is now part of the cortex_m layer in the new architecture of those drivers (as well as FPU or Cache handling). So I'm closing this issue. Thanks for the report!

Best regards,

  • Jerome

from ada_drivers_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.