Skip to content

sam e70 xplained failed to build hello world #18615

@JonathanWoodward

Description

@JonathanWoodward

Describe the bug
When building same70q21.h is not found

To Reproduce
Steps to reproduce the behavior:

  1. cd $ZEPHYR_BASE/samples/hello_world
  2. mkdir build && cd build
  3. cmake -GNinja -DBOARD=sam_e70_xplained ..
  4. nijna

Impact
showstopper

Screenshots or console output
[6/110] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
ccache /home/user/LinuxDevelopment/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=v2.0.0-rc1-181-gfbcbc2ed1626 -DKERNEL -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../kernel/include -I../../../arch/arm/include -I../../../include -I../../../include/drivers -Izephyr/include/generated -I../../../soc/arm/atmel_sam/same70 -I../../../soc/arm/atmel_sam/common/. -I../../../ext/hal/cmsis/Include -isystem ../../../lib/libc/minimal/include -isystem /home/user/LinuxDevelopment/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include -isystem /home/user/LinuxDevelopment/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include-fixed -Os -imacros/home/user/LinuxDevelopment/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m7 -imacros/home/user/LinuxDevelopment/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/user/LinuxDevelopment/zephyr/samples/hello_world=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/user/LinuxDevelopment/zephyr=ZEPHYR_BASE -ffunction-sections -fdata-sections -mabi=aapcs -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -c /home/user/LinuxDevelopment/zephyr/arch/arm/core/offsets/offsets.c
In file included from ../../../include/arch/arm/cortex_m/cmsis.h:17,
from ../../../include/arch/arm/cortex_m/mpu/arm_mpu_v7m.h:10,
from ../../../include/arch/arm/cortex_m/mpu/arm_mpu.h:13,
from ../../../include/arch/arm/arch.h:246,
from ../../../include/arch/cpu.h:17,
from ../../../include/kernel_includes.h:34,
from ../../../include/kernel.h:17,
from ../../../kernel/include/kernel_structs.h:10,
from /home/user/LinuxDevelopment/zephyr/arch/arm/core/offsets/offsets.c:26:
../../../soc/arm/atmel_sam/same70/soc.h:39:10: fatal error: same70q21.h: No such file or directory
#include <same70q21.h>
^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Environment (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions