1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #include "bs_cmd_line.h" 7 #include "bs_tracing.h" 8 bs_add_extra_dynargs(bs_args_struct_t * args_struct_toadd)9__attribute__((weak)) void bs_add_extra_dynargs(bs_args_struct_t *args_struct_toadd) { 10 (void) args_struct_toadd; 11 bs_trace_warning_line("%s: The integrating program is expected to provide this API." 12 "This weak function should not have been called\n", __func__); 13 } 14 phy_sync_ctrl_set_last_phy_sync_time(bs_time_t time)15__attribute__((weak)) void phy_sync_ctrl_set_last_phy_sync_time(bs_time_t time){ 16 (void) time; 17 /* Intentionally left empty */ 18 /* 19 * There is no strong requirement for the integration program to provide this API. 20 * Check Zephyr's bsim boards phy_sync_ctrl.c for more information. 21 */ 22 } 23 bsim_args_get_global_device_nbr(void)24__attribute__((weak)) unsigned int bsim_args_get_global_device_nbr(void){ 25 return 0; 26 } 27