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

ARM Cortex-A53 - How to compile and run (Simulate) an hello world .c code on DS-5 Eclipse Environment?

I would like to open a new project under DS-5. I want it to have the following code:

int main() {

     int a = 7;

     int b = 3;

     for (int i=0; i < a*b; i++)

         a = b+i;

     if (b<a)

         return b;

     return a;

}

  1. How to compile it on DS-5 with armgcc or armcc?
  2. How to simulate it on DS-5 for Cortex-A53?

I am working on windows 7 and currently using ARM DS-5 5.18.0, Is there any other simulator I can use ?

Thanks

0