52
|
1 # How to import reference projects into the workspace #
|
|
2
|
|
3
|
|
4 # Precondition #
|
|
5 This instruction assumes that the name of your OSTC4 clone in your workspace is `ostc4`
|
|
6 If this is not the case follow the instructions of chapter "Adapt repository location" below
|
|
7
|
|
8 # Import steps #
|
|
9
|
|
10 - Select `File` => `Import..` => `General` => `Existing project into workspace` => `Next`
|
|
11 - Select the `RefPrj` folder of your clone
|
|
12 - Select the projects you want to import in the projects list
|
|
13 - Check the box `Copy projects into workspace`
|
|
14 - Next
|
|
15 - Finish
|
|
16
|
|
17 # Adapt repository location #
|
|
18
|
|
19 Only necessary if precondition is not met
|
|
20 Please update this instruction if you know a better solution to add the repository path as relativ link.
|
|
21
|
|
22 - Select top level project => `Properties` => `Resources` => `Linked Resources`
|
|
23 - Edit `OSTC4` variable: Replace `${WORKSPACE_LOC\ostc4` with ${WORKSPACE_LOC}\<YourRepositoryPath>
|
|
24 - Select top level project => `Properties` => `C/C++ Build` => `Settings` => `MCU GCC Linker` => `General`
|
|
25 - Edit linker script location: Change `${ProjDirPath}\..\ostc4\Small_CPU\CPU2-RTE.ld` to ${ProjDirPath}\..\<YourRepositoryLocation>\Small_CPU\CPU2-RTE.ld |