Error compiling Arduino code for "Simple Hello World" lesson

Discussion in 'Arduino IDE' started by george.profenza, Mar 27, 2014.

  1. george.profenza

    george.profenza New Member

    Joined:
    Mar 27, 2014
    Messages:
    2
    Likes Received:
    0
    Hi,

    I'm trying to setup similar to the tutorial video: Windows 8 with Arduino and ADK library.
    Following the links posted, I did download the ADK 2012 IDE(adk2012_ide-win32-20120629),
    and used the repo tool to get access to the ADK/board folders and pasted the ADK2 library from
    the board folder into Documents/Arduino/libraries, but I can't seem to use it:

    With the Google ADK 2012 IDE I can compile one of the library samples, although I get warnings:
    Code:
    
    c:/users/hm/downloads/adk2012_ide-win32-20120629/adk2012_ide/hardware/tools/g++_arm_none_eabi/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
    c:/users/hm/downloads/adk2012_ide-win32-20120629/adk2012_ide/hardware/tools/g++_arm_none_eabi/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
    c:/users/hm/downloads/adk2012_ide-win32-20120629/adk2012_ide/hardware/tools/g++_arm_none_eabi/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
    Binary sketch size: 86,268 bytes (of a 524,288 byte maximum)
    
    
    Also, I only see one board definition in the IDE: for the Google ADK 2

    Compiling the UDOOArduinoADKDemo sketch gets me these errors:

    Code:
    UDOOArduinoADKDemo:16: error: 'USBHost' does not name a type
    UDOOArduinoADKDemo:17: error: 'Usb' was not declared in this scope
    UDOOArduinoADKDemo.cpp: In function 'void loop()':
    UDOOArduinoADKDemo:36: error: 'Usb' was not declared in this scope
    UDOOArduinoADKDemo:38: error: 'class ADK' has no member named 'isReady'
    UDOOArduinoADKDemo:39: error: 'class ADK' has no member named 'read'
    
    I've manually modified the ADK2012's boards.txt to add one for an Arduino Nano to test(by copying the definition from the Arduino 1.0.5 IDE), but I get these errors:

    Code:
    
    clock:-1: error: bad value (atmega328p) for -mcpu= switch
    arm-none-eabi-g++: {build.extra_flags}: No such file or directory
    
    
    I've also tried using the ADK2 library with the Arduino 1.0.5 but it looks like a bad idea:

    Code:
    
    
    In file included from C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_drv.h:56,
                     from C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:19:
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Status_bool_t'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Status_t'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:248: error: expected specifier-qualifier-list before 'S16'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:257: error: expected specifier-qualifier-list before 'S32'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:268: error: expected specifier-qualifier-list before 'S64'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:281: error: expected specifier-qualifier-list before 'S64'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:294: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:307: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:320: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:333: error: expected specifier-qualifier-list before 'S64'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:346: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:359: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:372: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/compiler.h:1221: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Byte'
    In file included from C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:19:
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_drv.h:60:18: error: chip.h: No such file or directory
    In file included from C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:19:
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_drv.h:1592: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_set_p_txpacket'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_drv.h:1593: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_write_p_txpacket'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_drv.h:1594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_read_p_rxpacket'
    In file included from C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:20:
    C:\Users\HM\Documents\Arduino\libraries\ADK2\utility/usb_ids.h:282: error: expected specifier-qualifier-list before 'U8'
    C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c: In function 'accessory_init':
    C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:180: error: 'ID_SMC' undeclared (first use in this function)
    C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:180: error: (Each undeclared identifier is reported only once
    C:\Users\HM\Documents\Arduino\libraries\ADK2\accessory.c:180: error: for each function it appears in.)
    
    
    Update
    Here is the tree structure of the repo synced using the ADK instructions:
    Code:
    
    +---.repo
    |   +---manifests
    |   |   \---.git
    |   +---manifests.git
    |   |   +---hooks
    |   |   +---info
    |   |   +---logs
    |   |   |   \---refs
    |   |   |       \---remotes
    |   |   |           +---m
    |   |   |           \---origin
    |   |   +---objects
    |   |   |   +---8b
    |   |   |   +---9a
    |   |   |   +---d6
    |   |   |   +---info
    |   |   |   \---pack
    |   |   +---refs
    |   |   |   +---heads
    |   |   |   +---remotes
    |   |   |   |   \---m
    |   |   |   \---tags
    |   |   +---rr-cache
    |   |   \---svn
    |   +---project-objects
    |   |   +---device
    |   |   |   \---google
    |   |   |       \---accessory
    |   |   |           +---adk2012.git
    |   |   |           |   +---hooks
    |   |   |           |   +---info
    |   |   |           |   +---objects
    |   |   |           |   |   +---info
    |   |   |           |   |   \---pack
    |   |   |           |   +---refs
    |   |   |           |   |   +---heads
    |   |   |           |   |   \---tags
    |   |   |           |   +---rr-cache
    |   |   |           |   \---svn
    |   |   |           +---adk2012_demo.git
    |   |   |           |   +---hooks
    |   |   |           |   +---info
    |   |   |           |   +---objects
    |   |   |           |   |   +---info
    |   |   |           |   |   \---pack
    |   |   |           |   +---refs
    |   |   |           |   |   +---heads
    |   |   |           |   |   \---tags
    |   |   |           |   +---rr-cache
    |   |   |           |   \---svn
    |   |   |           +---arduino.git
    |   |   |           |   +---hooks
    |   |   |           |   +---info
    |   |   |           |   +---objects
    |   |   |           |   |   +---04
    |   |   |           |   |   +---22
    |   |   |           |   |   +---30
    |   |   |           |   |   +---45
    |   |   |           |   |   +---59
    |   |   |           |   |   +---6a
    |   |   |           |   |   +---d1
    |   |   |           |   |   +---d4
    |   |   |           |   |   +---dd
    |   |   |           |   |   +---e2
    |   |   |           |   |   +---info
    |   |   |           |   |   \---pack
    |   |   |           |   +---refs
    |   |   |           |   |   +---heads
    |   |   |           |   |   \---tags
    |   |   |           |   +---rr-cache
    |   |   |           |   \---svn
    |   |   |           \---demokit.git
    |   |   |               +---hooks
    |   |   |               +---info
    |   |   |               +---objects
    |   |   |               |   +---03
    |   |   |               |   +---3c
    |   |   |               |   +---49
    |   |   |               |   +---96
    |   |   |               |   +---9b
    |   |   |               |   +---a1
    |   |   |               |   +---bd
    |   |   |               |   +---d7
    |   |   |               |   +---e5
    |   |   |               |   +---ed
    |   |   |               |   +---f4
    |   |   |               |   +---info
    |   |   |               |   \---pack
    |   |   |               +---refs
    |   |   |               |   +---heads
    |   |   |               |   \---tags
    |   |   |               +---rr-cache
    |   |   |               \---svn
    |   |   \---platform
    |   |       \---external
    |   |           +---arduino-ide.git
    |   |           |   +---hooks
    |   |           |   +---info
    |   |           |   +---objects
    |   |           |   |   +---info
    |   |           |   |   \---pack
    |   |           |   +---refs
    |   |           |   |   +---heads
    |   |           |   |   \---tags
    |   |           |   +---rr-cache
    |   |           |   \---svn
    |   |           \---codesourcery.git
    |   |               +---hooks
    |   |               +---info
    |   |               +---objects
    |   |               |   +---info
    |   |               |   \---pack
    |   |               +---refs
    |   |               |   +---heads
    |   |               |   \---tags
    |   |               +---rr-cache
    |   |               \---svn
    |   +---projects
    |   |   +---adk1
    |   |   |   +---app.git
    |   |   |   |   +---logs
    |   |   |   |   |   \---refs
    |   |   |   |   |       \---remotes
    |   |   |   |   |           +---aosp
    |   |   |   |   |           \---m
    |   |   |   |   \---refs
    |   |   |   |       +---heads
    |   |   |   |       +---remotes
    |   |   |   |       |   +---aosp
    |   |   |   |       |   \---m
    |   |   |   |       \---tags
    |   |   |   \---board.git
    |   |   |       +---logs
    |   |   |       |   \---refs
    |   |   |       |       \---remotes
    |   |   |       |           +---aosp
    |   |   |       |           \---m
    |   |   |       \---refs
    |   |   |           +---heads
    |   |   |           +---remotes
    |   |   |           |   +---aosp
    |   |   |           |   \---m
    |   |   |           \---tags
    |   |   +---adk2012
    |   |   |   +---app.git
    |   |   |   |   +---logs
    |   |   |   |   |   \---refs
    |   |   |   |   |       \---remotes
    |   |   |   |   |           +---aosp
    |   |   |   |   |           \---m
    |   |   |   |   \---refs
    |   |   |   |       +---heads
    |   |   |   |       +---remotes
    |   |   |   |       |   +---aosp
    |   |   |   |       |   \---m
    |   |   |   |       \---tags
    |   |   |   \---board.git
    |   |   |       +---logs
    |   |   |       |   \---refs
    |   |   |       |       \---remotes
    |   |   |       |           +---aosp
    |   |   |       |           \---m
    |   |   |       \---refs
    |   |   |           +---heads
    |   |   |           +---remotes
    |   |   |           |   +---aosp
    |   |   |           |   \---m
    |   |   |           \---tags
    |   |   \---external
    |   |       +---ide.git
    |   |       |   +---logs
    |   |       |   |   \---refs
    |   |       |   |       \---remotes
    |   |       |   |           +---aosp
    |   |       |   |           \---m
    |   |       |   \---refs
    |   |       |       +---heads
    |   |       |       +---remotes
    |   |       |       |   +---aosp
    |   |       |       |   \---m
    |   |       |       \---tags
    |   |       \---toolchain.git
    |   |           +---logs
    |   |           |   \---refs
    |   |           |       \---remotes
    |   |           |           +---aosp
    |   |           |           \---m
    |   |           \---refs
    |   |               +---heads
    |   |               +---remotes
    |   |               |   +---aosp
    |   |               |   \---m
    |   |               \---tags
    |   \---repo
    |       +---.git
    |       |   +---hooks
    |       |   +---info
    |       |   +---logs
    |       |   |   \---refs
    |       |   |       +---heads
    |       |   |       \---remotes
    |       |   |           \---origin
    |       |   +---objects
    |       |   |   +---info
    |       |   |   \---pack
    |       |   \---refs
    |       |       +---heads
    |       |       +---remotes
    |       |       |   \---origin
    |       |       \---tags
    |       +---docs
    |       +---hooks
    |       +---subcmds
    |       \---tests
    |           \---fixtures
    +---adk1
    |   +---app
    |   |   +---.git
    |   |   +---app
    |   |   |   +---res
    |   |   |   |   +---drawable-hdpi
    |   |   |   |   +---drawable-mdpi
    |   |   |   |   +---drawable-nodpi
    |   |   |   |   +---drawable-xlarge-nodpi
    |   |   |   |   +---layout
    |   |   |   |   +---layout-xlarge-land
    |   |   |   |   +---values
    |   |   |   |   \---xml
    |   |   |   \---src
    |   |   |       \---com
    |   |   |           \---google
    |   |   |               \---android
    |   |   |                   \---DemoKit
    |   |   +---firmware
    |   |   |   \---demokit
    |   |   \---hardware
    |   |       +---eng
    |   |       |   +---m256c
    |   |       |   \---shield
    |   |       \---fab
    |   |           +---m256c
    |   |           \---shield
    |   \---board
    |       +---.git
    |       +---AndroidAccessory
    |       \---USB_Host_Shield
    +---adk2012
    |   +---app
    |   |   +---.git
    |   |   +---res
    |   |   |   +---drawable
    |   |   |   +---drawable-hdpi
    |   |   |   +---drawable-ldpi
    |   |   |   +---drawable-mdpi
    |   |   |   +---drawable-xhdpi
    |   |   |   +---layout
    |   |   |   +---menu
    |   |   |   +---values
    |   |   |   \---xml
    |   |   \---src
    |   |       \---com
    |   |           \---google
    |   |               \---android
    |   |                   \---apps
    |   |                       \---adk2
    |   |                           +---activity
    |   |                           +---views
    |   |                           \---widget
    |   \---board
    |       +---.git
    |       +---hardware
    |       +---library
    |       |   \---ADK2
    |       |       +---examples
    |       |       |   +---BluetoothScan
    |       |       |   +---clock
    |       |       |   \---usbaccessory
    |       |       \---utility
    |       +---MakefileBasedBuild
    |       |   +---app
    |       |   \---Atmel
    |       |       \---sam3x
    |       |           \---sam3x-ek
    |       |               +---build
    |       |               |   \---gcc
    |       |               \---libraries
    |       |                   +---build
    |       |                   |   \---gcc
    |       |                   +---libboard_sam3x-ek
    |       |                   |   +---board
    |       |                   |   +---build
    |       |                   |   |   \---gcc
    |       |                   |   +---include
    |       |                   |   +---resources
    |       |                   |   |   \---gcc
    |       |                   |   |       +---sam3x2
    |       |                   |   |       +---sam3x4
    |       |                   |   |       \---sam3x8
    |       |                   |   \---source
    |       |                   +---libchip_sam3x
    |       |                   |   +---build
    |       |                   |   |   \---gcc
    |       |                   |   +---cmsis
    |       |                   |   +---include
    |       |                   |   \---source
    |       |                   +---libfatfs
    |       |                   |   +---build
    |       |                   |   |   \---gcc
    |       |                   |   \---fatfs
    |       |                   |       +---doc
    |       |                   |       |   +---en
    |       |                   |       |   +---img
    |       |                   |       |   \---ja
    |       |                   |       \---src
    |       |                   |           \---option
    |       |                   +---liblwip
    |       |                   |   +---build
    |       |                   |   |   \---gcc
    |       |                   |   \---sam3-specific
    |       |                   |       \---arch
    |       |                   +---libqtouch
    |       |                   |   \---include
    |       |                   +---libuip
    |       |                   |   \---sam3-specific
    |       |                   +---memories
    |       |                   |   +---build
    |       |                   |   |   \---gcc
    |       |                   |   +---include
    |       |                   |   +---nandflash
    |       |                   |   +---norflash
    |       |                   |   +---sdmmc
    |       |                   |   \---spi-flash
    |       |                   +---usb_device
    |       |                   |   +---class
    |       |                   |   |   +---audio
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---example
    |       |                   |   |   |       |   \---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       \---module_config
    |       |                   |   |   +---cdc
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---example
    |       |                   |   |   |       |   +---at32uc3a0512_evk1100
    |       |                   |   |   |       |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       |   +---atxmega128b1_xmega_b1_xplained
    |       |                   |   |   |       |   \---atxmega256a3bu_stk600-rc064x
    |       |                   |   |   |       \---module_config
    |       |                   |   |   +---composite
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---example1
    |       |                   |   |   |       |   +---at32uc3a0512_evk1100
    |       |                   |   |   |       |   \---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       +---example2
    |       |                   |   |   |       |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       |   \---driver
    |       |                   |   |   |       \---module_config
    |       |                   |   |   +---dfu
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---atmel
    |       |                   |   |   |       |   +---isp
    |       |                   |   |   |       |   |   +---avr32
    |       |                   |   |   |       |   |   |   +---at32uc3a0_a1
    |       |                   |   |   |       |   |   |   |   \---iar
    |       |                   |   |   |       |   |   |   +---at32uc3c
    |       |                   |   |   |       |   |   |   |   +---iar
    |       |                   |   |   |       |   |   |   |   \---releases
    |       |                   |   |   |       |   |   |   |       +---at32uc3c-isp-1.1.0
    |       |                   |   |   |       |   |   |   |       +---at32uc3c-isp-1.1.1
    |       |                   |   |   |       |   |   |   |       \---at32uc3c-isp-1.1.2
    |       |                   |   |   |       |   |   |   \---at32uc3d
    |       |                   |   |   |       |   |   |       +---iar
    |       |                   |   |   |       |   |   |       \---releases
    |       |                   |   |   |       |   |   |           +---at32uc3d-isp-1.1.0
    |       |                   |   |   |       |   |   |           |   \---flip
    |       |                   |   |   |       |   |   |           +---at32uc3d-isp-1.1.1
    |       |                   |   |   |       |   |   |           \---at32uc3d-isp-1.1.2
    |       |                   |   |   |       |   |   \---xmega
    |       |                   |   |   |       |   |       +---atxmega128a1u
    |       |                   |   |   |       |   |       |   +---iar
    |       |                   |   |   |       |   |       |   \---releases
    |       |                   |   |   |       |   |       |       \---atxmega128a1u-bootloader-usb-dfu-1.0.1
    |       |                   |   |   |       |   |       +---atxmega128b1
    |       |                   |   |   |       |   |       |   +---iar
    |       |                   |   |   |       |   |       |   \---releases
    |       |                   |   |   |       |   |       |       \---atxmega128b1-bootloader-usb-dfu-1.0.1
    |       |                   |   |   |       |   |       +---atxmega256a3bu
    |       |                   |   |   |       |   |       |   \---iar
    |       |                   |   |   |       |   |       \---atxmega64a1u
    |       |                   |   |   |       |   |           \---iar
    |       |                   |   |   |       |   \---module_config
    |       |                   |   |   |       \---standard
    |       |                   |   |   +---hid
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---generic
    |       |                   |   |   |       |   +---example
    |       |                   |   |   |       |   |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       |   |   +---atxmega128b1_xmega_b1_xplained
    |       |                   |   |   |       |   |   \---atxmega256a3bu_stk600-rc064x
    |       |                   |   |   |       |   \---module_config
    |       |                   |   |   |       +---kbd
    |       |                   |   |   |       |   +---example
    |       |                   |   |   |       |   |   +---at32uc3b0256_evk1101
    |       |                   |   |   |       |   |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       |   |   \---atxmega128b1_xmega_b1_xplained
    |       |                   |   |   |       |   \---module_config
    |       |                   |   |   |       \---mouse
    |       |                   |   |   |           +---example
    |       |                   |   |   |           |   +---at32uc3a0512_evk1100
    |       |                   |   |   |           |   +---at32uc3a0512_evk1105
    |       |                   |   |   |           |   +---at32uc3a3256_evk1104
    |       |                   |   |   |           |   +---at32uc3b0256_evk1101
    |       |                   |   |   |           |   +---at32uc3c0512_uc3c_ek
    |       |                   |   |   |           |   +---at32uc3c2512c_uc3_c2_xplained
    |       |                   |   |   |           |   +---atuc128d3_evk1101
    |       |                   |   |   |           |   |   \---gcc
    |       |                   |   |   |           |   +---atuc256l3_stk600_rcuc3l3_l4
    |       |                   |   |   |           |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |           |   +---atxmega128b1_xmega_b1_xplained
    |       |                   |   |   |           |   +---atxmega256a3bu_stk600-rc064x
    |       |                   |   |   |           |   +---mxt768e_stk600-rcmxt768e
    |       |                   |   |   |           |   \---zephyr
    |       |                   |   |   |           |       \---iar
    |       |                   |   |   |           \---module_config
    |       |                   |   |   +---msc
    |       |                   |   |   |   \---device
    |       |                   |   |   |       +---example
    |       |                   |   |   |       |   +---at32uc3a0512_evk1100
    |       |                   |   |   |       |   +---at32uc3a0512_evk1105
    |       |                   |   |   |       |   +---at32uc3a3256_evk1104
    |       |                   |   |   |       |   +---at32uc3b0256_evk1101
    |       |                   |   |   |       |   +---at32uc3c0512_uc3c_ek
    |       |                   |   |   |       |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |   |       |   +---atxmega128a1_stk600-rc100x
    |       |                   |   |   |       |   \---atxmega256a3bu_stk600-rc064x
    |       |                   |   |   |       \---module_config
    |       |                   |   |   \---phdc
    |       |                   |   |       +---device
    |       |                   |   |       |   +---example
    |       |                   |   |       |   |   +---atxmega128a1u_xplain_a1_mkii
    |       |                   |   |       |   |   \---atxmega256a3bu_stk600-rc064x
    |       |                   |   |       |   \---module_config
    |       |                   |   |       \---ieee11073-personal_health_devices
    |       |                   |   +---drivers
    |       |                   |   |   +---usbb
    |       |                   |   |   \---usbc
    |       |                   |   +---memory
    |       |                   |   |   +---media_mem
    |       |                   |   |   +---nandflash
    |       |                   |   |   +---sdmmc
    |       |                   |   |   |   \---sdmmc_mci
    |       |                   |   |   \---virtual_mem
    |       |                   |   +---udc
    |       |                   |   \---utils
    |       |                   |       +---fifo
    |       |                   |       |   \---enhc_fifo
    |       |                   |       \---storage
    |       |                   |           \---ctrl_access
    |       |                   \---usb_host
    |       |                       +---class
    |       |                       |   +---hid
    |       |                       |   |   \---host_hid
    |       |                       |   \---mass_storage
    |       |                       |       \---scsi_decoder
    |       |                       +---enum
    |       |                       |   +---device
    |       |                       |   \---host
    |       |                       \---example_enum
    |       |                           \---enum
    |       |                               \---device
    |       \---tools
    |           +---adk2inst
    |           +---adk2tool
    |           \---bossac
    \---external
        +---ide
        |   +---.git
        |   +---.settings
        |   +---app
        |   |   +---.settings
        |   |   +---lib
        |   |   \---src
        |   |       \---processing
        |   |           \---app
        |   |               +---debug
        |   |               +---helpers
        |   |               |   \---filefilters
        |   |               +---linux
        |   |               +---macosx
        |   |               +---preproc
        |   |               +---syntax
        |   |               |   \---im
        |   |               +---tools
        |   |               |   \---format
        |   |               |       +---src
        |   |               |       \---tool
        |   |               \---windows
        |   +---build
        |   |   +---cmd
        |   |   |   \---dist
        |   |   +---javadoc
        |   |   |   +---core
        |   |   |   |   +---processing
        |   |   |   |   |   +---core
        |   |   |   |   |   \---xml
        |   |   |   |   \---resources
        |   |   |   \---everything
        |   |   |       +---antlr
        |   |   |       |   \---java
        |   |   |       +---processing
        |   |   |       |   +---app
        |   |   |       |   |   +---debug
        |   |   |       |   |   +---linux
        |   |   |       |   |   +---macosx
        |   |   |       |   |   +---preproc
        |   |   |       |   |   +---syntax
        |   |   |       |   |   +---tools
        |   |   |       |   |   \---windows
        |   |   |       |   +---candy
        |   |   |       |   +---core
        |   |   |       |   +---dxf
        |   |   |       |   +---net
        |   |   |       |   +---opengl
        |   |   |       |   +---pdf
        |   |   |       |   +---serial
        |   |   |       |   +---video
        |   |   |       |   \---xml
        |   |   |       \---resources
        |   |   +---linux
        |   |   |   \---dist
        |   |   |       +---lib
        |   |   |       \---tools
        |   |   +---macosx
        |   |   |   +---dist
        |   |   |   \---template.app
        |   |   |       \---Contents
        |   |   |           +---MacOS
        |   |   |           \---Resources
        |   |   |               \---Java
        |   |   +---shared
        |   |   |   +---examples
        |   |   |   |   +---01.Basics
        |   |   |   |   |   +---AnalogReadSerial
        |   |   |   |   |   +---BareMinimum
        |   |   |   |   |   +---Blink
        |   |   |   |   |   +---DigitalReadSerial
        |   |   |   |   |   +---Fade
        |   |   |   |   |   \---ReadAnalogVoltage
        |   |   |   |   +---02.Digital
        |   |   |   |   |   +---BlinkWithoutDelay
        |   |   |   |   |   +---Button
        |   |   |   |   |   +---Debounce
        |   |   |   |   |   +---DigitalIputPullup
        |   |   |   |   |   +---StateChangeDetection
        |   |   |   |   |   +---toneKeyboard
        |   |   |   |   |   +---toneMelody
        |   |   |   |   |   +---toneMultiple
        |   |   |   |   |   \---tonePitchFollower
        |   |   |   |   +---03.Analog
        |   |   |   |   |   +---AnalogInOutSerial
        |   |   |   |   |   +---AnalogInput
        |   |   |   |   |   +---AnalogWriteMega
        |   |   |   |   |   +---Calibration
        |   |   |   |   |   +---Fading
        |   |   |   |   |   \---Smoothing
        |   |   |   |   +---04.Communication
        |   |   |   |   |   +---ASCIITable
        |   |   |   |   |   +---Dimmer
        |   |   |   |   |   +---Graph
        |   |   |   |   |   +---MIDI
        |   |   |   |   |   +---MultiSerialMega
        |   |   |   |   |   +---PhysicalPixel
        |   |   |   |   |   +---ReadASCIIString
        |   |   |   |   |   +---SerialCallResponse
        |   |   |   |   |   +---SerialCallResponseASCII
        |   |   |   |   |   +---SerialEvent
        |   |   |   |   |   \---VirtualColorMixer
        |   |   |   |   +---05.Control
        |   |   |   |   |   +---Arrays
        |   |   |   |   |   +---ForLoopIteration
        |   |   |   |   |   +---IfStatementConditional
        |   |   |   |   |   +---switchCase
        |   |   |   |   |   +---switchCase2
        |   |   |   |   |   \---WhileStatementConditional
        |   |   |   |   +---06.Sensors
        |   |   |   |   |   +---ADXL3xx
        |   |   |   |   |   +---Knock
        |   |   |   |   |   +---Memsic2125
        |   |   |   |   |   \---Ping
        |   |   |   |   +---07.Display
        |   |   |   |   |   +---barGraph
        |   |   |   |   |   \---RowColumnScanning
        |   |   |   |   +---08.Strings
        |   |   |   |   |   +---CharacterAnalysis
        |   |   |   |   |   +---StringAdditionOperator
        |   |   |   |   |   +---StringAppendOperator
        |   |   |   |   |   +---StringCaseChanges
        |   |   |   |   |   +---StringCharacters
        |   |   |   |   |   +---StringComparisonOperators
        |   |   |   |   |   +---StringConstructors
        |   |   |   |   |   +---StringIndexOf
        |   |   |   |   |   +---StringLength
        |   |   |   |   |   +---StringLengthTrim
        |   |   |   |   |   +---StringReplace
        |   |   |   |   |   +---StringStartsWithEndsWith
        |   |   |   |   |   +---StringSubstring
        |   |   |   |   |   +---StringToInt
        |   |   |   |   |   \---StringToIntRGB
        |   |   |   |   +---09.USB(Leonardo)
        |   |   |   |   |   +---Keyboard
        |   |   |   |   |   |   +---KeyboardLogout
        |   |   |   |   |   |   +---KeyboardMessage
        |   |   |   |   |   |   +---KeyboardReprogram
        |   |   |   |   |   |   \---KeyboardSerial
        |   |   |   |   |   +---KeyboardAndMouseControl
        |   |   |   |   |   \---Mouse
        |   |   |   |   |       +---ButtonMouseControl
        |   |   |   |   |       \---JoystickMouseControl
        |   |   |   |   \---ArduinoISP
        |   |   |   +---lib
        |   |   |   |   \---theme
        |   |   |   \---tools
        |   |   |       \---Mangler
        |   |   |           \---src
        |   |   \---windows
        |   |       +---dist
        |   |       |   \---drivers
        |   |       |       \---FTDI USB Drivers
        |   |       |           +---amd64
        |   |       |           +---i386
        |   |       |           \---Static
        |   |       |               +---amd64
        |   |       |               \---i386
        |   |       \---launcher
        |   |           \---launch4j
        |   |               +---.settings
        |   |               +---bin
        |   |               +---demo
        |   |               |   +---ConsoleApp
        |   |               |   |   +---l4j
        |   |               |   |   +---lib
        |   |               |   |   \---src
        |   |               |   |       \---net
        |   |               |   |           \---sf
        |   |               |   |               \---launch4j
        |   |               |   |                   \---example
        |   |               |   \---SimpleApp
        |   |               |       +---l4j
        |   |               |       +---lib
        |   |               |       \---src
        |   |               |           \---net
        |   |               |               \---sf
        |   |               |                   \---launch4j
        |   |               |                       \---example
        |   |               +---head
        |   |               +---head_src
        |   |               |   +---consolehead
        |   |               |   \---guihead
        |   |               +---lib
        |   |               +---manifest
        |   |               +---src
        |   |               |   +---images
        |   |               |   \---net
        |   |               |       \---sf
        |   |               |           \---launch4j
        |   |               |               +---ant
        |   |               |               +---binding
        |   |               |               +---config
        |   |               |               +---form
        |   |               |               \---formimpl
        |   |               +---w32api
        |   |               \---web
        |   +---core
        |   |   +---.settings
        |   |   +---methods
        |   |   |   +---demo
        |   |   |   \---src
        |   |   +---preproc
        |   |   |   +---demo
        |   |   |   \---src
        |   |   |       \---processing
        |   |   |           \---build
        |   |   \---src
        |   |       \---processing
        |   |           +---core
        |   |           \---xml
        |   +---hardware
        |   |   +---arduino
        |   |   |   \---sam
        |   |   |       +---bootloaders
        |   |   |       |   \---sam3_samba
        |   |   |       |       \---linker_script
        |   |   |       +---cores
        |   |   |       |   \---arduino
        |   |   |       |       +---build_gcc
        |   |   |       |       +---build_iar
        |   |   |       |       +---prod_test_due
        |   |   |       |       |   +---build_gcc
        |   |   |       |       |   \---build_iar
        |   |   |       |       +---USB
        |   |   |       |       +---validation
        |   |   |       |       |   +---build_gcc
        |   |   |       |       |   \---build_iar
        |   |   |       |       \---validation_usb_device
        |   |   |       |           \---build_gcc
        |   |   |       +---libraries
        |   |   |       |   +---SPI
        |   |   |       |   |   \---examples
        |   |   |       |   |       +---BarometricPressureSensor
        |   |   |       |   |       +---DigitalPotControl
        |   |   |       |   |       \---DueX_ATFlashSignatureCheck
        |   |   |       |   \---Wire
        |   |   |       |       \---examples
        |   |   |       |           +---digital_potentiometer
        |   |   |       |           +---master_reader
        |   |   |       |           +---master_writer
        |   |   |       |           +---SFRRanger_reader
        |   |   |       |           +---slave_receiver
        |   |   |       |           \---slave_sender
        |   |   |       +---system
        |   |   |       |   +---AndroidAccessory
        |   |   |       |   |   \---examples
        |   |   |       |   |       +---_01_digitalRead_adk
        |   |   |       |   |       +---_02_digitalWrite_adk
        |   |   |       |   |       +---_03_analogRead_adk
        |   |   |       |   |       +---_04_analogWrite_adk
        |   |   |       |   |       \---_05_test_adk
        |   |   |       |   +---CMSIS
        |   |   |       |   |   +---CMSIS
        |   |   |       |   |   |   +---Documentation
        |   |   |       |   |   |   |   \---DSP_Lib
        |   |   |       |   |   |   |       \---html
        |   |   |       |   |   |   |           \---search
        |   |   |       |   |   |   +---DSP_Lib
        |   |   |       |   |   |   |   +---Examples
        |   |   |       |   |   |   |   |   +---arm_class_marks_example
        |   |   |       |   |   |   |   |   |   +---ARM
        |   |   |       |   |   |   |   |   |   \---GCC
        |   |   |       |   |   |   |   |   +---arm_convolution_example
        |   |   |       |   |   |   |   |   |   +---ARM
        |   |   |       |   |   |   |   |   |   \---GCC
        |   |   |       |   |   |   |   |   +---arm_dotproduct_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_fft_bin_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_fir_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_graphic_equalizer_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_linear_interp_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_matrix_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_signal_converge_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_sin_cos_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   +---arm_variance_example
        |   |   |       |   |   |   |   |   |   \---ARM
        |   |   |       |   |   |   |   |   \---Common
        |   |   |       |   |   |   |   |       +---Include
        |   |   |       |   |   |   |   |       \---Source
        |   |   |       |   |   |   |   \---Source
        |   |   |       |   |   |   |       +---ARM
        |   |   |       |   |   |   |       +---BasicMathFunctions
        |   |   |       |   |   |   |       +---CommonTables
        |   |   |       |   |   |   |       +---ComplexMathFunctions
        |   |   |       |   |   |   |       +---ControllerFunctions
        |   |   |       |   |   |   |       +---FastMathFunctions
        |   |   |       |   |   |   |       +---FilteringFunctions
        |   |   |       |   |   |   |       +---GCC
        |   |   |       |   |   |   |       +---iar
        |   |   |       |   |   |   |       +---MatrixFunctions
        |   |   |       |   |   |   |       +---StatisticsFunctions
        |   |   |       |   |   |   |       +---SupportFunctions
        |   |   |       |   |   |   |       \---TransformFunctions
        |   |   |       |   |   |   +---Include
        |   |   |       |   |   |   \---Lib
        |   |   |       |   |   |       +---ARM
        |   |   |       |   |   |       \---GCC
        |   |   |       |   |   +---Device
        |   |   |       |   |   |   +---ARM
        |   |   |       |   |   |   |   +---ARMCM0
        |   |   |       |   |   |   |   |   +---Include
        |   |   |       |   |   |   |   |   \---Source
        |   |   |       |   |   |   |   |       \---Templates
        |   |   |       |   |   |   |   |           +---ARM
        |   |   |       |   |   |   |   |           +---GCC
        |   |   |       |   |   |   |   |           +---GCC_ARM
        |   |   |       |   |   |   |   |           \---IAR
        |   |   |       |   |   |   |   +---ARMCM3
        |   |   |       |   |   |   |   |   +---Include
        |   |   |       |   |   |   |   |   \---Source
        |   |   |       |   |   |   |   |       \---Templates
        |   |   |       |   |   |   |   |           +---ARM
        |   |   |       |   |   |   |   |           +---GCC
        |   |   |       |   |   |   |   |           +---GCC_ARM
        |   |   |       |   |   |   |   |           \---IAR
        |   |   |       |   |   |   |   \---ARMCM4
        |   |   |       |   |   |   |       +---Include
        |   |   |       |   |   |   |       \---Source
        |   |   |       |   |   |   |           \---Templates
        |   |   |       |   |   |   |               +---ARM
        |   |   |       |   |   |   |               +---GCC
        |   |   |       |   |   |   |               +---GCC_ARM
        |   |   |       |   |   |   |               \---IAR
        |   |   |       |   |   |   +---ATMEL
        |   |   |       |   |   |   |   +---sam3n
        |   |   |       |   |   |   |   |   +---html
        |   |   |       |   |   |   |   |   |   +---css
        |   |   |       |   |   |   |   |   |   \---images
        |   |   |       |   |   |   |   |   +---include
        |   |   |       |   |   |   |   |   |   +---component
        |   |   |       |   |   |   |   |   |   +---instance
        |   |   |       |   |   |   |   |   |   \---pio
        |   |   |       |   |   |   |   |   +---source
        |   |   |       |   |   |   |   |   |   +---as_gcc
        |   |   |       |   |   |   |   |   |   +---gcc
        |   |   |       |   |   |   |   |   |   +---gcc_arm
        |   |   |       |   |   |   |   |   |   +---gcc_atmel
        |   |   |       |   |   |   |   |   |   \---iar
        |   |   |       |   |   |   |   |   \---svd
        |   |   |       |   |   |   |   +---sam3s
        |   |   |       |   |   |   |   |   +---html
        |   |   |       |   |   |   |   |   |   +---css
        |   |   |       |   |   |   |   |   |   \---images
        |   |   |       |   |   |   |   |   +---include
        |   |   |       |   |   |   |   |   |   +---component
        |   |   |       |   |   |   |   |   |   +---instance
        |   |   |       |   |   |   |   |   |   \---pio
        |   |   |       |   |   |   |   |   +---source
        |   |   |       |   |   |   |   |   |   +---as_gcc
        |   |   |       |   |   |   |   |   |   +---gcc
        |   |   |       |   |   |   |   |   |   +---gcc_arm
        |   |   |       |   |   |   |   |   |   +---gcc_atmel
        |   |   |       |   |   |   |   |   |   \---iar
        |   |   |       |   |   |   |   |   \---svd
        |   |   |       |   |   |   |   +---sam3sd8
        |   |   |       |   |   |   |   |   +---html
        |   |   |       |   |   |   |   |   |   +---css
        |   |   |       |   |   |   |   |   |   \---images
        |   |   |       |   |   |   |   |   +---include
        |   |   |       |   |   |   |   |   |   +---component
        |   |   |       |   |   |   |   |   |   +---instance
        |   |   |       |   |   |   |   |   |   \---pio
        |   |   |       |   |   |   |   |   +---source
        |   |   |       |   |   |   |   |   |   +---as_gcc
        |   |   |       |   |   |   |   |   |   +---gcc
        |   |   |       |   |   |   |   |   |   +---gcc_arm
        |   |   |       |   |   |   |   |   |   +---gcc_atmel
        |   |   |       |   |   |   |   |   |   \---iar
        |   |   |       |   |   |   |   |   \---svd
        |   |   |       |   |   |   |   +---sam3u
        |   |   |       |   |   |   |   |   +---html
        |   |   |       |   |   |   |   |   |   +---css
        |   |   |       |   |   |   |   |   |   \---images
        |   |   |       |   |   |   |   |   +---include
        |   |   |       |   |   |   |   |   |   +---component
        |   |   |       |   |   |   |   |   |   +---instance
        |   |   |       |   |   |   |   |   |   \---pio
        |   |   |       |   |   |   |   |   +---source
        |   |   |       |   |   |   |   |   |   +---as_gcc
        |   |   |       |   |   |   |   |   |   +---gcc
        |   |   |       |   |   |   |   |   |   +---gcc_arm
        |   |   |       |   |   |   |   |   |   +---gcc_atmel
        |   |   |       |   |   |   |   |   |   \---iar
        |   |   |       |   |   |   |   |   \---svd
        |   |   |       |   |   |   |   +---sam3xa
        |   |   |       |   |   |   |   |   +---html
        |   |   |       |   |   |   |   |   |   +---css
        |   |   |       |   |   |   |   |   |   \---images
        |   |   |       |   |   |   |   |   +---include
        |   |   |       |   |   |   |   |   |   +---component
        |   |   |       |   |   |   |   |   |   +---instance
        |   |   |       |   |   |   |   |   |   \---pio
        |   |   |       |   |   |   |   |   +---source
        |   |   |       |   |   |   |   |   |   +---as_gcc
        |   |   |       |   |   |   |   |   |   +---gcc
        |   |   |       |   |   |   |   |   |   +---gcc_arm
        |   |   |       |   |   |   |   |   |   +---gcc_atmel
        |   |   |       |   |   |   |   |   |   \---iar
        |   |   |       |   |   |   |   |   \---svd
        |   |   |       |   |   |   |   \---sam4s
        |   |   |       |   |   |   |       +---html
        |   |   |       |   |   |   |       |   +---css
        |   |   |       |   |   |   |       |   \---images
        |   |   |       |   |   |   |       +---include
        |   |   |       |   |   |   |       |   +---component
        |   |   |       |   |   |   |       |   +---instance
        |   |   |       |   |   |   |       |   \---pio
        |   |   |       |   |   |   |       +---source
        |   |   |       |   |   |   |       |   +---as_gcc
        |   |   |       |   |   |   |       |   +---gcc
        |   |   |       |   |   |   |       |   +---gcc_arm
        |   |   |       |   |   |   |       |   +---gcc_atmel
        |   |   |       |   |   |   |       |   \---iar
        |   |   |       |   |   |   |       \---svd
        |   |   |       |   |   |   \---_Template_Vendor
        |   |   |       |   |   |       \---Vendor
        |   |   |       |   |   |           \---Device
        |   |   |       |   |   |               +---Include
        |   |   |       |   |   |               \---Source
        |   |   |       |   |   |                   \---Templates
        |   |   |       |   |   |                       \---ARM
        |   |   |       |   |   \---Examples
        |   |   |       |   |       \---cmsis_example
        |   |   |       |   |           +---gcc
        |   |   |       |   |           +---gcc_arm
        |   |   |       |   |           \---gcc_atmel
        |   |   |       |   +---libsam
        |   |   |       |   |   +---build_gcc
        |   |   |       |   |   +---build_iar
        |   |   |       |   |   +---include
        |   |   |       |   |   \---source
        |   |   |       |   \---USBHost
        |   |   |       |       \---examples
        |   |   |       |           +---board_test
        |   |   |       |           +---conf_descr_dump
        |   |   |       |           \---descriptor_parser
        |   |   |       \---variants
        |   |   |           \---adk2
        |   |   |               +---build_gcc
        |   |   |               +---debug_scripts
        |   |   |               |   \---gcc
        |   |   |               \---linker_scripts
        |   |   |                   +---gcc
        |   |   |                   \---iar
        |   |   \---tools
        |   \---libraries
        |       \---Ethernet
        |           \---examples
        |               +---CosmClient
        |               +---CosmClientString
        |               \---WebClientRepeating
        \---toolchain
            +---.git
            \---arm-2010q1-188-arm-none-eabi
    
    
    Also, in the adk1 folder I've found two more libraries: AndroidAccessory and USB_Host_Shield.
    Tried to compiled the UDOO example again, this time making these changes:
    Code:
    #include <adk.h>
    to 
    #include <ADK.h>
    added
    #include <UsbHost.h>
    changed 
    USBHost Usb;
    to 
    UsbHost Usb;
    
    but still get errors:
    Code:
    In file included from C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:10,
                     from C:\Users\HM\Documents\Arduino\libraries\UsbHost/UsbHost.h:6,
                     from UDOOArduinoADKDemo.cpp:4:
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e_constants.h:29: error: #error The currently selected board needs to have its SPI pin definitions added to this file.
    In file included from C:\Users\HM\Documents\Arduino\libraries\UsbHost/UsbHost.h:6,
                     from UDOOArduinoADKDemo.cpp:4:
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h: In static member function 'static void MAX3421E::spi_init()':
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:35: error: 'SCK_PIN' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:36: error: 'MOSI_PIN' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:37: error: 'MISO_PIN' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:38: error: 'SS_PIN' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:41: error: 'SPCR' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:42: error: 'SPSR' was not declared in this scope
    C:\Users\HM\Documents\Arduino\libraries\UsbHost/Max3421e.h:45: error: 'SPDR' was not declared in this scope
    UDOOArduinoADKDemo.cpp: At global scope:
    UDOOArduinoADKDemo:18: error: no matching function for call to 'ADK::ADK(UsbHost*, char [8], char [9], char [19], char [4], char [20], char [2])'
    C:\Users\HM\Documents\Arduino\libraries\ADK2/ADK.h:99: note: candidates are: ADK::ADK()
    C:\Users\HM\Documents\Arduino\libraries\ADK2/ADK.h:99: note:                 ADK::ADK(const ADK&)
    UDOOArduinoADKDemo.cpp: In function 'void loop()':
    UDOOArduinoADKDemo:39: error: 'class ADK' has no member named 'isReady'
    UDOOArduinoADKDemo:40: error: 'class ADK' has no member named 'read'
    
    This is using the Google ADK2 board definition in the ADK 2012 IDE.
    I think I'm not using the right IDE and especially not the right version of the libraries.

    So...what's your setup guys ? :)
    How did you managed to get this up and running ?
    Can you use the ADK library working with the typical Arduino IDE and any Arduino board ? If so, how ?

    Any tips/hints appreciated. Thanks!
     
  2. george.profenza

    george.profenza New Member

    Joined:
    Mar 27, 2014
    Messages:
    2
    Likes Received:
    0
    Re: Error compiling Arduino code for "Simple Hello World" le

    bump ?
     
  3. redmaple

    redmaple New Member

    Joined:
    Apr 21, 2014
    Messages:
    8
    Likes Received:
    0
    Re: Error compiling Arduino code for "Simple Hello World" le

    I just got my udoo board and get the exact same problem. Could someone give us some hint?
     
  4. redmaple

    redmaple New Member

    Joined:
    Apr 21, 2014
    Messages:
    8
    Likes Received:
    0
    Re: Error compiling Arduino code for "Simple Hello World" le

    Got it to work...

    If some one else is having this problem, the way I fixed it was to download the latest nightly Arduino code. Patch it with Bossac fix, then the hello program compiled and loaded successfully onto the arduino board.
     

Share This Page