Import Demo into Eclipse
Posted: Mon Feb 20, 2012 10:25 pm
I try to add a Demo Projekt in Eclipse
Compile and Run is no Problem but all sub directories missing and also eclipse mark a mistake of missing file
Unresolved inclusion: "ch.h"
how I can fix that?
Importing Makefile projects into Eclipse
The first step is to import a makefile project into the Eclipse environment. ChibiOS/RT demos do not include Eclipse project files but just a normal Makefile. Eclipse is able to import a Makefile project and create its own project file so this is not a problem. This is how it is done:
Open you Eclipse environment and select the workspace created into the ChibiOS/RT project directory.
From within Eclipse select “File→New→C_Projectâ€, a dialog box will show.
Select “Makefile_project→Empty_Project†in the “Project type:†box.
Select â€â€“ Other Toolchain –†in the “Toolchains:†box.
Unselect the “Use default location†check box.
Select the demo directory using the “Browse…†button. Something like â€C:\Projects\ChibiOS-RT\demos\ARMCM3-STM32F103-GCC†will appear in the “Location:†box.
In the project name box put the same name of the directory containing the demo, â€ARMCM3-STM32F103-GCC†in this example.
Compile and Run is no Problem but all sub directories missing and also eclipse mark a mistake of missing file
Unresolved inclusion: "ch.h"
how I can fix that?