Skip to content

Commit b14f4d6

Browse files
Merge pull request #159 from KurtE/readme_building_on_windows
README.md - How one can build on windows
2 parents 34ab76d + e62231d commit b14f4d6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,19 @@ brew install python cmake ninja zstd jq git
141141
```
142142
Note: Homebrew’s Python installation already includes `pip`, `setuptools` and `venv`.
143143

144+
### On Windows
145+
Windows is not currently supported. However it is possible to setup and build the loader using WSL. You will need to follow the instructions given above for installing on Ubuntu.
146+
147+
There are two strategies:
148+
1) Install the sources in the native Windows filesystem (NTFS, FAT32, etc) and within WSL, cd to the root directory where you installed your sources, like: `/mnt/d/github/ArduinoCore-zephyr`.
149+
2) Install the sources within the WSL file system, like: `~/git/ArduinoCore-zephyr`
150+
151+
There are pros and cons to both strategies:
152+
1) Builds are relatively very slow, but once done you can use it directly within Arduino.
153+
2) Builds are a lot faster, however, you need to copy the resulting build back to somewhere in your windows directory structure. It is this location, that you will add to the Arduino IDE as mentioned below in the section: Using the core in Arduino IDE/CLI.
154+
155+
In either strategy, you may have to update the link: `cores\arduino\api`.
156+
144157
### Run the ```bootstrap``` script
145158
```bash
146159
cd ArduinoCore-zephyr

0 commit comments

Comments
 (0)