mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 13:32:32 +00:00
Add a function which can be used to remap embedded device address, into addresses which can be used in the simulated native boards. For the nrf_bsim boards we provide an actual implementation. For other boards, we provide an optional dummy version which does nothing. It is up to each board implementation to decide if they want to provide one or use the dummy. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
13 lines
220 B
C
13 lines
220 B
C
/*
|
|
* Copyright (c) 2024 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#include <stdbool.h>
|
|
#include "NHW_misc.h"
|
|
|
|
bool native_emb_addr_remap(void **addr)
|
|
{
|
|
return nhw_convert_RAM_addr(addr);
|
|
}
|