Skip to content

Commit 6959271

Browse files
mars-lowkartben
authored andcommitted
tests: debug/coredump: Disable clang-format for column-aligned macro
Keep manually aligned lines for better readability. Signed-off-by: Marek Slowinski <[email protected]>
1 parent 72509c3 commit 6959271

File tree

1 file changed

+2
-0
lines changed
  • tests/subsys/debug/coredump/src

1 file changed

+2
-0
lines changed

tests/subsys/debug/coredump/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf)
3232
*/
3333
__no_optimization void func_3(uint32_t *addr)
3434
{
35+
/* clang-format off */
3536
#if defined(CONFIG_BOARD_M2GL025_MIV) || \
3637
defined(CONFIG_BOARD_HIFIVE1) || \
3738
defined(CONFIG_BOARD_HIFIVE_UNLEASHED) || \
@@ -42,6 +43,7 @@ __no_optimization void func_3(uint32_t *addr)
4243
defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \
4344
defined(CONFIG_SOC_FAMILY_INTEL_ADSP) || \
4445
defined(CONFIG_SOC_FAMILY_OPENHWGROUP_CVA6)
46+
/* clang-format on */
4547
ARG_UNUSED(addr);
4648
/* Call k_panic() directly so Renode doesn't pause execution.
4749
* Needed on ADSP as well, since null pointer derefence doesn't

0 commit comments

Comments
 (0)