This adds a bladerf_get_fpga_bytes() function, which returns the expected length of the FPGA image. This is a dynamic replacement for BLADERF_FLASH_BYTE_LEN_FPGA, which has been removed. In particular, this is used in spi_flash_write_fpga_bitstream() and spi_flash_erase_fpga() to determine the number of blocks to erase during FPGA flashing operations. This fixes an issue where xA9 boards were not being adequately erased before writing. |
||
|---|---|---|
| .. | ||
| bladeRF1.h | ||
| bladeRF2.h | ||
| CMakeLists.txt | ||
| libbladeRF.h | ||