There was an error while loading. Please reload this page.
Add Python wrapper to the buildroot overlay:
mkdir -p ~/git/redpitaya/board/redpitaya/overlay/usr/lib/python3.7/site-packages/ cp liboscimp_fpga.py ~/git/redpitaya/board/redpitaya/overlay/usr/lib/python3.7/site-packages/
Here, we will use the double_dds application.
cd oscimpDigital/app/redpitaya/double_dds
cd design make make install
Note: Do NOT use make -j [N] argument (#1).
make -j [N]
cd ../app
A main.c application is not mandatory but compiled if present. Here a HelloWorld if you want to have fun with cross-compilation:
main.c
#include <stdio.h> int main() { printf("Hello from Redpitaya!\n"); return 0; }
redpitaya> ./double_dds_us.sh make make install make install_webserver
ssh root@192.168.0.10 mount /usr/local cd /usr/local/redpitaya/double_dds/bin ./double_dds_us.sh ./double_dds_webserver.py &
A blue LED should be on when the FPGA is flashed. Start a web browser and connect to http://192.168.0.10/
You can move the sliders or set values in spinbox, save your current config, or reload it after reboot.
Enjoy.