Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9c41b87e4 | ||
|
|
347fefe25a |
3 changed files with 13 additions and 4 deletions
|
|
@ -482,4 +482,4 @@ printf "%s %02d:%02d:%02d\n" "Total Build Time:" "$(($SECONDS / 3600))" "$((($SE
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Delete empty SOPC directories in the user's home directory
|
# Delete empty SOPC directories in the user's home directory
|
||||||
find ~ -maxdepth 1 -type d -empty -iname "sopc_altera_pll*" -delete
|
#find ~ -maxdepth 1 -type d -empty -iname "sopc_altera_pll*" -delete
|
||||||
|
|
|
||||||
|
|
@ -321,9 +321,16 @@ int config_load_options_file(struct bladerf *dev)
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
log_warning("Invalid config option `%s' on line %d\n", optv[j].key,
|
log_warning("Invalid config option `%s' on line %d\n", optv[j].key,
|
||||||
optv[j].lineno);
|
optv[j].lineno);
|
||||||
|
/* Some config options will require the FPGA to be loaded, however
|
||||||
|
* this function is called during bladerf_open(). The solution is
|
||||||
|
* to treat BLADERF_ERR_NOT_INIT as a warning and continue. */
|
||||||
|
if (status == BLADERF_ERR_NOT_INIT) {
|
||||||
|
status = 0;
|
||||||
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
free_opts(optv, optc);
|
free_opts(optv, optc);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1468,8 +1468,8 @@ static int _do_set_samplerate(struct cli_state *state,
|
||||||
bladerf_feature feature;
|
bladerf_feature feature;
|
||||||
|
|
||||||
const char *settext =
|
const char *settext =
|
||||||
" Setting %s sample rate - req: %9" PRIu64 " %" PRIu64 "/%" PRIu64
|
" Setting %s sample rate - requested: I=%9" PRIu64 " N=%" PRIu64 "/D=%" PRIu64
|
||||||
"Hz, actual: %9" PRIu64 " %" PRIu64 "/%" PRIu64 "Hz\n";
|
"Hz, actual: I=%9" PRIu64 " N=%" PRIu64 "/D=%" PRIu64 "Hz\n";
|
||||||
|
|
||||||
const char *samplewarning =
|
const char *samplewarning =
|
||||||
"\n"
|
"\n"
|
||||||
|
|
@ -1619,6 +1619,8 @@ int set_samplerate(struct cli_state *state, int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
rv = ps_foreach_chan(state, true, true, ch, _do_set_samplerate, &rate);
|
rv = ps_foreach_chan(state, true, true, ch, _do_set_samplerate, &rate);
|
||||||
|
printf("\n I, N, D are respectively the Integer, Numerator, and Denominator settings for the "
|
||||||
|
"Fractional PLL.\n");
|
||||||
|
|
||||||
out:
|
out:
|
||||||
return rv;
|
return rv;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue