Comments (19)
That sounds super great! It's hard to be specific without knowledge of particular hardware choices, etc, but I guess on a basic level it kind of goes like the following.
- Install the latest Arduino IDE.
- Figure out which hardware you have (OLED? diversity? Nano-based? etc.)
- Update
settings.h
to match your configuration. - Install libraries that are required for your configuration (
Adafruit_GFX
,TVOut
, etc) - Use an FTDI adapter (or another Arduino) to connect to the FTDI pins on your device.
- Compile and upload the firmware via the Arduino IDE.
I think maybe some walkthroughs for specific hardware would be good.
from rx5808-pro-diversity.
Excuse me, I read the error message now... Basically:
Adjust Adafruit_SSD1306.h file under the SSD1306 Displays
heading to look like the following:
#define SSD1306_128_64
// #define SSD1306_128_32 // this is uncommented by default
// #define SSD1306_96_16
from rx5808-pro-diversity.
If USBasp adapter is being used for flashing under Windows 10 libUSBk driver should be selected for proper firmware uploading (Sketch - Upload using programmer)
from rx5808-pro-diversity.
Thanks for the tips! Running through the steps now, and have run into a stumbling block. Perhaps just a newbie error?
OS: MacOS Sierra (10.12.2)
Arduino IDE 1.8.0
Installed libraries
- Adafruit SSD1305 by Adafruit (used 1.1.2)
- Adafruit GFX Library by Adafruit (used 1.1.5)
- TVOut by [email protected] (used 1.0.5)
Is this perhaps something I have neglected to configure in settings.h ?
Error:
Arduino: 1.8.0 (Mac OS X), Board: "Arduino Nano, ATmega328"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/dan/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10800 -build-path /var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/dan/dev/github/sheaivey/rx5808-pro-diversity/src/rx5808-pro-diversity/rx5808-pro-diversity.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/dan/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10800 -build-path /var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/dan/dev/github/sheaivey/rx5808-pro-diversity/src/rx5808-pro-diversity/rx5808-pro-diversity.ino
Using board 'nano' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Build options changed, rebuilding all
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/TVOut_screens.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/oled_128x64_adafruit_screens.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306/Adafruit_SSD1306.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src/SPI.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library/glcdfont.c" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/utility/twi.c" -o "/dev/null"
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/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=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/rx5808-pro-diversity.ino.cpp" -o "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/TVOut_screens.cpp" -o "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/TVOut_screens.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/oled_128x64_adafruit_screens.cpp" -o "/var/folders/h0/39cpp_bd0vq42dw980yb47_80000gp/T/arduino_build_965409/sketch/oled_128x64_adafruit_screens.cpp.o"
oled_128x64_adafruit_screens.cpp:56: error: #error ("Screen size incorrect, please fix Adafruit_SSD1306.h!");
#error("Screen size incorrect, please fix Adafruit_SSD1306.h!");
^
Using library EEPROM at version 2.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM
Using library Adafruit_SSD1306 at version 1.1.2 in folder: /Users/dan/Documents/Arduino/libraries/Adafruit_SSD1306
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
Using library Adafruit_GFX_Library at version 1.1.5 in folder: /Users/dan/Documents/Arduino/libraries/Adafruit_GFX_Library
Using library Wire at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire
exit status 1
#error ("Screen size incorrect, please fix Adafruit_SSD1306.h!");
from rx5808-pro-diversity.
Glad you got it sorted! I really dislike this design choice on Adafruit's part. Needing to edit library code is super nasty, though I guess it's the easiest for speed.
from rx5808-pro-diversity.
I was able to build this update for upload but I accidentally loaded the bootloader version and I cannot update in any way now. It is using the loaded version but when I try to upload again it states that "stk500 get sync fails" Can someone provide a recommended solution?
from rx5808-pro-diversity.
@TimothyGold: Ouch, that sucks. I ran into the same issue with a friends' module who did the same.
I fixed it using the ISP header and ArduinoISP. The ArduinoISP might help you out (where the target is your receiver, rather than another Arduino). You want to burn the Arduino bootloader, and then try flash again through XLoader/FTDI headers with the non-bootloader version.
What type of receiver do you have?
from rx5808-pro-diversity.
I have a Realacc - rx5808-pro-diversity. Its been a while but I have a USB ASP and i think I can flash on ISP. Once I flash the non bootloader version will I be able to use XLoader to flash updates via the FTDI interface? Or does this require a bootloader to flash via the serial interface?
from rx5808-pro-diversity.
If you undo the screws and disconnect the top PCB with the screen, there are ISP headers underneath.
Use your USB ASP and the ISP header to burn the Arduino bootloader. Once you've flashed the bootloader, use the FTDI pins to flash the non-bootloader version. You can continue to use the FTDI header for updates afterwards.
I guess you could also just flash the bootloader version using your USB ASP directly, since then it's got both the bootloader and the actual firmware (then the FTDI will still work afterwards). I decided to just flash the bootloader separate.
Just, for whatever reason, trying to flash the version with the bootloader over FTDI causes weird problems.
Hope that makes sense!
from rx5808-pro-diversity.
This makes sense. Thank you for your help.
from rx5808-pro-diversity.
One more question. What Arduino Bootloader works best. I see some people have tried UNO and others something else. Any recommendations? Thanks again.
from rx5808-pro-diversity.
Not sure on that, I used whatever it gives you with the Nano device type.
from rx5808-pro-diversity.
OK. That's what I will use.
from rx5808-pro-diversity.
I have the same issue. On both a Realacc rx 5808 split (12/2016) and a non split version (05/2017). This is where I am so far:
FTDI:
-I can't flash hex files with Xloader, it says: Upload failed
-I can compile, write, but fail to verify with arduino
USBasp:
-I can compile and flash on ISP ports
-I can burn the bootloader (not sure if I should use nano or mega 328p, I tried both)
After burning the bootloader, I have no change with FTDI, still not possible to flash. I can only flash with xloader or arduino if I flash the same firmware witch is already on it.
So it's look like I can't manage to repair the bootloader correctly, but at least i can still flash threw USBasp. But only if I have an .ino. Is there a way to flash a .hex with USBasp ?
THX for the good work.
from rx5808-pro-diversity.
I was able to burn the Nano bootloader via USBasp and the ISP headers. You can flash the .hex via the USBasp via the ISP headers. I can now upload via FTDI fine without issue once the bootloader was repaired. Not sure what you are facing at this point.
from rx5808-pro-diversity.
Thank for confirming that I should be succesful. I will try further.
Can you tell me how are you flashing hex file with USBasp ?
from rx5808-pro-diversity.
Its been a while but I think you can pick the USBasp as the programmer in the Arduino IDE and then program like you normally would via the ISP header. You will have to do all programming via ISP header.
from rx5808-pro-diversity.
Ok It was a driver issue, now the bootloader is working again, an i can flash witfh ftdi again
thx
from rx5808-pro-diversity.
I just want to add that I finally got the hex flashing with USBASP working on MacOS 10.12 Sierra with the following command if Arduino IDE (1.8.4) is installed:
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cusbasp -Uflash:w:Downloads/rx5808-pro-diversity-v2.0-with-bootloader.hex
You have to omit the -D parameter (Disable auto erase for flash memory), otherwise you get verification errors.
from rx5808-pro-diversity.
Related Issues (20)
- can't compile buttons
- SPI OLED Screen? HOT 3
- Button is not a class or namespace HOT 4
- help wanted: how can it be changed to communicate with another module in quadversity? HOT 15
- Open pilot branded rx5808 pro diversity HOT 11
- Serial out without diversity
- video sync loss HOT 1
- Hello HOT 4
- Quadversity code HOT 2
- Start-up problems ... I have no signal on the screen HOT 11
- I have errors compiling and saving the quadversity code in arduino HOT 13
- Help Identifying a module - Based on this project? HOT 2
- Running the code on arduino pro mini 328p HOT 2
- Buzzer
- Is this still being worked on? HOT 2
- TV Out
- compiling error in state.cpp HOT 1
- Mode Selection without diversity
- splash.h: No such file or directory
- SPI Wiring? Label doesn't match Arduino pin callouts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rx5808-pro-diversity.