xtensa: include xtensa-types.h for xt-clang
Newer Xtensa toolchain needs to include xtensa-types.h so that macros in tie.h can be used without compilation errors. The exact verison needing this is unknown but first encountered in RJ-2023.2. Tested with older toolchain and that did not cause any compilation errors so just include xtensa-types.h if xt-clang is used. Haven't seen newer toolchains being generated with xcc, so skip that for now. Note that Zephyr SDK and the public HAL in Zephyr do not provide this file. Signed-off-by:Anthony Giardina <anthony.giardina@intel.com> Signed-off-by:
Daniel Leung <daniel.leung@intel.com>
Loading
Please sign in to comment