Skip to content

RT1050EVK: MPU FAULT with Zephyr OS v1.12.0-360-gf3d1b22 using ztest #8611

@fleotescu

Description

@fleotescu

Issue description

Using ztest function (code bellow) with the CONFIG_STDOUT_CONSOLE=y in prj.conf generates an MPU FAULT. This happens with the current version of zephyr (v1.12.0), however was not observed in zephyr version 1.11.99.

Code used:

#include <ztest.h>

void my_test(void)
{
}
void test_main(void)
{
          ztest_test_suite(test_tests, ztest_unit_test(my_test));
          ztest_run_test_suite(test_tests);
}

Ouput

***** Booting Zephyr OS v1.12.0-360-gf3d1b22 *****
***** MPU FAULT *****
  Executing thread ID (thread): 0x200008ac
  Faulting instruction address:  0x0
  Stacking error
  Data Access Violation
  Address: 0x2000181c
Fatal fault in essential thread! Spinning...

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions