# HG changeset patch # User Ideenmodellierer # Date 1533466603 -7200 # Node ID d24395f7c9394485350035e3ca3d820aae7e38ef # Parent 8f8ea3a32e82f24ff24cb18be8778d9ceb97cd44 Added reference projects diff -r 8f8ea3a32e82 -r d24395f7c939 RefPrj/Firmware/.cproject --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefPrj/Firmware/.cproject Sun Aug 05 12:56:43 2018 +0200 @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 8f8ea3a32e82 -r d24395f7c939 RefPrj/Firmware/.project --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefPrj/Firmware/.project Sun Aug 05 12:56:43 2018 +0200 @@ -0,0 +1,46 @@ + + + OSTC4_Firmware + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + fr.ac6.mcu.ide.core.MCUProjectNature + fr.ac6.mcu.ide.core.MCUSingleCoreProjectNature + + + + Common + 2 + OSTC4/Common + + + Discovery + 2 + OSTC4/Discovery + + + + + OSTC4 + $%7BWORKSPACE_LOC%7D/ostc4 + + + diff -r 8f8ea3a32e82 -r d24395f7c939 RefPrj/RTE/.cproject --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefPrj/RTE/.cproject Sun Aug 05 12:56:43 2018 +0200 @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 8f8ea3a32e82 -r d24395f7c939 RefPrj/RTE/.project --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefPrj/RTE/.project Sun Aug 05 12:56:43 2018 +0200 @@ -0,0 +1,46 @@ + + + OSTC4_RTE + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + fr.ac6.mcu.ide.core.MCUProjectNature + fr.ac6.mcu.ide.core.MCUSingleCoreProjectNature + + + + Common + 2 + OSTC4/Common + + + Small_CPU + 2 + OSTC4/Small_CPU + + + + + OSTC4 + $%7BWORKSPACE_LOC%7D/ostc4 + + + diff -r 8f8ea3a32e82 -r d24395f7c939 wiki/Import_Ref_Projects.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wiki/Import_Ref_Projects.md Sun Aug 05 12:56:43 2018 +0200 @@ -0,0 +1,25 @@ +# How to import reference projects into the workspace # + + +# Precondition # +This instruction assumes that the name of your OSTC4 clone in your workspace is `ostc4` +If this is not the case follow the instructions of chapter "Adapt repository location" below + +# Import steps # + +- Select `File` => `Import..` => `General` => `Existing project into workspace` => `Next` +- Select the `RefPrj` folder of your clone +- Select the projects you want to import in the projects list +- Check the box `Copy projects into workspace` +- Next +- Finish + +# Adapt repository location # + +Only necessary if precondition is not met +Please update this instruction if you know a better solution to add the repository path as relativ link. + +- Select top level project => `Properties` => `Resources` => `Linked Resources` +- Edit `OSTC4` variable: Replace `${WORKSPACE_LOC\ostc4` with ${WORKSPACE_LOC}\ +- Select top level project => `Properties` => `C/C++ Build` => `Settings` => `MCU GCC Linker` => `General` +- Edit linker script location: Change `${ProjDirPath}\..\ostc4\Small_CPU\CPU2-RTE.ld` to ${ProjDirPath}\..\\Small_CPU\CPU2-RTE.ld \ No newline at end of file