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

res/firmwares/res_fw.qrc ?????? #285

Closed
karu2003 opened this issue Dec 13, 2022 · 5 comments
Closed

res/firmwares/res_fw.qrc ?????? #285

karu2003 opened this issue Dec 13, 2022 · 5 comments

Comments

@karu2003
Copy link

I've been trying to build a new release for 3 hours now and I'm getting a warning. That the file was not found.
res/firmwares/res_fw.qrc

@jaykup26
Copy link
Contributor

I think you need to compile the firmwares in the bldc repository, then run the package_firmware.py script to create the res_fw.qrc file.

@karu2003
Copy link
Author

karu2003 commented Dec 14, 2022

Two weeks ago this was not necessary. It is very uncomfortable. transfer from PC to PC. Do I need to build all bin files?

@vedderb
Copy link
Owner

vedderb commented Dec 14, 2022

Yes you need to build the firmwares. This has been necessary for the past 8 months or so, otherwise you would get missing and out of date firmwares. Only difference now is that I removed those old firmware from the repository.

This is a necessary approach as the git history would be huge if I updated every single firmware for all commits. That is why the package_firmware script can generate the resource-file too - no need for any manual editing when adding new hardwares.

Another approach is to comment out res_fw.qrc from the project file and build vesc tool without the included firmwares.

@vedderb vedderb closed this as completed Dec 14, 2022
@FPSychotic
Copy link

Hi where I can comment out that? there is not project file.

@r00t-
Copy link

r00t- commented May 2, 2024

one can add

CONFIG += exclude_fw

i.e. in build_lin

as added in 5b1ad1d

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

5 participants