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_ext_sram_data = 10U;
11 
function_in_ext_flash(void)12 void function_in_ext_flash(void)
13 {
14 	printk("Address of %s %p\n", __func__, &function_in_ext_flash);
15 	printk("Address of var_ext_sram_data %p (%d)\n", &var_ext_sram_data, var_ext_sram_data);
16 }
17