soc: xtensa: esp32_net: fixes include paths
that were changed with zephyr prefix after rebasing. Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
This commit is contained in:
parent
d808fa2c6d
commit
d94dc98fd6
@ -10,14 +10,13 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <drivers/ipm.h>
|
||||
#include <drivers/interrupt_controller/intc_esp32.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/ipm.h>
|
||||
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>
|
||||
#include <soc.h>
|
||||
#include <sys/atomic.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(ipm_esp32, CONFIG_IPM_LOG_LEVEL);
|
||||
|
||||
#define ESP32_IPM_LOCK_FREE_VAL 0xB33FFFFF
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <sys/printk.h>
|
||||
#include <drivers/ipm.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/drivers/ipm.h>
|
||||
#include <zephyr/device.h>
|
||||
|
||||
static const struct device *ipm_dev;
|
||||
static const char fake_resp[] = {"APP_CPU: This is a response"};
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <sys/printk.h>
|
||||
#include <drivers/ipm.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/drivers/ipm.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <string.h>
|
||||
|
||||
static const char fake_request[] = {"PRO_CPU: Fake request to APP_CPU"};
|
||||
|
||||
@ -18,8 +18,6 @@
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <kernel_internal.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <device.h>
|
||||
|
||||
#include "esp_private/system_internal.h"
|
||||
#include "esp32/rom/cache.h"
|
||||
@ -30,6 +28,7 @@
|
||||
#include "esp_err.h"
|
||||
#include "esp32/spiram.h"
|
||||
#include "esp_app_format.h"
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
||||
extern void z_cstart(void);
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include <xtensa/config/core-isa.h>
|
||||
#include <sys/util.h>
|
||||
#include <sw_isr_table.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sw_isr_table.h>
|
||||
|
||||
#if !defined(XCHAL_INT0_LEVEL) || XCHAL_INT0_LEVEL != 1
|
||||
#error core-isa.h interrupt level does not match dispatcher!
|
||||
|
||||
@ -10,11 +10,10 @@
|
||||
* Linker script for the Xtensa platform.
|
||||
*/
|
||||
|
||||
#include <devicetree.h>
|
||||
#include <autoconf.h>
|
||||
#include <linker/sections.h>
|
||||
#include <linker/linker-defs.h>
|
||||
#include <linker/linker-tool.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/linker/sections.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <zephyr/linker/linker-tool.h>
|
||||
|
||||
#define RAMABLE_REGION dram0_1_seg :dram0_1_phdr
|
||||
#define RAMABLE_REGION_1 dram0_1_seg :dram0_1_phdr
|
||||
@ -47,7 +46,7 @@ _rom_store_table = 0;
|
||||
SECTIONS
|
||||
{
|
||||
|
||||
#include <linker/rel-sections.ld>
|
||||
#include <zephyr/linker/rel-sections.ld>
|
||||
|
||||
/* Send .iram0 code to iram */
|
||||
.iram0.vectors : ALIGN(4)
|
||||
@ -137,7 +136,7 @@ SECTIONS
|
||||
#define ITERABLE_SECTION_RAM_GC_ALLOWED(x, y)
|
||||
#undef ITERABLE_SECTION_RAM
|
||||
#define ITERABLE_SECTION_RAM(x, y)
|
||||
#include <linker/common-ram.ld>
|
||||
#include <zephyr/linker/common-ram.ld>
|
||||
/* Restore original value for symbols referenced by `common-ram.ld` */
|
||||
_net_buf_pool_list = _esp_net_buf_pool_list;
|
||||
#pragma pop_macro("ITERABLE_SECTION_RAM_GC_ALLOWED")
|
||||
@ -296,7 +295,7 @@ _net_buf_pool_list = _esp_net_buf_pool_list;
|
||||
* which is already defined above. In case, `common-rom.ld` creates additional segments
|
||||
* they will be placed in DRAM instead. */
|
||||
#define ROMABLE_REGION RAMABLE_REGION
|
||||
#include <linker/common-rom.ld>
|
||||
#include <zephyr/linker/common-rom.ld>
|
||||
/* Restore original value for symbols referenced by `common-rom.ld` */
|
||||
__log_const_start = __esp_log_const_start;
|
||||
__log_const_end = __esp_log_const_end;
|
||||
@ -422,10 +421,10 @@ __shell_root_cmds_end = __esp_shell_root_cmds_end;
|
||||
} GROUP_LINK_IN(RAMABLE_REGION_1)
|
||||
|
||||
#ifdef CONFIG_GEN_ISR_TABLES
|
||||
#include <linker/intlist.ld>
|
||||
#include <zephyr/linker/intlist.ld>
|
||||
#endif
|
||||
|
||||
#include <linker/debug-sections.ld>
|
||||
#include <zephyr/linker/debug-sections.ld>
|
||||
|
||||
SECTION_PROLOGUE(.xtensa.info, 0,)
|
||||
{
|
||||
|
||||
@ -5,17 +5,20 @@
|
||||
*/
|
||||
|
||||
/* Include esp-idf headers first to avoid redefining BIT() macro */
|
||||
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>
|
||||
#include <soc.h>
|
||||
#include <kernel_structs.h>
|
||||
#include <string.h>
|
||||
#include <toolchain/gcc.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr.h>
|
||||
#include "sys/printk.h"
|
||||
|
||||
#include "soc.h"
|
||||
#include <soc/rtc_cntl_reg.h>
|
||||
#include <soc/timer_group_reg.h>
|
||||
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>
|
||||
#include <xtensa/config/core-isa.h>
|
||||
#include <xtensa/corebits.h>
|
||||
|
||||
#include <zephyr/kernel_structs.h>
|
||||
#include <string.h>
|
||||
#include <zephyr/toolchain/gcc.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <kernel_internal.h>
|
||||
|
||||
#include "esp_private/system_internal.h"
|
||||
#include "esp32/rom/cache.h"
|
||||
#include "hal/soc_ll.h"
|
||||
@ -23,6 +26,9 @@
|
||||
#include "soc/gpio_periph.h"
|
||||
#include "esp_spi_flash.h"
|
||||
#include "esp_err.h"
|
||||
#include "esp32/spiram.h"
|
||||
#include "esp_app_format.h"
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
||||
extern void z_cstart(void);
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <arch/xtensa/arch.h>
|
||||
#include <zephyr/arch/xtensa/arch.h>
|
||||
|
||||
#include <xtensa/core-macros.h>
|
||||
#include <esp32/clk.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user