I'm having trouble compiling 3.5.0-dev for RPI Pico. I want to run It on a Mellow Fly SB2040 Board so I must change some GPIO Pins in the Config.
Can anyone offer suggestions for the errors shown?
Invoking: Cross G++ Compiler
arm-none-eabi-g++ -std=gnu++17 -D__RP2040__ -DRPI_PICO -DRTOS -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev" -I"C:\Users\t_hal\Desktop\Duet Pico test\CANlib-3.5-dev" -I"C:\Users\t_hal\Desktop\Duet Pico test\RRFLibraries-3.5-dev" -I"C:\Users\t_hal\Desktop\Duet Pico test\FreeRTOS-3.5beta1" -I"C:\Users\t_hal\Desktop\Duet Pico test\Duet3Expansion-3.5-dev\src" -I"C:\Users\t_hal\Desktop\Duet Pico test\Duet3Expansion-3.5-dev\src\Hardware\RP2040" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/boards/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/common/pico_base/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/common/pico_sync/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/common/pico_time/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/cmsis/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_base/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_dma/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_gpio/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_irq/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_sync/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_timer/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/hardware_watchdog/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/pico_platform/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/cmsis/stub/CMSIS/Core/Include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2_common/cmsis/stub/CMSIS/Device/RaspberryPi/RP2040/Include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2040/hardware_regs/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\src\RP2040\pico-sdk/src/rp2040/hardware_structs/include" -I"C:\Users\t_hal\Desktop\Duet Pico test\RRFLibraries-3.5-dev\src" -I"C:\Users\t_hal\Desktop\Duet Pico test\CANlib-3.5-dev\src" -I"C:\Users\t_hal\Desktop\Duet Pico test\FreeRTOS-3.5beta1\src\include" -I"C:\Users\t_hal\Desktop\Duet Pico test\FreeRTOS-3.5beta1\src\portable\GCC\ARM_CM0" -O3 -Wall -c -mcpu=cortex-m0plus -mthumb -mfp16-format=ieee -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -fsingle-precision-constant "-Wa,-ahl=RepRapFirmware.s" -MMD -MP -MF"src/RepRapFirmware.d" -MT"src/RepRapFirmware.o" -o "src/RepRapFirmware.o" "../src/RepRapFirmware.cpp"
Finished building: ../src/ClosedLoop/Encoders/AS5047D.cpp
Finished building: ../src/Fans/FansManager.cpp
Finished building: ../src/ClosedLoop/Encoders/AbsoluteRotaryEncoder.cpp
Finished building: ../src/Fans/LocalFan.cpp
Finished building: ../src/ClosedLoop/Encoders/Encoder.cpp
Finished building: ../src/ClosedLoop/Encoders/LinearCompositeEncoder.cpp
Finished building: ../src/ClosedLoop/Encoders/QuadratureEncoderAttiny.cpp
Finished building: ../src/ClosedLoop/Encoders/QuadratureEncoderPdec.cpp
Finished building: ../src/ClosedLoop/Encoders/RelativeEncoder.cpp
Finished building: ../src/ClosedLoop/Encoders/SpiEncoder.cpp
Finished building: ../src/ClosedLoop/Encoders/TLI5012B.cpp
Finished building: ../src/ClosedLoop/ClosedLoop.cpp
Finished building: ../src/ClosedLoop/AttinyProgrammer.cpp
Finished building: ../src/ClosedLoop/Tuning.cpp
Finished building: ../src/CommandProcessing/CommandProcessor.cpp
Finished building: ../src/CAN/CanMessageQueue.cpp
Finished building: ../src/RepRapFirmware.cpp
Finished building: ../src/CAN/CanInterface.cpp
Building target: Duet3Firmware_RPiPico.elf
Invoking: Cross G++ Linker
arm-none-eabi-g++ -L"C:\Users\t_hal\Desktop\Duet Pico test\CoreN2G-3.5-dev\RP2040_CAN_RTOS" -L"C:\Users\t_hal\Desktop\Duet Pico test\CANlib-3.5-dev\RP2040_RTOS" -L"C:\Users\t_hal\Desktop\Duet Pico test\RRFLibraries-3.5-dev\RP2040_RTOS" -L"C:\Users\t_hal\Desktop\Duet Pico test\FreeRTOS-3.5beta1\RP2040" -Os --specs=nano.specs -Wl,--gc-sections -Wl,--fatal-warnings -mcpu=cortex-m0plus -T"C:\Users\t_hal\Desktop\Duet Pico test\Duet3Expansion-3.5-dev\src\Hardware\RP2040\rp2040_flash.ld" -Wl,-Map,"C:\Users\t_hal\Desktop\Duet Pico test\Duet3Expansion-3.5-dev\RPiPico/Duet3Firmware_RPiPico.map",--cref -o "Duet3Firmware_RPiPico.elf" ./src/libc/errno.o ./src/libc/nano-mallocr.o ./src/Platform/Platform.o ./src/Platform/Tasks.o ./src/Movement/StepperDrivers/DriverMode.o ./src/Movement/StepperDrivers/TMC22xx.o ./src/Movement/StepperDrivers/TMC51xx.o ./src/Movement/Kinematics/CartesianKinematics.o ./src/Movement/Kinematics/Kinematics.o ./src/Movement/Kinematics/LinearDeltaKinematics.o ./src/Movement/Kinematics/ZLeadscrewKinematics.o ./src/Movement/DDA.o ./src/Movement/DriveMovement.o ./src/Movement/Move.o ./src/Movement/StepTimer.o ./src/InputMonitors/InputMonitor.o ./src/Heating/Sensors/AdditionalOutputSensor.o ./src/Heating/Sensors/BME280.o ./src/Heating/Sensors/CpuTemperatureSensor.o ./src/Heating/Sensors/CurrentLoopTemperatureSensor.o ./src/Heating/Sensors/DhtSensor.o ./src/Heating/Sensors/LinearAnalogSensor.o ./src/Heating/Sensors/RemoteSensor.o ./src/Heating/Sensors/RtdSensor31865.o ./src/Heating/Sensors/SensorWithPort.o ./src/Heating/Sensors/SpiTemperatureSensor.o ./src/Heating/Sensors/TemperatureSensor.o ./src/Heating/Sensors/Thermistor.o ./src/Heating/Sensors/ThermocoupleSensor31855.o ./src/Heating/Sensors/ThermocoupleSensor31856.o ./src/Heating/Sensors/TmcDriverTemperatureSensor.o ./src/Heating/FOPDT.o ./src/Heating/Heat.o ./src/Heating/Heater.o ./src/Heating/HeaterMonitor.o ./src/Heating/LocalHeater.o ./src/Hardware/RP2040/Devices.o ./src/Hardware/RP2040/Main.o ./src/Hardware/RP2040/SharedSpiDevice.o ./src/Hardware/RP2040/boot2_w25q080_2_padded_checksum.o ./src/Hardware/ATEIO/ExtendedAnalog.o ./src/Hardware/ExceptionHandlers.o ./src/Hardware/IoPorts.o ./src/Hardware/LIS3DH.o ./src/Hardware/NonVolatileMemory.o ./src/Hardware/SharedI2CClient.o ./src/Hardware/SharedSpiClient.o ./src/Hardware/SoftwareReset.o ./src/GPIO/GpioPorts.o ./src/FilamentMonitors/Duet3DFilamentMonitor.o ./src/FilamentMonitors/FilamentMonitor.o ./src/FilamentMonitors/LaserFilamentMonitor.o ./src/FilamentMonitors/PulsedFilamentMonitor.o ./src/FilamentMonitors/RotatingMagnetFilamentMonitor.o ./src/FilamentMonitors/SimpleFilamentMonitor.o ./src/Fans/Fan.o ./src/Fans/FansManager.o ./src/Fans/LocalFan.o ./src/CommandProcessing/AccelerometerHandler.o ./src/CommandProcessing/CommandProcessor.o ./src/ClosedLoop/Encoders/AS5047D.o ./src/ClosedLoop/Encoders/AbsoluteRotaryEncoder.o ./src/ClosedLoop/Encoders/Encoder.o ./src/ClosedLoop/Encoders/LinearCompositeEncoder.o ./src/ClosedLoop/Encoders/QuadratureEncoderAttiny.o ./src/ClosedLoop/Encoders/QuadratureEncoderPdec.o ./src/ClosedLoop/Encoders/RelativeEncoder.o ./src/ClosedLoop/Encoders/SpiEncoder.o ./src/ClosedLoop/Encoders/TLI5012B.o ./src/ClosedLoop/AttinyProgrammer.o ./src/ClosedLoop/ClosedLoop.o ./src/ClosedLoop/Tuning.o ./src/CAN/CanInterface.o ./src/CAN/CanMessageQueue.o ./src/RepRapFirmware.o -lRRFLibraries -lCoreN2G -lCANlib -lFreeRTOS -lpico
c:/program files (x86)/gnu arm embedded toolchain/10 2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lpico
collect2.exe: error: ld returned 1 exit status
makefile:81: recipe for target 'Duet3Firmware_RPiPico.elf' failed
make[1]: *** [Duet3Firmware_RPiPico.elf] Error 1
makefile:68: recipe for target 'all' failed
make: *** [all] Error 2
"make -j24 all" terminated with exit code 2. Build might be incomplete.
15:13:48 Build Failed. 5 errors, 0 warnings. (took 5s.115ms)```