RP2040-FreeRTOS
RP2040-FreeRTOS copied to clipboard
Error after Installation of RP2040-FreeRTOS
Thanks for this FreeRTOS bundle on the Pi Pico. I am trying to run it on the VS IDE and have 1 error in the build so far as below - copied from the o/p terminal:
[main] Building folder: RP2040-FreeRTOS-main [main] Configuring project: RP2040-FreeRTOS-main [proc] Executing command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE "-DCMAKE_C_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-g++.exe" -SC:/Users/bvu3kor/Documents/Pico-v1.5.1/RP2040-FreeRTOS-main -Bc:/Users/bvu3kor/Documents/Pico-v1.5.1/RP2040-FreeRTOS-main/build -G "NMake Makefiles" [cmake] Not searching for unused variables given on the command line. [cmake] PICO_SDK_PATH is C:/Users/bvu3kor/Documents/Pico-v1.5.1/pico-sdk [cmake] PICO platform is rp2040. [cmake] CMake Error at CMakeLists.txt:56 (project): [cmake] Running [cmake] [cmake] 'nmake' '-?' [cmake] [cmake] failed with: [cmake] [cmake] The system cannot find the file specified [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] See also "C:/Users/bvu3kor/Documents/Pico-v1.5.1/RP2040-FreeRTOS-main/build/CMakeFiles/CMakeOutput.log". [proc] The command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE "-DCMAKE_C_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-g++.exe" -SC:/Users/bvu3kor/Documents/Pico-v1.5.1/RP2040-FreeRTOS-main -Bc:/Users/bvu3kor/Documents/Pico-v1.5.1/RP2040-FreeRTOS-main/build -G "NMake Makefiles" exited with code: 1
From the Problems terminal o/p as below the project() command in the main CMakeLists.txt file fails as below :
CMake Error at CMakeLists.txt:56 (project):Running
'nmake' '-?'
failed with:
The system cannot find the file specified
line 56 from the file here for reference
Name the project
project(${PROJECT_NAME} LANGUAGES C CXX ASM DESCRIPTION "FreeRTOS-based RP2040 applications" )
Kindly help to overcome this error. Thanks Benjamin