boards/native/nrf_bsim/common/cmdline.h: Update comments

Replace native_posix w native_sim in the comments,
and account for the fact that we have several nrf bsim targets now

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-08-13 17:05:04 +02:00 committed by Fabio Baltieri
commit 0be493ca7a

View file

@ -5,20 +5,20 @@
*/
/**
* This header exists solely to allow drivers meant for the native_posix board
* to be used directly in the nrf52_bsim board.
* This header exists solely to allow drivers meant for the native_sim board
* to be used directly in the nrf5*_bsim boards.
* Note that such reuse should be done with great care.
*
* The command line arguments parsing logic from native_posix was born as a copy
* The command line arguments parsing logic from native_sim was born as a copy
* of the one from the BabbleSim's libUtil library
* They are therefore mostly equal except for types and functions names.
*
* This header converts these so the native_posix call to dynamically register
* command line arguments is passed to the nrf52_bsim one
* This header converts these so the native_sim call to dynamically register
* command line arguments is passed to the nrf*_bsim one
*/
#ifndef BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
#define BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
#ifndef BOARDS_POSIX_NRF_BSIM_CMDLINE_H
#define BOARDS_POSIX_NRF_BSIM_CMDLINE_H
#include "../../native_posix/cmdline_common.h"
@ -36,4 +36,4 @@ static inline void native_add_command_line_opts(struct args_struct_t *args)
}
#endif
#endif /* BOARDS_POSIX_NRF52_BSIM_CMDLINE_H */
#endif /* BOARDS_POSIX_NRF_BSIM_CMDLINE_H */