Post Go back to editing

plutosdr : minimal tool chain for c compiling


I’d like to use my C code with pluto to build a ‘’simple’’ stand alone receiver.

I read a lot of Q&A and your answer here:

I read your interresting presentation here :

I try to follow your example with dump1090. Make file confirm missing some libs on my linux 18,04.

For a simple C code ( without building FW image ) , do we need to install all the sw toolchain used to build the firmware image? As here:

Or could we use a lighter solution? Or compile on board?

( I’ dont have anough space to install the 30Gb vivado toolchain. I’m able to write basics SDR function in C, use matlab and Gnu radio. But im’ not a software guy. Start from scratch with a new buildroot is hard for me. RF Engenieer, I start my first numerical receiver with AD9042...Now  i’d like to use the radio of the futur. )



Parents Reply
  • Hello Travis
    Thanks for your fast Answer. I follow your example: It works now with my ubuntu 18.04. and with last Pluto Fwupdate 0.30 .
     To help others I add the vivado configuration that I used.
    First I create /opt/Xilinx dir for installation:

    sudo mkdir /opt/Xilinx
    sudo chown remi /opt/Xilinx
    sudo chmod u+rwX /opt/Xilinx

    start vivado 2018.2 with :

    After vivado install don’t forget to install arm-linux-gnueabihf-gcc with
    $sudo apt-get install gcc-arm*
    After your example, I have also try the Hennerich example with dump1090: in the /tmp/lutoapp dir : git clone -q cd dump1090 export PATH=$PATH:/opt/Xilinx/SDK/2018.2/gnu/aarch32/lin

    CC=arm-linux-gnueabihf-gcc CFLAGS=--sysroot=../sysroot LDFLAGS=--sysroot=../sysroot make results: arm-linux-gnueabihf-gcc --sysroot=../sysroot -c dump1090.c arm-linux-gnueabihf-gcc --sysroot=../sysroot -c anet.c arm-linux-gnueabihf-gcc -g -o dump1090 dump1090.o anet.o --sysroot=../sysroot -liio -lpthread -lm -lad936 /tmp/plutoapp/dump1090$ file dump1090 dump1090: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.2.0, BuildID[sha1]=7f6f5a501e607f6c1b8fc248ee29cdba64d70b64, not stripped scp dump1090 root@ ssh on pluto and start : cd tmp ./dump1090 --net We can see flight traffic in terminal or with www server on
    Application is working on target!
    If somebody knows how to avoid 20GB of vivado could help
    Many Thanks Remi
No Data