Giter Site home page Giter Site logo

arduboy-homemade-package's Introduction

Arduboy homemade package

Arduino IDE board package for Arduboy and homemade versions with the following advantages:

  • Single install
  • Includes all Arduboy libraries with support for alternate displays and wiring
  • Includes Arduboy optimized Arduino core with extra features and space savings
  • Cathy3K bootloader support

To install the package:

  • Start Arduino IDE and press CTRL + comma to select properties.
  • Copy and paste the URL below in Additional Boards Manager URLs: text box and click on OK
https://raw.githubusercontent.com/MrBlinky/Arduboy-homemade-package/master/package_arduboy_homemade_index.json

preferences After this:

  • Go to Tools > Boards > Board manager
  • In the text box type homemade or Arduboy homemade
  • Click on the Arduboy Homemade package and click the Install button.

You can now select Arduboy, Arduboy DevKit and Homemade Arduboy boards from the Tools menu.

menu

Libraries

This package contains all the currently available Arduboy libraries with changes for homemade Arduboys.
⚠️⚠️⚠️No libraries must be installed manually or through the library manager⚠️⚠️⚠️
If they are, they take precedence over the homemade package libraries so they must be uninstalled.

Pin wiring table

Arduboy function Arduboy
Leonardo/Micro
DevelopmentKit ProMicro 5V
(standard wiring)
ProMicro 5V
(alternate wiring)
OLED CS 12 PORTD6 6 PORTD7 GND/(inverted CART_CS)**** 1/TXO PORTD3*
OLED DC 4 PORTD4 4 PORTD4 4 PORTD4 4 PORTD4
OLED RST 6 PORTD7 12 PORTD6 6 PORTD7 2 PORTD1*
SPI SCK 15 PORTB1 15 PORTB1 15 PORTB 1 15 PORTB1
SPI MOSI 16 PORTB2 16 PORTB2 16 PORTB2 16 PORTB2
RGB LED RED 10 PORTB6 _ 10 PORTB6 10 PORTB6
RGB LED GREEN 11 PORTB7 _ - 3 PORTD0*
RGB LED BLUE 9 PORTB5 17 PORTB0 9 PORTB5 9 PORTB5
RxLED 17 PORTB0 _ 17 PORTB0 17 PORTB0
TxLED 30 PORTD5 _ 30 PORTD5 30 PORTD5
BUTTON UP A0 PORTF7 8 PORTB4 A0 PORTF7 A0 PORTF7
BUTTON RIGHT A1 PORTF6 5 PORTC6 A1 PORTF6 A1 PORTF6
BUTTON LEFT A2 PORTF5 9 PORTB5 A2 PORTF5 A2 PORTF5
BUTTON DOWN A3 PORTF4 10 PORTB6 A3 PORTF4 A3 PORTF4
BUTTON A (left) 7 PORTE6 A0 PORTF7 7 PORTE6 7 PORTE6
BUTTON B (right) 8 PORTB4 A1 PORTF6 8 PORTB4 8 PORTB4
SPEAKER PIN 1 5 PORTC6 A2 PORTF5 5 PORTC6 5 PORTC6
SPEAKER PIN 2 13 PORTC7 A3 PORTF4** GND 6 PORTD7*
----------------- ---------------------- ----------- ---------------------------------- ---------------------------------
CART_CS (org) 0 PORTD2*** - 0 PORTD2*** 0 PORTD2***
CART_CS (new) 2 PORTD1*** - 2 PORTD1*** -
SPI MISO 14 PORTB3*** - - 14 PORTB3***
----------------- ---------------------- ----------- ---------------------------------- ---------------------------------
OLED SDA 4 PORTD4***** - 4 PORTD4***** 4 PORTD4*****
OLED SCL 6 PORTD7***** - 6 PORTD7***** 1/TXO PORTD3*****

Numbers before the portnames are Arduino assigned pin numbers.

(*) Pro Micro alternate wiring pins:

  • PORTD3 OLED CS
  • PORTD1 OLED RST
  • PORTD7 SPEAKER 2
  • PORTD0 RGB LED GREEN

(**) speaker pin 2 output is connected to speaker pin 1 on DevKit hardware. To prevent the IO pins from possible damage, speaker pin 2 should NOT be configured as an output.

(***) Flash cart support (original design) :

  • 0 PORTD2 flash cart chip select
  • 14 PORTB3 flash cart data in (MISO)

or

Flash cart support (new design used by Arduboy FX) :

  • 2 PORTD1/SDA flash cart chip select
  • 14 PORTB3 flash cart data in (MISO)

(****) When using serial flash with the Pro Micro standard wiring, OLED_CS (chip select) cannot be grounded (always active). In this case a simple circuit with a general purpose PNP transistor and two resistors or a single inverter chip like the 74LVC1G04 can be used to deactive OLED_CS while CART_CS is active.

schematic

(*****) support for I2C displays has been added. When using an I2C display the SDA pin should be connected to pin 4 PORTD4 and the SCL pin to pin 6 PORTD7 unless you're using a Pro Micro with the alternate wiring scherme. In that case SCL pin should be connected to pin 1/TXO PORTD3.

Note that updating a I2C display is slower than a SPI display. To get the most out of an I2C display, the display update code is optimized using assembly and bitbangs the display at 2 Mbps or 2,66 Mbps (uses more progmem).

At 2 Mbps the display update will be 4.3 times slower than when a SPI display is used and 3.1 times slower at 2.66 Mbps. Games will still run smootly at 60 FPS when the main program requires less than %70 (2Mbps) or 78% (2.66Mbps) of MCU power.

expansion connector

An expansion connector can be added to a modified or Homemade Arduboy in the form of a 12 pin male header with 0.1"pitch. which can be used for:

  • ICSP header for easy in circuit programming (updating bootloader)
  • flash cart slot
  • SD card adapter
  • infrared communications
  • multiplayer link
  • sensors

Expansion connector pinout (original design)

( (Homemade) Arduboy facing top - looking at the male pinheader)

12 11 10 9 8 7 6 5 4 3 2 1
TX RX SCL SDA A5 KEY MISO MOSI CLK RST GND Vcc

Expansion connector pinout (new design)

12 11 10 9 8 7 6 5 4 3 2 1
TX SDA SCL RX A5 KEY MISO MOSI CLK RST GND Vcc

(RX and SDA pins are swapped)

TX*  - Serial Transmitter output
RX   - Serial Receiver input / original Flash cart chip select
SCL* - I2C/TWI serial clock I/O
SDA* - I2C/TWI serial data I/O / new Flash cart chip select (Arduboy FX)
A5   - Analog input pin (Note not broken out on Pro Micro boards)
KEY  - Key pin. should be filled to block pin insertion (reverse insert protection)
MISO - SPI/ICSP Master Input, Slave Output
MOSI - SPI/ICSP Master Output, Slave Input
CLK  - SPI/ICSP clock
RST  - MCU/ICSP reset
GND  - Ground (0V)
Vcc  - 5V (~3.0V to ~4.1V on Arduboy)
(*) Not available when using Pro Micro with Alternate Wiring

Note on the original flash cart design RX is used as flash chip select. In the new design (as used by Arduboy FX) SDA is used as flash chip select and Rx and Tx are available for serial comms.

arduboy-homemade-package's People

Contributors

mrblinky avatar poevoid avatar tiberiusbrown avatar veritazz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduboy-homemade-package's Issues

RGB LED strange behavior

Hi there, I tested out the RGB LED example on a homemade arduboy (alternate wiring), and the example turns on/off the LEDs properly for the "digital mode", but not for "analog mode". I tested this with an official arduboy and got the same result, so I believe the issue is with this package. I also tested with the official arduboy2 library's example on the official arduboy hardware and the example worked perfectly.

Question: Flash CS pin

This is more of a question than a request for any change. I'm trying to understand the use of the flash CS pin.

  • Is the Cathy3K/Caterina bootloader the only thing that uses the flash CS pin? Is it possible to use this as a GPIO within games if not using a flash chip?

  • Is my understanding correct that to select a bootloader from the menu means you have that bootloader flashed to the Arduino chip already? Are these options irrelevant if you've got the standard Arduino bootloader installed? Where/how is this menu option used?

  • How does the bootloader know which flash CS pin to use? I see that there are two options for which pin to use, based on wiring. Is each bootloader compatible with each pin? Or is it such that Cathy3K uses the newer pin configuration (i.e. SDA as CS pin) while the other Caterina bootloader option uses the older pin configuration (D2 for CS)? I can see now that the bootloader names contain the CS pin name (e.g. arduboy3k-bootloader-menu-promicro-sda.hex), so I have my answer on this one: each bootloader variant is compiled for a given flash CS pin.

Thanks for the clarification!

Any way to adapt this for DSTIKE Bad Watch

Hello. I was lucky enough to be the buyer of the already sold out device "DSTIKE Bad Watch" and use it for various arduino projects that show what this clock is capable of. Is there any way to fix your package's pinout for Arduboy to work properly on them? I have tried all the suggested options that matched the most, namely the Arduino Leonardo board and the OLED SH1106(IIC) screen, but this is not enough. The sketch is uploaded to the board, but all I see after it is a spontaneously turning on flashlight, a black screen, randomly flashing or shimmering from one color to another rgb lamp. Last time, I successfully packaged button remapping with a toggle, picked different libraries for my screen, changed the font, and picked them up to display non-standard characters. I managed to do all this together with Serial, debugging work in those parts of the program where the system of algorithms was not clear to me. Now I just can’t run the standard Arduboy Hello World example and figure out what exactly I need to change in your Arduboy.h file, in order to change the corresponding definition of the screen pinout, buttons, buzzer, rgb lamp and, possibly, what - some other variables that remain beyond my understanding of the work of libraries in general. I really hope that this editing of the library will be sufficient in my case, so as not to make any additional soldering or wire connections on the board, leaving the device itself to work out of the box. I would appreciate any advice to help me figure this out.

BadWatch github
BadWatch info from store

[Feature Request] Assert display CS in software only when in use

IIRC, the Arduboy2 library asserts the display CS on bootup, and also, this package has some wirings just ground it in hardware. If the arduboy library instead only asserted CS during a frame render (and other display operations like invert, flip, etc), it could make SPI more easily available to other devices for extensibility (without the need for an extra circuit). I've done this before (though I don't have the code any longer), and it worked out nicely, since there is no DMA or other SPI-related async work happening during display operations on the 32u4.

Note: this change would also probably be good to PR upstream to the Arduboy2 library.

[Feature Request] Non-LED option

It would be nice to have a menu option for wiring that does not include the RGB LED (the library could NO-OP the API for it). It would be nice to have these available for other purposes (i.e. for use in the extension header). Thanks and great work!

Linker error

From time to time I come back to Arduboy to compile a new Arduboy game for my grandson who is visiting us - now with Arduino1.8.7. I have a self made Arduboy with 1.3 SH1106 OLED .

When compiling some new games, here for example tower defense, I got an error using the Arduboy optimized core. With standard core compilation and linking works but it gives less memory.

Here is the log. Possibly you can find out what has changed that it goes wrong now. Thank you in advance.

Arduino: 1.8.7 (Windows 10), Board: "Homemade Arduboy, SparkFun Pro Micro 5V - Alternate wiring, Cathy3K, Arduboy optimized core, SH1106"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\sg\AppData\Local\Arduino15\packages -hardware C:\Users\sg\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\sg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\sg\Documents\Arduino\libraries -fqbn=arduboy-homemade:avr:arduboy-homemade:based_on=promicro_alt,boot=cathy3k,core=arduboy-core,display=sh1106 -ide-version=10807 -build-path C:\Users\sg\AppData\Local\Temp\arduino_build_827983 -warnings=none -build-cache C:\Users\sg\AppData\Local\Temp\arduino_cache_295247 -prefs=build.warn_data_percentage=75 -verbose C:\Users\sg\Documents\Arduino\Arduboy\microtd\microtd.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\sg\AppData\Local\Arduino15\packages -hardware C:\Users\sg\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\sg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\sg\Documents\Arduino\libraries -fqbn=arduboy-homemade:avr:arduboy-homemade:based_on=promicro_alt,boot=cathy3k,core=arduboy-core,display=sh1106 -ide-version=10807 -build-path C:\Users\sg\AppData\Local\Temp\arduino_build_827983 -warnings=none -build-cache C:\Users\sg\AppData\Local\Temp\arduino_cache_295247 -prefs=build.warn_data_percentage=75 -verbose C:\Users\sg\Documents\Arduino\Arduboy\microtd\microtd.ino
Using board 'arduboy-homemade' from platform in folder: C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5
Using core 'arduboy' from platform in folder: C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5
Detecting libraries used...
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\Arduboy2.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\Arduboy2Audio.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\Arduboy2Beep.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\Arduboy2Core.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\Sprites.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\SpritesB.cpp" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\ab_logo.c" -o nul
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\glcdfont.c" -o nul
Generating function prototypes...
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp" -o "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\preproc\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp" -o "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\sketch\microtd.ino.cpp.o"
Compiling libraries...
Compiling library "Arduboy2"
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\ab_logo.c" -o "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\libraries\Arduboy2\ab_logo.c.o"
"C:\Users\sg\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_PROMICRO -DAB_ALTERNATE_WIRING -DARDUINO_ARCH_AVR -DARDUBOY_10 -DOLED_SH1106 -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="ABA1106"" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\cores\arduboy" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\variants\arduboy-promicro-alt" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src" "-IC:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM\src" "C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2\src\glcdfont.c" -o "C:\Users\sg\AppData\Local\Temp\arduino_build_827983\libraries\Arduboy2\glcdfont.c.o"
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.

cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.

Bibliothek Arduboy2 in Version 5.1.0 im Ordner: C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\Arduboy2 wird verwendet
Bibliothek EEPROM in Version 2.0 im Ordner: C:\Users\sg\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.2.5\libraries\EEPROM wird verwendet
exit status 1
Fehler beim Kompilieren für das Board Homemade Arduboy.

Using the 1106 screen making machine, the game package is burned, but it displays garbled code

Hello, I have a question about arduboy screen driver? I used the 1106 screen. During the burning guide, I specially selected the 1106 display, and the burning was successful; But after I burned the game package for the game console, my game was messy, and the boot menu was normal; What can I do to solve it? I learned from other friends that I can only use 1306 screen, because the game hex file has compiled 1306.

Bring out A5 on expansion connector

Suggestion:
Pin 8 on the expansion connector is currently assigned as:
Not connected (reserved for future use)

I suggest specifying it as Arduino Pin A5. This pin is not used on the Arduboy but is brought out as a pad on the back of the circuit board.

Having an analogue input would allow potentiometer based paddles or other variable voltage devices to be more easily interfaced. Having only one analogue input might be a bit limiting but it could be expanded using an analogue multiplexor IC, controlled by I²C, SPI or digital.

Of course, A5 could also be used for general purpose digital I/O or as another CS for SPI.

[Question] What options do I select for a common Pro Micro?

In your table on the readme, you mention "Pro Micro", but in the IDE menu, it says SparkFun Pro Micro. Is there a difference? Common Pro Micros from ebay, etc contain a Leonardo bootloader, but SparkFun's is their own, I believe.

Side question: With the Pro Micro standard wiring, I've also gotten this to work with the standard Arduboy libraries. I'm trying to figure out if I should use your package or the standard libraries (you said you cannot have both installed [do you have docs that mention the order of precedence? I thought package libraries would already take precedence]). Does your package do anything special with the speaker and LED wires that I wouldn't get with the standard libraries? (I'm using a SSD1306/1309 screen, so I'm as close to the original Arduboy as I can get).

Problem with Arduino IDE v1.8.13 (Windows 10)

Hi,
I am using the Windows ZIP Versions of the Arduino IDE and tried the actual v1.8.13
using the configuration from the previous (working) Versions 1.8.12 and 1.8.10.
If I start v1.8.13 with an previously used "normal" AVR Board and choose now one of the Arduboy Boards
I get some Java exeptions shown and the IDE 1.8.13 is no longer able to start if stopped.
v1.8.12 is still working.

I use Package Version 1.2.7.

Is the problem related to the Arduino IDE 1.8.13, to my Windows or to the Arduboy-homemade-package?

Thanks for your Package, the Bootloader and all the other cool Arduboy stuff.

Cheers
venice1200

Arduboy-homemade-package_Arduino_IDE_1.8.13_exeptions.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.