soc: esp32: refactor esp32_net
SOC_ESP32_NET is now SOC_ESP32_APPCPU, following espressif's
naming convention in the same manner as ESP32S3 app cpu.
SOC_ESP32_APPCU is now a subset of SOC_SERIES_ESP32.
This commit also changes the necessary files, samples and tests
for bisect purposes.
Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
diff --git a/soc/xtensa/espressif_esp32/esp32/esp32-mp.c b/soc/xtensa/espressif_esp32/esp32/esp32-mp.c
index db16667..7922e6f 100644
--- a/soc/xtensa/espressif_esp32/esp32/esp32-mp.c
+++ b/soc/xtensa/espressif_esp32/esp32/esp32-mp.c
@@ -5,9 +5,9 @@
*/
/* Include esp-idf headers first to avoid redefining BIT() macro */
-#include "soc/dport_reg.h"
-#include "soc/gpio_periph.h"
-#include "soc/rtc_periph.h"
+#include <soc/dport_reg.h>
+#include <soc/gpio_periph.h>
+#include <soc/rtc_periph.h>
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>
#include <soc.h>
@@ -62,7 +62,7 @@
*/
void smp_log(const char *msg)
{
-#ifndef CONFIG_ESP32_NETWORK_CORE
+#ifndef CONFIG_SOC_ESP32_PROCPU
k_spinlock_key_t key = k_spin_lock(&loglock);
while (*msg) {