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

error when processing make BOARD=BLACK_F407VE #13

Open
pierrebak opened this issue Oct 31, 2020 · 3 comments
Open

error when processing make BOARD=BLACK_F407VE #13

pierrebak opened this issue Oct 31, 2020 · 3 comments

Comments

@pierrebak
Copy link

I have this error while trying to establish the definition:

make: *** no rule to make the target « lib/mbedtls/library/aes.c », necessary forre pour « build-BLACK_F407VE/genhdr/qstr.i.last ». Stop.

@LouDnl
Copy link

LouDnl commented Jan 25, 2021

Same error here

@LouDnl
Copy link

LouDnl commented Jan 25, 2021

Solved with first following the guidelines in https://github.com/micropython/micropython
Steps are:

$ sudo apt install gcc-arm-none-eabi
$ git clone https://github.com/micropython/micropython.git
$ cd micropython/mpy-cross
$ make
$ cd ../ports/stm32
$ make submodules
$ cd boards
$ git clone https://github.com/mcauser/BLACK_F407VE.git
$ cd ..
$ make BOARD=BLACK_F407VE

Then flash the board in DFU:

$ make BOARD=BLACK_F407VE deploy

I flashed using the following:

$ sudo apt install dfu-util
$ sudo dfu-util -a 0 -D build-BLACK_F407VE/firmware.dfu

@jeback1
Copy link

jeback1 commented Feb 21, 2021

Thanks, LouDnl (and mcauser, of course!)
Your solution worked for me as well on a raspberry pi 4. The dfu-util command worked whereas 'make BOARD=BLACK_F407VE deploy' failed with:

Writing build-BLACK_F407VE/firmware.dfu to the board
Traceback (most recent call last):
  File "../../tools/pydfu.py", line 22, in <module>
    import usb.core
ModuleNotFoundError: No module named 'usb'
make: *** [Makefile:634: deploy] Error 1

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

3 participants