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

Huge binaries after objcopy #14

Closed
simonsilvalauinger opened this issue Aug 9, 2020 · 2 comments
Closed

Huge binaries after objcopy #14

simonsilvalauinger opened this issue Aug 9, 2020 · 2 comments

Comments

@simonsilvalauinger
Copy link

Hi there,
thank you for creating this small project as help to start a rust project. on longan-nano.
Unfortunatelly I have a problem with objcopy trying to use the dfu-util method. Using riscv-nuclei-elf-objcopy -O binary target/riscv32imac-unknown-none-elf/release/examples/blinky blinky.bin results in an 385M sized file! Any other example has a similar result file size.
Does somebody has a clue how to solve this behaviour?

Thank you
Simon

@Disasm
Copy link
Member

Disasm commented Aug 9, 2020

You can try beta or nightly compiler to solve the issue. See also: icebreaker-fpga/icebreaker-litex-examples#6 (comment)

@simonsilvalauinger
Copy link
Author

Thank you for your help, this solved the problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants