Arduino IDE erros

Discussion in 'UDOO NEO' started by Maurice, Mar 26, 2016.

  1. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    When I verify or upload a simple sketch to my Neo I get several errors. Did I miss a configuration setup step?

    Arduino: 1.6.8 (Linux), Board:"UDOO Neo (Cortex M4)"

    WAARSCHUWING: Categorie '' in bibliotheek SPI is niet geldig. Wordt gewijzigd naar 'Uncategorized'
    WAARSCHUWING: Categorie '' in bibliotheek Wire is niet geldig. Wordt gewijzigd naar 'Uncategorized'
    Warning: platform.txt from core 'UDOO NEO (iMX6 SoloX)' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
    cc1plus: error: to generate dependencies you must specify either -M or -MM
    exit status 1
    Error compiling for board UDOO Neo (Cortex M4).

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  3. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Installed 1.6.5, but it tries to upload it to com1...
    I've changed it to the only other available option /dev/ttyACM0, but this doesn't work either because "/dev/ttyACM0" (Port busy)
     
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    I suppose you run arduino ide on your PC. According the installation manual you do not have to select a port, so I think you have to install it again.

    Does the IDE on the Neo work?
     
  5. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    If I don't change it it tries to use com1:, which fails very early on Linux. ttyACM0 was named by a Arduino page itself and I've tried the Arduino IDE with sudo and without sudo.

    Arduino IDE through the web interface works, a great way for quickly starting with stuff. For a bit longer development a real IDE would be much better.
     
  6. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Do you have a Linux pc you are working on and have that PC connected to the Neo?

    There is a full blown Arduino IDE preinstalled on the Linux side of the Neo. Connect to your Neo with vnc viewerhttp://www.udoo.org/docs-neo/Basic_Setup/Remote_Desktop_(VNC).html to access it. Or connect a HDMI monitor/TV and keyboard and mouse to use the Neo without interaction with another PC.
     
  7. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Yes, the Linux is connected to the Neo with the USB cable. Using Arduino IDE over VNC is of course an improvement, but I would like to use a local IDE, also because I have a Quad which I would like program the Arduino on.
     
  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  9. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Yes, I use a 64 bit Ubuntu. I did the apt-get, but Ubuntu didn't find any of these packages.
     

Share This Page