Hello all.
I am building a multi-purpose USB device project with my Teensy 3.6 board.
I want to make a teensy board that works for a multi-purpose USB including MTP + HID + KeyBoard + ...
So I had to add a new board type, I first simply added an "xyz" board to C:\Program Files (x86)\Arduino\hardware\teensy\avr\boards.txt.
The boards.txt look like:
And I rebooted my Arduino IDE, I successfully found the new board type in the "USB Type" tab.
However, when I try to compile a following empty source code:
I encountered an error message "Error resolving FQBN: getting".
Is there anybody who has encountered this error message before?
I just added a new board type and simply selected that a new board type in my Arduino IDE.
The error messages look like:
I was searching many other threads about adding a new board type.
However, I couldn't find any case showing a similar error message to mine after adding a new board type.
Do you have any ideas what the problem is?
I also added an "xyz" board to the "boards.txt" file for other versions (Teensy 2.0, Teensy 3.1, etc.) besides Teensy 3.6.
I am building a multi-purpose USB device project with my Teensy 3.6 board.
I want to make a teensy board that works for a multi-purpose USB including MTP + HID + KeyBoard + ...
So I had to add a new board type, I first simply added an "xyz" board to C:\Program Files (x86)\Arduino\hardware\teensy\avr\boards.txt.
The boards.txt look like:
Code:
...
teensy36.menu.usb.mtp=MTP Disk (Experimental)
teensy36.menu.usb.mtp.build.usbtype=USB_MTPDISK
teensy36.menu.usb.mtp.fake_serial=teensy_gateway
teensy36.menu.usb.xyz=xyz
teensy36.menu.usb.xyz.build.usbtype=xyz
teensy36.menu.usb.xyz.fake_serial=xyz
teensy36.menu.usb.rawhid=Raw HID
teensy36.menu.usb.rawhid.build.usbtype=USB_RAWHID
teensy36.menu.usb.rawhid.fake_serial=teensy_gateway
...
And I rebooted my Arduino IDE, I successfully found the new board type in the "USB Type" tab.
However, when I try to compile a following empty source code:
Code:
void setup() {
}
void loop() {
}
I encountered an error message "Error resolving FQBN: getting".
Is there anybody who has encountered this error message before?
I just added a new board type and simply selected that a new board type in my Arduino IDE.
The error messages look like:
Code:
Arduino:1.8.13 (Windows 10), TD: 1.53, Board:"Teensy 3.6, xyz, 180 MHz, Faster, US English"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\dongbin\Documents\Arduino\libraries -fqbn=teensy:avr:teensy36:usb=xyz,speed=180,opt=o2std,keys=en-us -ide-version=10813 -build-path C:\Users\dongbin\AppData\Local\Temp\arduino_build_33752 -warnings=all -build-cache C:\Users\dongbin\AppData\Local\Temp\arduino_cache_956757 -verbose C:\Program Files (x86)\Arduino\examples\Teensy\USB_RawHID\Basic\Basic.pde
Error resolving FQBN: getting
Error Compiling for Board Teensy 3.6.
I was searching many other threads about adding a new board type.
However, I couldn't find any case showing a similar error message to mine after adding a new board type.
Do you have any ideas what the problem is?
I also added an "xyz" board to the "boards.txt" file for other versions (Teensy 2.0, Teensy 3.1, etc.) besides Teensy 3.6.