-
Notifications
You must be signed in to change notification settings - Fork 187
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
Problem building the project in VS code #196
Comments
I had a similar issue several months ago. They didn't really make their makefile very Windows-friendly. There are some key differences in the Windows versions of (1) Here is what I have done to fix the issues: (1) In order to make the BUILD_PATH variable more Windows friendly, I decided to create a 2nd variable in my makefile called BUILD_PATH_WINDOWS. In the original makefile, you should see a line that looks like this (roughly around line 48 or so?):
I changed it to read like this:
Now that you have created a
To make it work nicely on Windows, I changed it to read like this:
Finally, you will want to change the commands sitting around line 169 of the makefile, which originally read like this:
For me, I changed them to read like this:
This is because of how the "echo" command behaves in Windows compared to Unix. After making these changes you should have a working makefile. There is one possible other change you may need to make. On lines 177 and 187 of the makefile, they run some Python scripts. This means you need Python 3 installed (which they don't make clear in the "Requirements" section of the "Readme" for this repository. In the makefile, they specifically use the command "python3". This may be an issue depending on how you've installed Python. For me, my installation of Python is through Miniconda, and when it installed Python on my computer, it just called it "python.exe" rather than "python3.exe". So I had to change the makefile to use the |
I have been trying to build it with VS code. I'm not very familiar with VS code and makefiles but I managed to find the extension "Makefile Tools" to build it. I'm stuck at the error shown in the picture. If someone could help I would appreciate it.
My goal is to try and deactivate the double tap Reset button.The problem is that Feather M0 is entering sometimes in bootloader mode while I connect the power.
The text was updated successfully, but these errors were encountered: