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

Invalid 'run' target for STM32F429 #10

Closed
jserv opened this issue Aug 11, 2017 · 0 comments
Closed

Invalid 'run' target for STM32F429 #10

jserv opened this issue Aug 11, 2017 · 0 comments
Assignees

Comments

@jserv
Copy link
Member

jserv commented Aug 11, 2017

The run target defined in file target/stm32f429/build.mk is not really functioned:

run: $(NAME).bin
        $(Q)qemu-system-arm \
            -semihosting \
            $(REDIRECT_SERIAL) \
            -nographic \                                                                                                                                     
            -cpu cortex-m3 \
            -machine stm32-p103 \
            -kernel $<

Since the binary is built for Cortex-M4 with STM32F4-specific peripherals, it is impossible to emulate via the above parameters.

Instead, we can reset STM32F429-derived device by invoking OpenOCD for run target.

yan-kuan added a commit that referenced this issue Aug 15, 2017
Remove qemu dependance configuration and revise `run` target for
stm32f429.

Resolves: #10
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