... | ... | @@ -67,34 +67,34 @@ git clone git@git.imp.fu-berlin.de:zkasmi/test_my_lib.git |
|
|
~~~~~~~~
|
|
|
|
|
|
After cloning or downloading the RcdMathLib, the Eclipse version of the RcdMathLib can be used as follows:
|
|
|
-# Create a workspace folder (e.g. rcd_math_lib_workspace).
|
|
|
-# Start the Eclipse IDE and browse to the created workspace folder.
|
|
|
-# Open File->Import->General.
|
|
|
-# Select ''Existing Project into Workspace'' from the Selection Wizard.
|
|
|
-# Select Next->''archive file''-->Browse.
|
|
|
-# After Browsing to the [RcdMathLib_eclipse_version.zip]
|
|
|
* Create a workspace folder (e.g. rcd_math_lib_workspace).
|
|
|
* Start the Eclipse IDE and browse to the created workspace folder.
|
|
|
* Open File->Import->General.
|
|
|
* Select ''Existing Project into Workspace'' from the Selection Wizard.
|
|
|
* Select Next->''archive file''-->Browse.
|
|
|
* After Browsing to the [RcdMathLib_eclipse_version.zip]
|
|
|
(https://git.imp.fu-berlin.de/zkasmi/test_my_lib/blob/master/RcdMathLib_eclipse_version.zip) file, click on Finish.
|
|
|
-# Compile the whole project.
|
|
|
* Compile the whole project.
|
|
|
|
|
|
Another method to use the RcdMathLib in the Eclipse IDE is:
|
|
|
-# Clone the whole RcdMathLib version for full-fledged devices:
|
|
|
* Clone the whole RcdMathLib version for full-fledged devices:
|
|
|
~~~~~~~~ {.sh}
|
|
|
git clone git@git.imp.fu-berlin.de:zkasmi/my_lib_full_fledged_devices.git
|
|
|
~~~~~~~~
|
|
|
-# Create a new C project by choosing the project type under Executable: `Hello World ANSI C Project`,
|
|
|
* Create a new C project by choosing the project type under Executable: `Hello World ANSI C Project`,
|
|
|
as well as the `Cross GCC` Tool-chains.
|
|
|
-# Try to compile and execute the `Hello World ANSI C Project`.
|
|
|
-# Copy the RcdMathLib- and the examples-directories, as well as the 'eclipse_path_includes_settings.xml'
|
|
|
* Try to compile and execute the `Hello World ANSI C Project`.
|
|
|
* Copy the RcdMathLib- and the examples-directories, as well as the 'eclipse_path_includes_settings.xml'
|
|
|
configuration file into the src-directory of your project.
|
|
|
-# Import the 'eclipse_path_includes_settings.xml' file as follows:
|
|
|
* Import the 'eclipse_path_includes_settings.xml' file as follows:
|
|
|
|
|
|
<BLOCKQUOTE>
|
|
|
* Open File -> Import -> C/C++ and Select ''C/C++ Project Settings'' from the Selection Wizard.
|
|
|
* Click Next->''Select Settings file''-->Browse.
|
|
|
* After Browsing to the xml-configuration file, click on Finish.
|
|
|
</BLOCKQUOTE>
|
|
|
-# Compile the whole project.
|
|
|
-# Optional: replace the main()-function with the main.c file of the cloned RcdMathLib version for full-fledged devices.
|
|
|
* Compile the whole project.
|
|
|
* Optional: replace the main()-function with the main.c file of the cloned RcdMathLib version for full-fledged devices.
|
|
|
|
|
|
Third method (intern):
|
|
|
Set up the [Eclipse IDE] (https://www.eclipse.org/) as follows:
|
... | ... | |