You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> candidates: []
C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:35:2: error: #error HID Project can only be used with an USB MCU.
35 | #error HID Project can only be used with an USB MCU.
Multiple libraries were found for "Keyboard.h"
| ^~~~~
Used: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\Keyboard
In file included from C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:39:
Not used: C:\Users\mario\Documents\Arduino\libraries\Keyboard
C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/SingleReport/SingleAbsoluteMouse.h:28:10: fatal error: HID.h: No such file or directory
28 | #include "HID.h"
| ^~~~~~~
compilation terminated.
Using library Keyboard at version 1.0.3 in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard
Using library HID_Keyboard at version 1.0.4 in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\HID_Keyboard
Using library HID-Project at version 2.8.4 in folder: C:\Users\mario\Documents\Arduino\libraries\HID-Project
exit status 1
Error compiling for board Raspberry Pi Pico.
`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm tryin to use this library with a rpi pico but it shows me some compilations errors.
`
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\mario\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\mario\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\mario\Documents\Arduino\libraries -fqbn=rp2040:rp2040:rpipico:flash=2097152_0,freq=133,opt=Small,rtti=Disabled,stackprotect=Disabled,exceptions=Disabled,dbgport=Disabled,dbglvl=None,usbstack=picosdk,ipbtstack=ipv4only,uploadmethod=default -vid-pid=2E8A_800A -ide-version=10819 -build-path C:\Users\mario\AppData\Local\Temp\arduino_build_871248 -warnings=none -build-cache C:\Users\mario\AppData\Local\Temp\arduino_cache_872179 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.pqt-gcc.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-gcc-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-openocd.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-openocd\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-openocd-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-openocd\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-mklittlefs.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-mklittlefs\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-mklittlefs-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-mklittlefs\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-python3.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-python3\1.0.1-base-3a57aed -prefs=runtime.tools.pqt-python3-1.0.1-base-3a57aed.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-python3\1.0.1-base-3a57aed -prefs=runtime.tools.pqt-picotool.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-picotool\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-picotool-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-picotool\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-elf2uf2.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-elf2uf2\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-elf2uf2-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-elf2uf2\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-pioasm.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-pioasm\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-pioasm-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-pioasm\2.1.0-a-d3d2e6b -verbose C:\Users\mario\Documents\GitHub\diy_keyboard\diy_keyboard.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\mario\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\mario\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\mario\Documents\Arduino\libraries -fqbn=rp2040:rp2040:rpipico:flash=2097152_0,freq=133,opt=Small,rtti=Disabled,stackprotect=Disabled,exceptions=Disabled,dbgport=Disabled,dbglvl=None,usbstack=picosdk,ipbtstack=ipv4only,uploadmethod=default -vid-pid=2E8A_800A -ide-version=10819 -build-path C:\Users\mario\AppData\Local\Temp\arduino_build_871248 -warnings=none -build-cache C:\Users\mario\AppData\Local\Temp\arduino_cache_872179 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.pqt-gcc.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-gcc-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-openocd.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-openocd\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-openocd-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-openocd\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-mklittlefs.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-mklittlefs\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-mklittlefs-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-mklittlefs\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-python3.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-python3\1.0.1-base-3a57aed -prefs=runtime.tools.pqt-python3-1.0.1-base-3a57aed.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-python3\1.0.1-base-3a57aed -prefs=runtime.tools.pqt-picotool.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-picotool\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-picotool-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-picotool\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-elf2uf2.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-elf2uf2\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-elf2uf2-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-elf2uf2\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-pioasm.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-pioasm\2.1.0-a-d3d2e6b -prefs=runtime.tools.pqt-pioasm-2.1.0-a-d3d2e6b.path=C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-pioasm\2.1.0-a-d3d2e6b -verbose C:\Users\mario\Documents\GitHub\diy_keyboard\diy_keyboard.ino
Using board 'rpipico' from platform in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3
Using core 'rp2040' from platform in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3
Detecting libraries used...
"C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b/bin/arm-none-eabi-g++" -I "C:\Users\mario\AppData\Local\Temp\arduino_build_871248/core" -c -Werror=return-type -Wno-psabi -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSBD_PID=0x000a -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER="Raspberry Pi"" "-DUSB_PRODUCT="Pico"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT="rpipico"" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES=2097152 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -DARM_MATH_CM0_FAMILY -DARM_MATH_CM0_PLUS "-iprefixC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/" "@C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/lib/platform_inc.txt" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/include" -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=133000000L -DARDUINO=10819 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME="RASPBERRY_PI_PICO"" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\cores\rp2040" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\variants\rpipico" "C:\Users\mario\AppData\Local\Temp\arduino_build_871248\sketch\diy_keyboard.ino.cpp" -o nul
Alternatives for Keyboard.h: [[email protected] [email protected] [email protected]]
ResolveLibrary(Keyboard.h)
-> candidates: [[email protected] [email protected] [email protected]]
"C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b/bin/arm-none-eabi-g++" -I "C:\Users\mario\AppData\Local\Temp\arduino_build_871248/core" -c -Werror=return-type -Wno-psabi -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSBD_PID=0x000a -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER="Raspberry Pi"" "-DUSB_PRODUCT="Pico"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT="rpipico"" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES=2097152 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -DARM_MATH_CM0_FAMILY -DARM_MATH_CM0_PLUS "-iprefixC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/" "@C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/lib/platform_inc.txt" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/include" -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=133000000L -DARDUINO=10819 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME="RASPBERRY_PI_PICO"" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\cores\rp2040" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\variants\rpipico" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard\src" "C:\Users\mario\AppData\Local\Temp\arduino_build_871248\sketch\diy_keyboard.ino.cpp" -o nul
Alternatives for HID_Keyboard.h: [[email protected]]
ResolveLibrary(HID_Keyboard.h)
-> candidates: [[email protected]]
"C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b/bin/arm-none-eabi-g++" -I "C:\Users\mario\AppData\Local\Temp\arduino_build_871248/core" -c -Werror=return-type -Wno-psabi -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSBD_PID=0x000a -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER="Raspberry Pi"" "-DUSB_PRODUCT="Pico"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT="rpipico"" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES=2097152 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -DARM_MATH_CM0_FAMILY -DARM_MATH_CM0_PLUS "-iprefixC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/" "@C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/lib/platform_inc.txt" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/include" -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=133000000L -DARDUINO=10819 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME="RASPBERRY_PI_PICO"" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\cores\rp2040" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\variants\rpipico" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard\src" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\HID_Keyboard\src" "C:\Users\mario\AppData\Local\Temp\arduino_build_871248\sketch\diy_keyboard.ino.cpp" -o nul
Alternatives for HID-Project.h: [[email protected]]
ResolveLibrary(HID-Project.h)
-> candidates: [[email protected]]
"C:\Users\mario\Documents\ArduinoData\packages\rp2040\tools\pqt-gcc\2.1.0-a-d3d2e6b/bin/arm-none-eabi-g++" -I "C:\Users\mario\AppData\Local\Temp\arduino_build_871248/core" -c -Werror=return-type -Wno-psabi -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSBD_PID=0x000a -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER="Raspberry Pi"" "-DUSB_PRODUCT="Pico"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT="rpipico"" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES=2097152 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -DARM_MATH_CM0_FAMILY -DARM_MATH_CM0_PLUS "-iprefixC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/" "@C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/lib/platform_inc.txt" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3/include" -fno-rtti -std=gnu++17 -g -pipe -w -x c++ -E -CC -DF_CPU=133000000L -DARDUINO=10819 -DARDUINO_RASPBERRY_PI_PICO "-DBOARD_NAME="RASPBERRY_PI_PICO"" -DARDUINO_ARCH_RP2040 -Os -DWIFICC=CYW43_COUNTRY_WORLDWIDE "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\cores\rp2040" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\variants\rpipico" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard\src" "-IC:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\HID_Keyboard\src" "-IC:\Users\mario\Documents\Arduino\libraries\HID-Project\src" "C:\Users\mario\AppData\Local\Temp\arduino_build_871248\sketch\diy_keyboard.ino.cpp" -o nul
Alternatives for HID.h: []
ResolveLibrary(HID.h)In file included from C:\Users\mario\Documents\GitHub\diy_keyboard\diy_keyboard.ino:6:
-> candidates: []
C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:35:2: error: #error HID Project can only be used with an USB MCU.
35 | #error HID Project can only be used with an USB MCU.
Multiple libraries were found for "Keyboard.h"
| ^~~~~
Used: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\Keyboard
In file included from C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:39:
Not used: C:\Users\mario\Documents\Arduino\libraries\Keyboard
C:\Users\mario\Documents\Arduino\libraries\HID-Project\src/SingleReport/SingleAbsoluteMouse.h:28:10: fatal error: HID.h: No such file or directory
28 | #include "HID.h"
| ^~~~~~~
compilation terminated.
Using library Keyboard at version 1.0.3 in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\Keyboard
Using library HID_Keyboard at version 1.0.4 in folder: C:\Users\mario\Documents\ArduinoData\packages\rp2040\hardware\rp2040\3.6.3\libraries\HID_Keyboard
Using library HID-Project at version 2.8.4 in folder: C:\Users\mario\Documents\Arduino\libraries\HID-Project
exit status 1
Error compiling for board Raspberry Pi Pico.
`
Beta Was this translation helpful? Give feedback.
All reactions