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

Bootloader? #2

Open
epijdemie opened this issue Mar 3, 2020 · 2 comments
Open

Bootloader? #2

epijdemie opened this issue Mar 3, 2020 · 2 comments

Comments

@epijdemie
Copy link

epijdemie commented Mar 3, 2020

Pardon my Noobness, but i just managed to compile the supercell.hex within the Mutable Vagrant (with the arm toolchain installed you listed) but i fail to compile the bootloader.

i used " make -f supercell/bootloader/makefile hex" (like with clouds) but it outputs a lot of such errors:
: fatal error: opening dependency file build/supercell_bootloader/startup_stm32f4xx.d: No such file or directory

and "make -f supercell/makefile VARIANT=SUPERCELL upload" wants a bootloader to be able to make the combo.bin: make: *** No rule to make target build/supercell_bootloader/supercell_bootloader.hex, needed by build/supercell/supercell_bootloader_combo.bin. Stop.

do i just copy the "build/clouds_bootloader" content into "build/supercell_bootloader" or how does this work?

@patrickdowling
Copy link
Owner

IIRC the .d messages are annoying but not actually fatal, there's some quirk in the dependency generation when run the first time. Just using make -f supercell/bootloader/makefile (without hex) seems to work fine.

You don't generally want to mix & match the stmlibs (if that's what I gleaned out of the other thread) because these versions use a custom linker script for the different MCU that doesn't get picked up with the regular one.

@epijdemie
Copy link
Author

You were right, it compiled AFTER paging tons of these errors. I always exited the process after seeing lots of those FATAL ERRORs because the first time i tried it (with hex at the end) led to no results

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