Skip to content

Commit

Permalink
zpu: Print firmware minor version and git hash on bootup.
Browse files Browse the repository at this point in the history
  • Loading branch information
chemeris committed Jul 26, 2017
1 parent dfa6aa0 commit 907c28f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zpu/apps/txrx_uhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ main(void)
#endif
printf("FPGA compatibility number: %d\n", USRP2_FPGA_COMPAT_NUM);
printf("Firmware compatibility number: %d\n", USRP2_FW_COMPAT_NUM);
printf("Firmware version minor: %d\n", USRP2_FW_VER_MINOR);
printf("Firmware GIT commit hash: %x\n", GITHASH);

//init readback for firmware minor version number
fw_regs[U2_FW_REG_VER_MINOR] = USRP2_FW_VER_MINOR;
Expand Down

0 comments on commit 907c28f

Please sign in to comment.