Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix binary file reading in bin_to_coe.py #761

Closed
wants to merge 1 commit into from

Conversation

XhovaniM8
Copy link

Description

I have made the necessary changes to the bin_to_coe.py script to fix the issue of reading the binary file without the 'rb' flag, which caused decoding errors. This change ensures that the COE file is generated correctly from the binary file.

Related Issue

Fixes #760

Which devices/areas does this affect?

This affects the X300 series USRP devices. The change specifically impacts the process of generating COE files from binary files during firmware builds.

Testing Done

I have run the modified script in the provided docker environment and confirmed that the COE file is generated successfully without any errors. The testing was done in a controlled environment using the Ubuntu 22.04 docker image as described in the issue. All previous tests passed successfully after the modification.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project. See CODING.md.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes, and all previous tests pass.
  • I have checked all compat numbers if they need updating (FPGA compat,
    MPM compat, noc_shell, specific RFNoC block, ...)

Copy link

github-actions bot commented Jun 17, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@XhovaniM8
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@XhovaniM8
Copy link
Author

recheck

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 26, 2024

@XhovaniM8 we have some issues with our CLA checker. Your fix requires some minor mods, but we'll handle that and merge your PR fairly soon. Many thanks!

@joergho joergho closed this Jul 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building X300 ZPU from source unable to generate COE file
2 participants