Files
zephyr/tests/application_development/code_relocation/src/test_file2.c
Fabio Baltieri def230187b test: fix more legacy #include paths
Add a bunch of missing "zephyr/" prefixes to #include statements in
various test and test framework files.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-08-02 16:41:41 +01:00

22 lines
462 B
C

/*
* Copyright (c) 2012-2014 Wind River Systems, Inc.
* Copyright (c) 2022, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/zephyr.h>
#include <zephyr/sys/printk.h>
#include <zephyr/ztest.h>
void function_in_sram(int32_t value)
{
char src[8] = "data\n";
char dst[8];
printk("Hello World! %s\n", CONFIG_BOARD);
memcpy(dst, src, 8);
printk("Address of memcpy %p\n", &memcpy);
zassert_mem_equal(src, dst, 8, "memcpy compare error");
}