Closed
Description
Hello,
I've been trying to run the arduino led blinker tutorial on the RP2040. https://fprime-community.github.io/fprime-tutorial-arduino-blinker/
I'm getting stuck on the first fprime-util generate
. I'm getting the error shown below
[INFO] Generating build directory at: /Users/your-user/led-blinker/build-fprime-automatic-rpipicow
[INFO] Using toolchain file /Users/your-user/led-blinker/fprime-arduino/cmake/toolchain/rpipicow.cmake for platform default
Traceback (most recent call last):
File "/Users/your-user/fprime-venv/bin/arduino-cli-wrapper", line 5, in <module>
from arduino_cli_cmake_wrapper.cli import main
File "/Users/your-user/fprime-venv/lib/python3.8/site-packages/arduino_cli_cmake_wrapper/cli.py", line 193, in <module>
def assemble_output_data(test_files: dict[Source, Path], stages: Dict[Stage, List[str]], detect: bool, include: bool, post_link: bool) -> Tuple[Dict, Path]:
TypeError: 'type' object is not subscriptable
CMake Error at fprime-arduino/cmake/toolchain/support/arduino-wrapper.cmake:72 (message):
Could not run 'arduino-cli' please install 'arduino-cli' and board
'rp2040:rp2040:rpipicow'.
Call Stack (most recent call first):
fprime-arduino/cmake/toolchain/support/arduino-support.cmake:43 (run_arduino_wrapper)
fprime-arduino/cmake/toolchain/support/arduino-support.cmake:201 (set_arduino_build_settings)
fprime-arduino/cmake/toolchain/rpipicow.cmake:19 (include)
/usr/local/Cellar/cmake/3.29.0/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:7 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Here's my settings.ini file
[fprime]
project_root: .
framework_path: ./fprime
default_cmake_options: FPRIME_ENABLE_FRAMEWORK_UTS=OFF
FPRIME_ENABLE_AUTOCODER_UTS=OFF
library_locations: ./fprime-arduino
default_toolchain: rpipicow
deployment_cookiecutter: https://github.com/fprime-community/fprime-arduino-deployment-cookiecutter.git
Some observations:
- I can build Ref in fprime, so I don't think it's my build system
- I've tried updating the fprime build tools
pip install -U fprime-tools
Any ideas? Let me know if you need any more information
Metadata
Metadata
Assignees
Labels
No labels