1 /* 2 * Copyright (c) 2022 Carlo Caione <ccaione@baylibre.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/sys/printk.h> 9 10 uint32_t var_sram_data = 10U; 11 function_in_sram(void)12void function_in_sram(void) 13 { 14 printk("Address of %s %p\n", __func__, &function_in_sram); 15 printk("Address of var_sram_data %p (%d)\n", &var_sram_data, var_sram_data); 16 } 17