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
Problems using lbuild with windows #67
Comments
Hm, stuck on the very first access to a template… sorry about this, I haven’t used Windows in over a decade, so not an expert. Cc @dergraaf maybe a path encoding error? I know we had path issues in SCons on Windows before. |
Hi again, I did some debugging and found that Jinja2 doesn't like the \ path separator. I'll try to craft a fix and push it in a PR. |
In xpcc, there was a Maybe that’s the issue? |
Yes, I did something like that in order to make it work. |
I've made some pull requests that will make life for windows users a little better. Allowing a basic usage of:
I've tested the modifications trying to build and program the nucleo_f042 and the nucleo_f411 blink examples. TODO: |
I've updated the install instructions with your suggestions: https://modm.io/guide/installation/#windows However, I'm unclear about the |
Yes, with that PR there is no need to the .bat. |
cc @daniel-k also has to support Windows |
Hello folks, There seems to be an issue in project.xml with all examples that use the : (semicolon) For example, in modm:board:nucleo-f303k8 when running lbuild build.
My setup
Thanks.. |
The |
Apparently, the symbol |
Time to build a box then.. |
For those on Windows looking for a quick fix to this, you can edit line 159 of config.py in lbuild with this: |
Can you check if this change in lbuild fixes your issue too? I just wrapped this into an exception. |
Yup, that fixes it. Thanks |
Hi all,
I'm trying to use modm under windows 10 with anaconda3 64bit. I've followed the steps in the installation page and found a few mistakes.
"conda install" command from anaconda can't install github recipes like "pip install" can
pyelftools is not available from conda-forge thus I had to install it using pip
In order to solve this issues I used the following commands to procede with the installation:
After doing this I had to configure a .bat file to run the lbuild file inside Scripts, something simple like this:
After doing this I cloned recursively the repository and I could call lbuild inside an example directory, but I got this error:
The file spi_hal.hpp.in is in my directory structure and I can't understand what's the problem,
I tryed running again the lbuild build command and it got stuck at this point this time:
This is my python environment and python version:
I hope this will help getting a better windows support.
The text was updated successfully, but these errors were encountered: