annotate wiki/Import_Ref_Projects.md @ 69:1eeab3e09f4d

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