windows: Unable to build micropython STM32 port #16507
Replies: 3 comments 4 replies
-
Im an avid Windows user, but wrt to building MicroPython I favour WSL2 and add docker desktop + mpbuild for simplicity |
Beta Was this translation helpful? Give feedback.
-
Possibly the last 2 characters got trunctaed due to commandline length limits somewhere. IIRC I could work around that by creating symlinks for some of the directories. That was with MSYS2 though, which is actually nicer to work with than Cygwin imo (wrt package management, available packages, handling of paths). |
Beta Was this translation helpful? Give feedback.
-
Forgot about this; I remembered having tried this before so I tried it again and it 'just' works: I can build stm32 in am MSYS2 shell just fine. So starting from an MSYS2 shell with git/python/make etc already installed, install the arm tools with |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I hope i'm posting on the right forum.
I am facing an issue when building micropython stm32 port on Windows. Problem seems to appear when linking.
Here is my environment:
Building on cygwin (tried MSYS2 too).
Everything seems to build fine, but I get this error (example when building for NUCLEO_F091RC:
I double checked, file is compiled, but it's name is "ef_rem_pio2".
When running with "V=1", I can see the link command. If I run it manually after failed build, and then I build the project again, it seems to work.
Does anyone know how to overcome this issue ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions