Credit where credit is due -- All the code here is basically copy/paste from Robert's earlier test code, with some added error checks and debug output. The firmware loading now checks the write return value and performs partial writes as needed. Items that need to be revisited are the sanity checks on file sizes. In the future I plan to implement a "bladeRF Image" format that will wrap size and a hash around a firmware/bitstream. These checks will probably go into that code. |
||
|---|---|---|
| .. | ||
| libbladeRF.h | ||
| liblms.h | ||