1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00
RIOT/pkg/esp32_sdk/patches/0023-esp_system-conditional-define-of-esp_system_abort.patch
2025-05-27 23:25:36 +02:00

27 lines
786 B
Diff

From b7bf248a900dff96bd04f655ffeb120847ec2fb7 Mon Sep 17 00:00:00 2001
From: Gunar Schorcht <gunar@schorcht.net>
Date: Sun, 2 Mar 2025 10:29:08 +0100
Subject: [PATCH 23/28] esp_system: conditional define of esp_system_abort
---
components/esp_system/port/esp_system_chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/esp_system/port/esp_system_chip.c b/components/esp_system/port/esp_system_chip.c
index dff4a1bd83..ce7cb27efb 100644
--- a/components/esp_system/port/esp_system_chip.c
+++ b/components/esp_system/port/esp_system_chip.c
@@ -89,7 +89,9 @@ const char *esp_get_idf_version(void)
return IDF_VER;
}
+#ifndef RIOT_VERSION
void __attribute__((noreturn)) esp_system_abort(const char *details)
{
panic_abort(details);
}
+#endif
--
2.34.1