Coder Social home page Coder Social logo

Comments (5)

zyp avatar zyp commented on July 29, 2024

I'd argue that when only displaying a number, it makes most sense to use the same range as the IPSR register for consistency, i.e. exception numbers with IRQ0 showing as exception 16. Having to add 16 to a negative number to find the exception number seems to me more inconvenient and error prone than having to subtract 16 to find the IRQ number from an exception number.

In longer form, it makes good sense to split the ranges and distinguish between core exceptions and IRQs, or even display both; e.g: Exception 3 (HardFault) and Exception 18 (IRQ 2).

from orbuculum.

Novakov avatar Novakov commented on July 29, 2024

I would say that depends in what context you are looking, I see arguments for for schemes.

I really like the idea of displaying both - exception number with name and IRQ number. It would be even better to supply IRQ names from file and display them as well but that's just my wishful thinking ;)

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

Novakov avatar Novakov commented on July 29, 2024

#70 - only standard exception names, no SVD parsing

from orbuculum.

mubes avatar mubes commented on July 29, 2024

Hey, waddya know, a patch. Thanks! This is fixed via 3db5900.

from orbuculum.

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.