zephyr/tests/arch/arm/arm_ramfunc
Keith Packard 56f0173b86 tests/arm_ramfunc: Disable picolibc heap for this test
This leaves an MPU partition free for this test

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-11-08 10:44:36 +01:00
..
boards
src test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
CMakeLists.txt
prj.conf tests: arch: arm: move test arm_ramfunc to new ztest API 2022-07-06 10:46:56 +02:00
README.txt ztest: Fix userspace ztests in new API 2022-05-25 11:20:13 +09:00
testcase.yaml tests/arm_ramfunc: Disable picolibc heap for this test 2022-11-08 10:44:36 +01:00

Title: Test to verify code execution from SRAM for XIP images (ARM Only)

Description:

This test verifies that we can define functions in SRAM (and
successfully execute them from SRAM) in ARM XIP images. It
also verifies that the .ramfunc section is accessible by
nPRIV code when building with support for user mode
(CONFIG_TEST_USERSPACE=y). Only for ARM Cortex-M targets.

---------------------------------------------------------------------------

Building and Running Project:

This project outputs to the console.  It can be built and executed on QEMU as
follows:

    ninja/make run

---------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    ninja/make clean    # discard results of previous builds
                        # but keep existing configuration info
or
    ninja/make pristine # discard results of previous builds
                        # and restore pre-defined configuration info

---------------------------------------------------------------------------

Sample Output:

***** Booting Zephyr OS build zephyr-v1.14.0-1726-gb95a71960622 *****
Running test suite arm_ramfunc
===================================================================
starting test - test_arm_ramfunc
PASS - test_arm_ramfunc
===================================================================
Test suite arm_ramfunc succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL