Hello everyone,
I am trying to build MicroPython for my NUCLEO_F411RE board. I downloaded the latest master from github and proceded as follows:
1. unzip micropython-master.zip
2. cd mpy-cross
3. make
4. git submodule update --init
I then get the error: fatal: not a git repository (or any of the parent directories): .git
I'm using macOS 10.13.6
Any help will be greatly appreciated
Build for NUCLEO_F411RE fails
Re: Build for NUCLEO_F411RE fails
You'll need to check out the git repository. Rather than using a zip download, try git cloning git@github.com:micropython/micropython.git instead.
Re: Build for NUCLEO_F411RE fails
Thank you, that did it
I did a: git clone https://github.com/micropython/micropython.git
Followed by: make -C mpy-cross
Then: make BOARD=NUCLEO_F411RE deploy-stlink
however, I ran into the same problem described here: https://github.com/micropython/micropython/issues/4455 mpy-cross broken on macOS Mojave #4455
For me, the trick was to: brew uninstall binutils
Now, make BOARD=NUCLEO_F411RE deploy-stlink works
I did a: git clone https://github.com/micropython/micropython.git
Followed by: make -C mpy-cross
Then: make BOARD=NUCLEO_F411RE deploy-stlink
however, I ran into the same problem described here: https://github.com/micropython/micropython/issues/4455 mpy-cross broken on macOS Mojave #4455
For me, the trick was to: brew uninstall binutils
Now, make BOARD=NUCLEO_F411RE deploy-stlink works