I installed the madflight library in Arduino IDE 2.3.2 and tried to compile the Quadcopter example for RP2040. This is the error message:
In file included from C:\Users\instalador\Documents\Arduino\libraries\madflight\src/madflight_board_default_RP2040.h:56:0,
from C:\Users\instalador\Documents\Arduino\libraries\madflight\src/madflight/hw_RP2040/hw_RP2040.h:18,
from C:\Users\instalador\Documents\Arduino\libraries\madflight\src/madflight.h:35,
from C:\Users\instalador\AppData\Local\Temp\.arduinoIDE-unsaved2024329-20448-q43dyj.jlxdh\Quadcopter\Quadcopter.ino:198:
C:\Users\instalador\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/mbed/targets/TARGET_RASPBERRYPI/TARGET_RP2040/pico-sdk/common/pico_stdlib/include/pico/stdlib.h:11:10: fatal error: pico/stdio.h: No such file or directory
#include "pico/stdio.h"
^~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
I installed the madflight library in Arduino IDE 2.3.2 and tried to compile the Quadcopter example for RP2040. This is the error message: