diff options
Diffstat (limited to 'hardware/avr')
| -rw-r--r-- | hardware/avr/boards.txt | 37 | ||||
| -rw-r--r-- | hardware/avr/cores/arcore/USBCore.cpp | 4 |
2 files changed, 41 insertions, 0 deletions
diff --git a/hardware/avr/boards.txt b/hardware/avr/boards.txt index 603e737..f57d8dd 100644 --- a/hardware/avr/boards.txt +++ b/hardware/avr/boards.txt @@ -131,3 +131,40 @@ baretouch.build.extra_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DIPAD_C baretouch.variant=arduino:standard ############################################################## + +bhoreal.name=Bhoreal Slim (arcore, iPad compatible) +bhoreal.vid.0=0x2341 +bhoreal.pid.0=0x0036 +bhoreal.vid.1=0x1d50 +bhoreal.pid.1=0x60bd +bhoreal.upload.tool=arduino:avrdude +bhoreal.upload.protocol=avr109 +bhoreal.upload.maximum_size=28672 +bhoreal.upload.maximum_data_size=2560 +bhoreal.upload.speed=57600 +bhoreal.upload.disable_flushing=true +bhoreal.upload.use_1200bps_touch=true +bhoreal.upload.wait_for_upload_port=true + +bhoreal.bootloader.tool=arduino:avrdude +bhoreal.bootloader.low_fuses=0xff +bhoreal.bootloader.high_fuses=0xd8 +bhoreal.bootloader.extended_fuses=0xcb +bhoreal.bootloader.file=caterina/Caterina-Leonardo.hex +bhoreal.bootloader.unlock_bits=0x3F +bhoreal.bootloader.lock_bits=0x2F + +bhoreal.build.mcu=atmega32u4 +bhoreal.build.f_cpu=16000000L +bhoreal.build.vid=0x1d50 +bhoreal.build.pid=0x60bd +bhoreal.build.usb_product="Bhoreal Slim" +bhoreal.build.usb_manufacturer="Bhoreal" +bhoreal.build.board=AVR_BHOREAL +bhoreal.build.core=arcore +bhoreal.build.variant=arduino:leonardo +bhoreal.build.extra_flags= {build.usb_flags} -DIPAD_COMPAT + +bhoreal.variant=arduino:standard + +##############################################################
\ No newline at end of file diff --git a/hardware/avr/cores/arcore/USBCore.cpp b/hardware/avr/cores/arcore/USBCore.cpp index ff0147f..baea03a 100644 --- a/hardware/avr/cores/arcore/USBCore.cpp +++ b/hardware/avr/cores/arcore/USBCore.cpp @@ -61,6 +61,8 @@ const u16 STRING_IPRODUCT[17] = { 'L','i','l','y','P','a','d','U','S','B',' ',' ',' ',' ',' ',' ' #elif USB_PID == 0x8003 'T','o','u','c','h',' ','B','o','a','r','d',' ',' ',' ',' ',' ' +#elif USB_PID == 0x60BD + 'B','h','o','r','e','a','l',' ','S','l','i','m',' ',' ',' ',' ' #else 'U','S','B',' ','I','O',' ','B','o','a','r','d',' ',' ',' ',' ' #endif @@ -74,6 +76,8 @@ const u16 STRING_IMANUFACTURER[16] = { 'S','p','a','r','k','F','u','n',' ',' ',' ', ' ', ' ', ' ', ' ' #elif USB_VID == 0x2A6E 'B','a','r','e',' ','C','o','n','d','u','c', 't', 'i', 'v', 'e' +#elif USB_VID == 0x1D50 + 'O','p','e','n',' ','M','o','c','o',' ',' ', ' ',' ', ' ', ' ' #else 'U','n','k','n','o','w','n',' ',' ',' ',' ', ' ', ' ', ' ', ' ' #endif |
