-
Notifications
You must be signed in to change notification settings - Fork 8
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
fprime-util generate but has a error "Could not run 'arduino-cli' " #15
Comments
From your screenshot, I see this:
Do you have a C/C++ compiler installed on your system? And also Make installed? For example if you type these:
Are these commands found? |
Yes, they are all installed. |
@capsulecorplab What was your solution to this issue? Seems like you had a similar issue last year with your VM workspace setup. |
I had to use a specific commit from @SterlingPeet's arduino-cli wrapper to fix it in my virtual environment https://github.com/fprime-community/fprime-workspace-image/blob/main/playbook.yaml#L265. You could try doing the same or just pull and run the fprime-workspace-image since it's already configured to build the led blinker project |
Hello Folks, progress was made on the arduino-cli-wrapper just days ago, I haven’t had the chance to add some tests and push it. I’ll push the code that appears to be working and link a commit here in the next day or so. @henrybb0826 are you able to compile an arduino sketch with the cli, and target the rpipocow board? This would confirm that it is installed and that the next step is try my code that is not yet available. |
Excuse me, I follow the steps by tutorial to the steps of fprime-util generate after creating a new deployment.
However, I got some error saying "Could not run 'arduino-cli' please install 'arduino-cli' and board 'rp2040:rp2040:rpipicow'."
I am pretty sure that I installed arduino-cli and the core of rp2040 in fprime-venv.
Am I missing some path-adding steps or other important things?
The text was updated successfully, but these errors were encountered: