From 332e4902b44c5282205a59c99a99a0816dc5f572 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 31 Jan 2023 08:15:33 +0100 Subject: [PATCH] lwip: Rename esp32 port layer to esp32xx As it reflects all chips from esp32-xx family, not only esp32 --- components/lwip/CMakeLists.txt | 2 +- components/lwip/port/{esp32 => esp32xx}/include/arch/cc.h | 0 components/lwip/port/{esp32 => esp32xx}/include/arch/perf.h | 0 components/lwip/port/{esp32 => esp32xx}/include/arch/vfs_lwip.h | 0 components/lwip/port/{esp32 => esp32xx}/include/sys/socket.h | 0 components/lwip/port/{esp32 => esp32xx}/netif/dhcp_state.c | 0 components/lwip/port/{esp32 => esp32xx}/no_vfs_syscalls.c | 0 components/lwip/port/{esp32 => esp32xx}/vfs_lwip.c | 0 8 files changed, 1 insertion(+), 1 deletion(-) rename components/lwip/port/{esp32 => esp32xx}/include/arch/cc.h (100%) rename components/lwip/port/{esp32 => esp32xx}/include/arch/perf.h (100%) rename components/lwip/port/{esp32 => esp32xx}/include/arch/vfs_lwip.h (100%) rename components/lwip/port/{esp32 => esp32xx}/include/sys/socket.h (100%) rename components/lwip/port/{esp32 => esp32xx}/netif/dhcp_state.c (100%) rename components/lwip/port/{esp32 => esp32xx}/no_vfs_syscalls.c (100%) rename components/lwip/port/{esp32 => esp32xx}/vfs_lwip.c (100%) diff --git a/components/lwip/CMakeLists.txt b/components/lwip/CMakeLists.txt index eafc963be5..22ceb1de84 100644 --- a/components/lwip/CMakeLists.txt +++ b/components/lwip/CMakeLists.txt @@ -1,7 +1,7 @@ idf_build_get_property(target IDF_TARGET) if(NOT ${target} STREQUAL "linux") # ESP platform targets share the same port folder - set(target esp32) + set(target esp32xx) endif() set(include_dirs diff --git a/components/lwip/port/esp32/include/arch/cc.h b/components/lwip/port/esp32xx/include/arch/cc.h similarity index 100% rename from components/lwip/port/esp32/include/arch/cc.h rename to components/lwip/port/esp32xx/include/arch/cc.h diff --git a/components/lwip/port/esp32/include/arch/perf.h b/components/lwip/port/esp32xx/include/arch/perf.h similarity index 100% rename from components/lwip/port/esp32/include/arch/perf.h rename to components/lwip/port/esp32xx/include/arch/perf.h diff --git a/components/lwip/port/esp32/include/arch/vfs_lwip.h b/components/lwip/port/esp32xx/include/arch/vfs_lwip.h similarity index 100% rename from components/lwip/port/esp32/include/arch/vfs_lwip.h rename to components/lwip/port/esp32xx/include/arch/vfs_lwip.h diff --git a/components/lwip/port/esp32/include/sys/socket.h b/components/lwip/port/esp32xx/include/sys/socket.h similarity index 100% rename from components/lwip/port/esp32/include/sys/socket.h rename to components/lwip/port/esp32xx/include/sys/socket.h diff --git a/components/lwip/port/esp32/netif/dhcp_state.c b/components/lwip/port/esp32xx/netif/dhcp_state.c similarity index 100% rename from components/lwip/port/esp32/netif/dhcp_state.c rename to components/lwip/port/esp32xx/netif/dhcp_state.c diff --git a/components/lwip/port/esp32/no_vfs_syscalls.c b/components/lwip/port/esp32xx/no_vfs_syscalls.c similarity index 100% rename from components/lwip/port/esp32/no_vfs_syscalls.c rename to components/lwip/port/esp32xx/no_vfs_syscalls.c diff --git a/components/lwip/port/esp32/vfs_lwip.c b/components/lwip/port/esp32xx/vfs_lwip.c similarity index 100% rename from components/lwip/port/esp32/vfs_lwip.c rename to components/lwip/port/esp32xx/vfs_lwip.c