Skip to content

arduino-nano issue #22156

@ff6f8d68

Description

@ff6f8d68

Description

build error when using arduino-nano board (works on other boards, maybe gcc-avr is the problem)

Steps to reproduce the issue

  • go to RIOT dir
  • go to examples/basic/default
  • set board to arduino-nano
  • sudo apt install gcc-avr
  • make all flash term

Expected results

it compiles and flashes to board successfully

Actual results

Building application "default" for "arduino-nano" with CPU "atmega328p".

In file included from /home/hexagon/RIOT/core/include/stdio.h:24:0,
from /home/hexagon/RIOT/examples/basic/default/main.c:25:
/home/hexagon/RIOT/cpu/avr8_common/include/stdio.h:23:15: fatal error: stdio.h: No such file or directory
#include_next "stdio.h"
^~~~~~~~~
compilation terminated.
make[1]: *** [/home/hexagon/RIOT/Makefile.base:162: /home/hexagon/RIOT/examples/basic/default/bin/arduino-nano/application_default/main.o] Error 1
make: *** [/home/hexagon/RIOT/examples/basic/default/../../../Makefile.include:743: application_default.module] Error 2

Versions

ubuntu, other all latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    State: waiting for authorState: Action by the author of the PR is requiredType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions