Closed CrossRoadLAB closed 3 years ago
Arduino IDE 1.8.13
When I try to compile the code I get the following error:
Arduino: 1.8.13 (Windows 10), Board: "FortyTwo Systems Mega" C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ricca\AppData\Local\Arduino15\packages -hardware C:\Users\ricca\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ricca\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ricca\Documents\Arduino\libraries -fqbn=fortytwosystems:samc:mega -vid-pid=0000_0000 -ide-version=10813 -build-path C:\Users\ricca\AppData\Local\Temp\arduino_build_526477 -warnings=none -build-cache C:\Users\ricca\AppData\Local\Temp\arduino_cache_580296 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\ricca\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\ricca\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.bossac.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\bossac\1.9.1-fortytwo-0 -prefs=runtime.tools.bossac-1.9.1-fortytwo-0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\bossac\1.9.1-fortytwo-0 -prefs=runtime.tools.gcc-arm-none-eabi.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\gcc-arm-none-eabi\10-2020q4 -prefs=runtime.tools.gcc-arm-none-eabi-10-2020q4.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\gcc-arm-none-eabi\10-2020q4 -prefs=runtime.tools.CMSIS.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-Microchip.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0 -prefs=runtime.tools.CMSIS-Microchip-1.0.0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0 -verbose C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\hardware\samc\1.0.0\libraries\Wire\examples\digital_potentiometer\digital_potentiometer.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ricca\AppData\Local\Arduino15\packages -hardware C:\Users\ricca\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ricca\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ricca\Documents\Arduino\libraries -fqbn=fortytwosystems:samc:mega -vid-pid=0000_0000 -ide-version=10813 -build-path C:\Users\ricca\AppData\Local\Temp\arduino_build_526477 -warnings=none -build-cache C:\Users\ricca\AppData\Local\Temp\arduino_cache_580296 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\ricca\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\ricca\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.bossac.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\bossac\1.9.1-fortytwo-0 -prefs=runtime.tools.bossac-1.9.1-fortytwo-0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\bossac\1.9.1-fortytwo-0 -prefs=runtime.tools.gcc-arm-none-eabi.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\gcc-arm-none-eabi\10-2020q4 -prefs=runtime.tools.gcc-arm-none-eabi-10-2020q4.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\gcc-arm-none-eabi\10-2020q4 -prefs=runtime.tools.CMSIS.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-Microchip.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0 -prefs=runtime.tools.CMSIS-Microchip-1.0.0.path=C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0 -verbose C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\hardware\samc\1.0.0\libraries\Wire\examples\digital_potentiometer\digital_potentiometer.ino Using board 'mega' from platform in folder: C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\hardware\samc\1.0.0 Using core 'arduino' from platform in folder: C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\hardware\samc\1.0.0 Warning: Board Xmegaduino:xmega:api doesn't define a 'build.board' preference. Auto-set to: XMEGA_API Warning: Board Xmegaduino:xmega:sfe doesn't define a 'build.board' preference. Auto-set to: XMEGA_SFE Warning: Board Xmegaduino:xmega:xplain doesn't define a 'build.board' preference. Auto-set to: XMEGA_XPLAIN Warning: Board Xmegaduino:xmega:akafuino doesn't define a 'build.board' preference. Auto-set to: XMEGA_AKAFUINO Detecting libraries used... "C:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\tools\\gcc-arm-none-eabi\\10-2020q4/bin/arm-none-eabi-g++" -mthumb -ffunction-sections -fdata-sections -fno-exceptions -mlong-calls -mcpu=cortex-m0plus -c -std=gnu++11 -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMC_MEGA -DARDUINO_ARCH_SAMC -D__SAMC21N18A__ -DSAMC21N -DSAMC21 -DUSB_VID=0x0403 -DUSB_PID=0x6015 -DUSBCON "-DUSB_MANUFACTURER=\"FortyTwo Systems\"" "-DUSB_PRODUCT=\"FortyTwo Systems Mega\"" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\tools\\CMSIS-Microchip\\1.0.0/samc21n/include" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\hardware\\samc\\1.0.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\hardware\\samc\\1.0.0\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\hardware\\samc\\1.0.0\\cores\\arduino" "-IC:\\Users\\ricca\\AppData\\Local\\Arduino15\\packages\\fortytwosystems\\hardware\\samc\\1.0.0\\variants\\mega" "C:\\Users\\ricca\\AppData\\Local\\Temp\\arduino_build_526477\\sketch\\digital_potentiometer.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE Alternatives for core_cm0plus.h: [] ResolveLibrary(core_cm0plus.h) -> candidates: [] In file included from C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0/samc21n/include/samc21.h:41, from C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\hardware\samc\1.0.0\cores\arduino/Arduino.h:35, from C:\Users\ricca\AppData\Local\Temp\arduino_build_526477\sketch\digital_potentiometer.ino.cpp:1: C:\Users\ricca\AppData\Local\Arduino15\packages\fortytwosystems\tools\CMSIS-Microchip\1.0.0/samc21n/include/samc21n18a.h:261:10: fatal error: core_cm0plus.h: No such file or directory 261 | #include <core_cm0plus.h> | ^~~~~~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board FortyTwo Systems Mega.
I solved the problem by reinstalling all libraries of your project PS. Cool Project
Arduino IDE 1.8.13
When I try to compile the code I get the following error: