Discovery Options in Eclipse C / C ++

I am not a programmer by profession and just recently decided to delve into using Eclipse C / C ++ for programming an ARM microcontroller, and my problem is setting up an IDE. Basically, I follow the direction from here: ( https://openwsn.atlassian.net/wiki/display/OW/GNU+ARM ), but after trying to run

int main(void){ int i = 0; while (i < 10) { i++; } return i; } 

I get this error:

http://i.stack.imgur.com/hq9m1.png

This means that somewhere in the "Detection Options" I used "arm-elf-gcc". The problem is that I don’t know how to get to the “Discovery Options” in the latest version of Eclipse C / C ++ Kepler SR1. Can someone tell me where I can change it to call arm-none-eabi-gcc instead? When I go to Project Properties, it is no longer in C / C ++ Build

+6
source share
2 answers

Kepler hides Detection Options by default. Go to Window-> Preferences-> C / C ++> Property Page Settings and check the screen opening options page. Then open your project settings and change arm-elf-gcc to arm-none-eabi-gcc, like the rest.

+15
source

As you probably noticed, there is a new version of the GNU ARM Eclipse Plug-in , which greatly simplifies the management of the PatchH Toolchain.

Could you try it?

If you still have problems, use the GNU ARM Eclipse Support Plugin.

+1
source

Source: https://habr.com/ru/post/959428/


All Articles