Comments (9)
The installer works under Windows 11 on an x86 system, so this is an Arm-only problem.
Although, that said. If you have an Arm-based Mac, why are you attempting to install the toolchain under Windows running in Parallels? Why not just install it under macOS?
The instructions for installation on Mac (both Arm and x86) are documented in section 9.1 of the "Getting Started" guide and work out the box (I write the documentation, and my daily driver is a Mac, the Mac instructions are always going to work out of the box).
from pico-setup-windows.
Thanks for your reply.
I agree it is an Arm-only problem. It would still be a macOS problem (remember, this is all on an Apple Silicon machine (M2 in this case). But, that is a minor detail. The issue isn't the toolchain. Arm's Apple Silicon release works fine. The problem (for me) is understanding the various config files that VS Code requires. There are a number of YouTube videos that come close to a good explanation but not that completely (that I've seen) thoroughly explain the VS Code configuration files.
This project looked like a good opportunity to see a functioning install to understand VS Code. I could then use the knowledge gained and port over what I needed with some modifications.
from pico-setup-windows.
I am closing the issue as this is probably a tangent for the project, and a project dedicated for MacOS users would be a nice idea.
from pico-setup-windows.
…and a project dedicated for MacOS users would be a nice idea.
I'm am currently looking about for someone to work on a macOS installer. It'd probably be not much more than something like the pico-setup script for Raspberry Pi OS wrapped inside a PKG installer file.
from pico-setup-windows.
If you're just looking for the VS Code config, the config files in this project should work just fine. Just copy them into a .vscode
directory in your project. The files assume that you have the toolchain installed, PICO_SDK_PATH
configured, etc. which the pico-setup script linked to by @aallan does for you.
As for a complete macOS installer, I guess that would be the setup script, the VS Code config, and possibly pre-compiled versions of OpenOCD, picotool, pioasm, and elf2uf2.
from pico-setup-windows.
@ndabas Good suggestion. I will take a look at your suggestion and see how far it takes me.
@Aalan I have never written a dmg/pkg for the mac but have found a decent tutorial on how to do so. I will take a look and see if I am able to make progress with doing so. It makes take me a week or two (due to prior commitments). This is definitely needed for the macros community. Given that the ARM GNU toolchain is available for both the x86 and the Apple silicon, my approach would be to install the toolchain in the ~//opt or /opt (all users) directory and make that an option. I have no issues with a brew or other solution install, but I prefer a purist approach as I come from both a Windows/Linux/embedded developer background. I will get back to you in the next week or two to let you know my progress. It's possible someone may beat me to it, but that's OK. The goal is to create something that mac users can benefit from.
from pico-setup-windows.
Note, we are looking at a different solution to this for supporting the toolchain on MacOS. So if you do this, it may end up not being used, or at least
Basically, we'd prefer to install the toolchain through a VSCode extension, which would then make it possible to support Linux, MacOS and Windows all through the same mechanism... But we're still looking into it and don't know whether this will actually be the right solution...
from pico-setup-windows.
Understood. What exactly does installing through a VSCode extension entail? I was under the impression that the toolchain was installed in a location and VSCode references the toolchain by an environment variable? Thanks.
from pico-setup-windows.
Got it. I was not aware of the extensions brought up in this discussion. I am not a seasoned VS Code user (more IDE such as Segger, TI CC, or "Eclipse-based" tools. I'm struggling to wrap my mind around VS Code -particularly the settings files. So, I appreciate your input and understand the reasons for not going astray. I wrote that I did not see the Apple silicon support, just went back and see it. Thanks for the input. I am going to check that out before working on my next steps.
from pico-setup-windows.
Related Issues (20)
- No way to build Pico W examples from VSCode Cmake tab HOT 5
- New install not working HOT 12
- v1.5.1 does not create all registry keys anymore HOT 8
- Pico - Visual Studio Code link does nothing if VS code is not in PATH HOT 2
- Installer not checking PowerShell execution policy HOT 2
- Latest pico installer downloading as unconfirmed[random_number].crdownload HOT 2
- Problem finding path with new project HOT 2
- Installer Cant Get Pased The Choose Location HOT 2
- Installer able to install Pico_W SDK? HOT 3
- Keeping the SDK repo updated as often as possible HOT 2
- Installer not working on Windows 11 on Arm64 HOT 6
- TinyUSB are not visible in VSCode workspace HOT 4
- Use of $env:COMSPEC may be invalid in some cases. HOT 1
- No suitable code signing certificates found HOT 6
- GDB Error 1 in Visual Studio Code on Windows HOT 5
- Changing from debug to build and run for a Pico W HOT 11
- The system cannot find the file specified. HOT 2
- Add local Visual Studio Code just like other included software HOT 7
- cmake issue HOT 1
- Another cmake issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-setup-windows.