mirror of https://github.com/F5OEO/rpitx
Add pizero option for csdr , avoiding NEON
This commit is contained in:
parent
4248e10ffa
commit
1c6cd40202
|
|
@ -0,0 +1,11 @@
|
|||
--- Makefile 2018-11-23 13:39:24.740234633 +0000
|
||||
+++ Makefile.armv6 2018-11-23 13:49:52.312391638 +0000
|
||||
@@ -33,7 +33,7 @@
|
||||
PARAMS_NEON = -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS
|
||||
#tnx Jan Szumiec for the Raspberry Pi support
|
||||
PARAMS_RASPI = -mfloat-abi=hard -mcpu=arm1176jzf-s -mfpu=vfp -funsafe-math-optimizations -Wformat=0
|
||||
-PARAMS_ARM = $(if $(call cpufeature,BCM2708,dummy-text),$(PARAMS_RASPI),$(PARAMS_NEON))
|
||||
+PARAMS_ARM = $(if $(call cpufeature,ARMv6,dummy-text),$(PARAMS_RASPI),$(PARAMS_NEON))
|
||||
PARAMS_SIMD = $(if $(call cpufeature,sse,dummy-text),$(PARAMS_SSE),$(PARAMS_ARM))
|
||||
PARAMS_LOOPVECT = -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect
|
||||
PARAMS_LIBS = -g -lm -lrt -lfftw3f -DUSE_FFTW -DLIBCSDR_GPL -DUSE_IMA_ADPCM
|
||||
|
|
@ -7,6 +7,7 @@ sudo apt-get install -y imagemagick libfftw3-dev
|
|||
sudo apt-get install -y rtl-sdr buffer
|
||||
# We use CSDR as a dsp for analogs modes thanks to HA7ILM
|
||||
git clone https://github.com/simonyiszk/csdr
|
||||
patch -i csdrpizero.diff csdr/Makefile
|
||||
cd csdr
|
||||
make && sudo make install
|
||||
cd ../
|
||||
|
|
|
|||
Loading…
Reference in New Issue