tests: debug/coredump: Disable clang-format for column-aligned macro

Keep manually aligned lines for better readability.

Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
This commit is contained in:
Marek Slowinski 2025-04-28 12:58:11 +02:00 committed by Benjamin Cabé
parent 72509c385e
commit 69592710fa

View File

@ -32,6 +32,7 @@ void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf)
*/
__no_optimization void func_3(uint32_t *addr)
{
/* clang-format off */
#if defined(CONFIG_BOARD_M2GL025_MIV) || \
defined(CONFIG_BOARD_HIFIVE1) || \
defined(CONFIG_BOARD_HIFIVE_UNLEASHED) || \
@ -42,6 +43,7 @@ __no_optimization void func_3(uint32_t *addr)
defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \
defined(CONFIG_SOC_FAMILY_INTEL_ADSP) || \
defined(CONFIG_SOC_FAMILY_OPENHWGROUP_CVA6)
/* clang-format on */
ARG_UNUSED(addr);
/* Call k_panic() directly so Renode doesn't pause execution.
* Needed on ADSP as well, since null pointer derefence doesn't