minor improvements

This commit is contained in:
Robin Müller 2020-11-25 12:55:35 +01:00
parent 47455a80a5
commit c42bf670cc
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -61,15 +61,15 @@ git submodule update
3. Open Xilinx SDK 2018.2
4. Import project
* File → Import → C/C++ → Existing Code as Makefile Project
5. Set build command
* When on Linux right click project → Properties → C/C++ Build → Set build command to make -j
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 <target> -j
* -j causes the compiler to use all available cores
* On windows create a make target (Windows &rarr; Show View &rarr; Make Target)
* Right click eive_obsw &rarr; New
* Target name: all
* Uncheck "Same as the target name"
* 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)
## Debugging the software (when workstation is directly conncected to Q7S)