User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
ee:hydrophones:start [2018/01/28 17:06]
Ryan Summers
ee:hydrophones:start [2018/03/20 04:48]
Ryan Summers
Line 79: Line 79:
  
 //The current firmware utilizes **software/​bit/​adc_dma_revb.bit** as the bitstream file.// //The current firmware utilizes **software/​bit/​adc_dma_revb.bit** as the bitstream file.//
 +
 +==== Cross-Compile FFTW3 ====
 +In order to perform frequency analysis, the HydroZynq utilizes the FFTW3 libraries. In order to generate the libfftw3.a library and the associated header files, it is necessary to compile FFTW from scratch. This can be completed by downloading the FFTW tarball from [[http://​www.fftw.org/​download.html|here]]. Next, untar the tarball, create an output directory for the library and headers, and configure FFTW before installation with the following options:
 +  mkdir build
 +  ./configure --host=arm-none-eabi "​CFLAGS=--specs=nosys.specs -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard"​ --enable-armv7a-cntvct --prefix=`pwd`/​build
 +  make -j4
 +  make install
 +
 +The library and appropriate headers will now be in the ''​%%build/​%%''​ directory.
  
 ==== Programming & Debugging ==== ==== Programming & Debugging ====