From f6dc6a470c3792b1582eb2846f1d9497260df5c4 Mon Sep 17 00:00:00 2001 From: kurte Date: Thu, 31 Jul 2025 07:38:09 -0700 Subject: [PATCH 1/2] README.md - How one can build on windows --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index d9dafc94..ec67f7e9 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,23 @@ brew install python cmake ninja zstd jq git ``` Note: Homebrew’s Python installation already includes `pip`, `setuptools` and `venv`. +### On Windows +While installing and building natively on zephyr is supported as described at: https://docs.zephyrproject.org/latest/develop/getting_started/index.html. + +Arduino currently has not ported their build setup to the Windows environment. However it is possible to setup and build the loaders on a Windows system using WSL and use the resulting Loader files within Windows. You will need to follow the instructions given above +for installing on Ubuntu. + +There are at least two strategies. +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. + +2) Install the sources within the WSL file system, like: ~/git/ArduinoCore-zephyr + +There are pros and cons to both strategies. With 1) Builds are relatively very slow, but once done you can use it directly within +Arduino. With 2) Builds are a lot faster, however, you then 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 + +In either strategy, you may have to update the link: cores\arduino\api as sometimes this link file may or may not work properly. + ### Run the ```bootstrap``` script ```bash cd ArduinoCore-zephyr From a0f8ee43ed0f0267880ffc47fc9c6c28d349271a Mon Sep 17 00:00:00 2001 From: Kurt E Date: Fri, 1 Aug 2025 05:58:25 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Leonardo Cavagnis <45899760+leonardocavagnis@users.noreply.github.com> --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ec67f7e9..5a4da787 100644 --- a/README.md +++ b/README.md @@ -142,21 +142,17 @@ brew install python cmake ninja zstd jq git Note: Homebrew’s Python installation already includes `pip`, `setuptools` and `venv`. ### On Windows -While installing and building natively on zephyr is supported as described at: https://docs.zephyrproject.org/latest/develop/getting_started/index.html. +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. -Arduino currently has not ported their build setup to the Windows environment. However it is possible to setup and build the loaders on a Windows system using WSL and use the resulting Loader files within Windows. You will need to follow the instructions given above -for installing on Ubuntu. +There are two strategies: +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`. +2) Install the sources within the WSL file system, like: `~/git/ArduinoCore-zephyr` -There are at least two strategies. -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. +There are pros and cons to both strategies: +1) Builds are relatively very slow, but once done you can use it directly within Arduino. +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. -2) Install the sources within the WSL file system, like: ~/git/ArduinoCore-zephyr - -There are pros and cons to both strategies. With 1) Builds are relatively very slow, but once done you can use it directly within -Arduino. With 2) Builds are a lot faster, however, you then 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 - -In either strategy, you may have to update the link: cores\arduino\api as sometimes this link file may or may not work properly. +In either strategy, you may have to update the link: `cores\arduino\api`. ### Run the ```bootstrap``` script ```bash pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy