Hi, this is my first time trying anything like this. I am following a YouTube tutorial currently and running into an error when I try to upload my sketch. As I cannot upload attachments I'll paste the error in. Thanks for any help in advance.
FQBN: arduino:avr:myboard
Using board 'myboard' from platform in folder: C:\Users\Deaco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.8
Using core 'arduino' from platform in folder: C:\Users\Deaco\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.8
Detecting libraries used...
Using cached library dependencies for file: C:\Users\Deaco\AppData\Local\arduino\sketches\5E1ED4F7BC9EB732799AADC3EC3D58C0\sketch\sketch_oct9a.ino.cpp.merged
Alternatives for SwitchJoystick.h: [SwitchJoystick@1.0.0]
ResolveLibrary(SwitchJoystick.h)
-> candidates: [SwitchJoystick@1.0.0]
Using cached library dependencies for file: C:\Users\Deaco\OneDrive\Documents\Arduino\libraries\SwitchJoystick\src\DynamicHID\DynamicHID.cpp
Using cached library dependencies for file: C:\Users\Deaco\OneDrive\Documents\Arduino\libraries\SwitchJoystick\src\SwitchJoystick.cpp
Generating function prototypes...
Using cached sketch with function prototypes.
Compiling sketch...
Using previously compiled file: C:\Users\Deaco\AppData\Local\arduino\sketches\5E1ED4F7BC9EB732799AADC3EC3D58C0\sketch\sketch_oct9a.ino.cpp.o
Compiling libraries...
Compiling library "SwitchJoystick"
Using previously compiled file: C:\Users\Deaco\AppData\Local\arduino\sketches\5E1ED4F7BC9EB732799AADC3EC3D58C0\libraries\SwitchJoystick\DynamicHID\DynamicHID.cpp.o
Using previously compiled file: C:\Users\Deaco\AppData\Local\arduino\sketches\5E1ED4F7BC9EB732799AADC3EC3D58C0\libraries\SwitchJoystick\SwitchJoystick.cpp.o
Compiling core...
Using precompiled core: C:\Users\Deaco\AppData\Local\arduino\cores\arduino_avr_myboard_d4917856f38c2b967ebb0aa313ff967a\core.a
Linking everything together...
"C:\\Users\\Deaco\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega32u4 -o "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.elf" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0\\sketch\\sketch_oct9a.ino.cpp.o" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0\\libraries\\SwitchJoystick\\DynamicHID\\DynamicHID.cpp.o" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0\\libraries\\SwitchJoystick\\SwitchJoystick.cpp.o" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/..\\..\\cores\\arduino_avr_myboard_d4917856f38c2b967ebb0aa313ff967a\\core.a" "-LC:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0" -lm
"C:\\Users\\Deaco\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.elf" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.eep"
"C:\\Users\\Deaco\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.elf" "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.hex"
Using library SwitchJoystick at version 1.0.0 in folder: C:\Users\Deaco\OneDrive\Documents\Arduino\libraries\SwitchJoystick
"C:\\Users\\Deaco\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\Deaco\\AppData\\Local\\arduino\\sketches\\5E1ED4F7BC9EB732799AADC3EC3D58C0/sketch_oct9a.ino.elf"
Sketch uses 10488 bytes (36%) of program storage space. Maximum is 28672 bytes.
Global variables use 516 bytes (20%) of dynamic memory, leaving 2044 bytes for local variables. Maximum is 2560 bytes.
Property 'upload.tool.serial' is undefined
Hi, sorry still looking for the correct section to add that line. doesn't look like my board has the same prefix for the settings so I'm kind of lost now. I'll get back to you once I figure it out.
Okay it looks like my prefix is atmega328p which upon googling I'm being told that's for an older board but I definitely bought a Nano Every I have the box infront of me. I have the right packages installed for the Every as well. Is there a reason why my boards.txt folder thinks it's an older board?
I added it to my sketch but getting the same error. Is there anything I can send over, like my sketch or something, that would help give you a better insight?