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:
parent
e5de0b6824
commit
aaeb0a672e
20 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
2
west.yml
2
west.yml
|
@ -193,7 +193,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_nxp
|
||||
revision: 06c956741a81eb0fd3c0c31367c3c177bffaaab8
|
||||
revision: 5331fe2ff1310b033bf01cd3a232f1e587726e3b
|
||||
path: modules/hal/nxp
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue