minor improvements

This commit is contained in:
Robin Müller 2020-11-25 12:55:35 +01:00 committed by Robin Mueller
parent f38ea407ca
commit afd43542d6
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ endif
BUILDPATH = _bin BUILDPATH = _bin
DEPENDPATH = _dep DEPENDPATH = _dep
OBJECTPATH = _obj OBJECTPATH = _obj
ifeq ($(MAKECMDGOALS),release) ifeq ($(MAKECMDGOALS), release)
BUILD_FOLDER = mission BUILD_FOLDER = mission
else else
BUILD_FOLDER = devel BUILD_FOLDER = devel

View File

@ -61,15 +61,15 @@ git submodule update
3. Open Xilinx SDK 2018.2 3. Open Xilinx SDK 2018.2
4. Import project 4. Import project
* File → Import → C/C++ → Existing Code as Makefile Project * File → Import → C/C++ → Existing Code as Makefile Project
5. Set build command 5. Set build command. Replace <target> with either debug or release.
* When on Linux right click project &rarr; Properties &rarr; C/C++ Build &rarr; Set build command to make -j * When on Linux right click project &rarr; Properties &rarr; C/C++ Build &rarr; Set build command to make <target> -j
* -j causes the compiler to use all available cores * -j causes the compiler to use all available cores
* On windows create a make target (Windows &rarr; Show View &rarr; Make Target) * On windows create a make target (Windows &rarr; Show View &rarr; Make Target)
* Right click eive_obsw &rarr; New * Right click eive_obsw &rarr; New
* Target name: all * Target name: all
* Uncheck "Same as the target name" * Uncheck "Same as the target name"
* Uncheck "Use builder settings" * Uncheck "Use builder settings"
* As build command type: `make -j all WINDOWS=1` * As build command type: `make -j <target> WINDOWS=1`
6. Run build command (double click the generated target) 6. Run build command (double click the generated target)
## Debugging the software (when workstation is directly conncected to Q7S) ## Debugging the software (when workstation is directly conncected to Q7S)