zephyrproject-rtos / sdk-ng

Zephyr SDK (Toolchains, Development Tools)
Apache License 2.0
184 stars 133 forks source link

xtensa: add xtensa-intel_ace30_ptl_zephyr-elf #767

Closed dcpleung closed 3 months ago

dcpleung commented 5 months ago

This adds the config and overlay files to enable building the toolchain needed for the intel_adsp/ace30_ptl board in Zephyr.

Needs these to fully build for the board:

stephanosio commented 2 months ago

@dcpleung We are seeing these build failures with xtensa-intel_ace30_ptl_zephyr-elf:

In file included from /__w/sdk-ng/sdk-ng/zephyrproject/zephyr/include/zephyr/arch/syscall.h:25,
                 from /__w/sdk-ng/sdk-ng/zephyrproject/zephyr/include/zephyr/syscall.h:12,
                 from /__w/sdk-ng/sdk-ng/test/twister-out/intel_adsp_ace30_ptl/tests/lib/c_lib/common/libraries.libc.common.picolibc.module/zephyr/include/generated/zephyr/syscalls/device.h:14,
                 from /__w/sdk-ng/sdk-ng/zephyrproject/zephyr/include/zephyr/device.h:1195,
                 from /__w/sdk-ng/sdk-ng/zephyrproject/zephyr/kernel/include/kernel_offsets.h:6,
                 from /__w/sdk-ng/sdk-ng/zephyrproject/zephyr/arch/xtensa/core/offsets/offsets.c:7:
/__w/sdk-ng/sdk-ng/zephyrproject/zephyr/include/zephyr/arch/xtensa/syscall.h:27:10: fatal error: xtensa/config/core-isa.h: No such file or directory
   27 | #include <xtensa/config/core-isa.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

https://github.com/zephyrproject-rtos/sdk-ng/actions/runs/10925742016/job/30345709563#step:15:7906

EDIT

I have created an issue for it: https://github.com/zephyrproject-rtos/sdk-ng/issues/791

dcpleung commented 2 months ago

The Xtensa HAL SHA needs to be updated: https://github.com/zephyrproject-rtos/zephyr/pull/78719