-
Notifications
You must be signed in to change notification settings - Fork 87
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
compiled binary.bin cannot work #35
Comments
Check that your linker script gd32f303cc_with_bootloader.ld wasn't overwritten, and try git --reset hard gd32f303cc_with_bootloader.ld |
gabriel-tenma-white, thanks for your reply. Can you tell me more detailly what I should do for this problem, I am a newer for ARM toolchains. |
git reset --hard gd32f303cc_with_bootloader.ld |
thans much. The problem has been solved. I just used command 'git reset --hard' , 'sudo make clean', 'sudo make' step by step. There are some erros in main2.cpp:219:25 , 'assignment of read-only variable', I deleted line 218 and 219, then the command ' sudo make' can work correctly. the I get the new binary.bin( size is 98420 bytes), it can work after flash into NanoNVA-V2. thanks a lot again, best regards! |
You should not have to use sudo to build the firmware (no need to have root privileges for that). This read-only variable assignment should be investigated however. Also the linker script stuff should be made a bit more reliable. |
i got same problem , and tried git reset to reset gd32f303cc_with_bootloader.ld . |
Oh, it is working after full reset the project . just do the git reset --hard |
for that error, see issue #32, it seems to be mculib |
FTR I've just rebuilt a working version of the firmware (ili9341 version) that seems to work ok, but had to apply gabriel-tenma-white/mculib#3 to make it compile fine (which is the generalisation of @nieldk proposition to all "config" member variables). |
Hi,
2-Check if it has downloaded these directories as well 'libopencm3' e 'mculib' 3-Check this file 'NanoVNA-V2-firmware/libopencm3/Makefile' on line 27 there must be 4-Try this make comand
or
|
I followed with the guide in https://github.com/nanovna/NanoVNA-V2-firmware and compiled the binary.bin , but I found its size (94,716 bytes) different with binary-ili9341.bin(94,780 bytes) ,witch can be
download from https://github.com/nanovna/NanoVNA-V2-firmware/releases. When I use NanoVNA-QT flash the binary.bin, NanoVNA-V2 cannot work.
The text was updated successfully, but these errors were encountered: