toolchain: only include <zephyr/toolchain.h>

It is wrong to use toolchain-specific header files.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-14 11:47:58 +02:00 committed by Carles Cufí
commit aaeb0a672e
20 changed files with 20 additions and 20 deletions

View file

@ -27,7 +27,7 @@
#ifdef CONFIG_ADC_STM32_DMA
#include <zephyr/drivers/dma/dma_stm32.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/toolchain/common.h>
#include <zephyr/toolchain.h>
#include <stm32_ll_dma.h>
#endif

View file

@ -7,7 +7,7 @@
#define ZEPHYR_SOC_ARM_ASPEED_UTIL_H_
#include <zephyr/sys/util.h>
#include <zephyr/devicetree.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
/* gcc.h doesn't define __section but checkpatch.pl will complain for this. so
* temporarily add a macro here.

View file

@ -23,7 +23,7 @@
#include <zephyr/kernel_structs.h>
#include <kernel_internal.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <soc.h>
#ifdef CONFIG_MCUBOOT

View file

@ -18,7 +18,7 @@
#include <zephyr/kernel_structs.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <soc.h>
#include <zephyr/arch/riscv/arch.h>

View file

@ -14,7 +14,7 @@
#include <zephyr/kernel_structs.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/linker/linker-defs.h>
#include <kernel_internal.h>

View file

@ -14,7 +14,7 @@
#include <zephyr/kernel_structs.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/linker/linker-defs.h>
#include <kernel_internal.h>

View file

@ -15,7 +15,7 @@
#include <zephyr/kernel_structs.h>
#include <kernel_internal.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include "esp_private/system_internal.h"

View file

@ -14,7 +14,7 @@
#include <zephyr/kernel_structs.h>
#include <string.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/linker/linker-defs.h>
#include <kernel_internal.h>

View file

@ -5,7 +5,7 @@
*/
#include <zephyr/usb/usbd.h>
#include <zephyr/toolchain/common.h>
#include <zephyr/toolchain.h>
#include <zephyr/drivers/usb/udc.h>
#include <zephyr/sys/slist.h>
#include <zephyr/sys/iterable_sections.h>

View file

@ -7,7 +7,7 @@
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/toolchain/common.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/slist.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/drivers/usb/udc.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -11,7 +11,7 @@
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/settings/settings.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -12,7 +12,7 @@
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/settings/settings.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -12,7 +12,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
DEFINE_FLAG(flag_new_address);

View file

@ -12,7 +12,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include "common/bt_str.h"

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -9,7 +9,7 @@
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <zephyr/toolchain.h>
#include <stdint.h>
#include <string.h>

View file

@ -193,7 +193,7 @@ manifest:
groups:
- hal
- name: hal_nxp
revision: 06c956741a81eb0fd3c0c31367c3c177bffaaab8
revision: 5331fe2ff1310b033bf01cd3a232f1e587726e3b
path: modules/hal/nxp
groups:
- hal