Install Raspbian Stretch LITE .
Get Olympe files :
sudo apt-get install repo repo init -u https://github.com/Parrot-Developers/groundsdk-manifest.git repo sync
Install dependencies :
Modify CPU Target :
cd parrot-groundsdk/build/alchemy/toolchains sudo nano cpu.mk
Add the following lines to cpu.mk :
ifeq ("$(TARGET_CPU)",“pi3”) TARGET_GLOBAL_CFLAGS += -march=armv7-a TARGET_FLOAT_ABI ?= hard endif
Modify build configuration
cd parrot-groundsdk/products/olympe/linux/config sudo nano product.mk
Add the folowing line to product.mk
TARGET_DEFAULT_ARM_MODE := arm TARGET_GLOBAL_CFLAGS_arm := -mfloat-abi=hard TARGET_CPU = pi3
./build.sh -p olympe-linux -A all final -j
Sphinx seems to need too much hardware ressources to even think about using it on a Raspberry.
Sphinx needs more power.
yep! found out the hard way. Thank you for all the olympe work you’ve posted for Pi!
You’re late welcome
I just wanted to acknowledge that the same lines of code posted here also work on Raspberry Pi. Thank you very much for this.
I wanted to show appreciation for this solution, this worked for me - I changed one line:
TARGET_GLOBAL_CFLAGS += -march=armv7-a
to this: (for raspberry pi 4)
TARGET_GLOBAL_CFLAGS += -march=armv8-a+crc+simd