This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interrupts in C++ / cpp ARM / Realview compiler

Hello,

has anybody expierienced with the Realview Compiler (ARM) and C++ interrupt programming?
How can I call an non static method as a interrupt handler? I use ATMEL AT91SAM7 controllers.
It's not easy if one has just started to learn C++ at all ... (the reviews I found haven't helped me much).

Parents
  • Andy,
    I read the article. My personal opinion is that the risks that are introduced into software by using C++ are far greater than the mild benefits of stripped embedded C++. Yes, sometimes I'm DIEING to able to inherit, but for me, in comes down to the following: writing correct C++ code is far more challenging that writing C code. performance might be more of less the same (given a good compiler and some size trade-offs) but still - I would not use it for really low-level software.

Reply
  • Andy,
    I read the article. My personal opinion is that the risks that are introduced into software by using C++ are far greater than the mild benefits of stripped embedded C++. Yes, sometimes I'm DIEING to able to inherit, but for me, in comes down to the following: writing correct C++ code is far more challenging that writing C code. performance might be more of less the same (given a good compiler and some size trade-offs) but still - I would not use it for really low-level software.

Children
No data