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

AT91SAM and C++

Hi, I want to try something new - C++ with at91sam7xc256. Have somebody experiences with it? I want to interface graphical 128x64 display and draw something with OOP. Is it problematic? I mean - interrupt handling and so on.. I tried make a project with main.cpp ..

#include <iostream>
#include <AT91SAM7X256.H>

using namespace std;

int main(void) {
        /** Boot sequence **/

        /** Main loop **/
        while(1) {
                __asm {
                        NOP
                        NOP
                }
        }
        return 0;
}

and program counter stucks on SWI_HANDLER. Is uVision 3.62c built for it at all?
Thanks for reply.

Milan

0