Skip to content

Commit 0be493c

Browse files
aescolarfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 17369f6 commit 0be493c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

boards/native/nrf_bsim/common/cmdline.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
*/
66

77
/**
8-
* This header exists solely to allow drivers meant for the native_posix board
9-
* to be used directly in the nrf52_bsim board.
8+
* This header exists solely to allow drivers meant for the native_sim board
9+
* to be used directly in the nrf5*_bsim boards.
1010
* Note that such reuse should be done with great care.
1111
*
12-
* The command line arguments parsing logic from native_posix was born as a copy
12+
* The command line arguments parsing logic from native_sim was born as a copy
1313
* of the one from the BabbleSim's libUtil library
1414
* They are therefore mostly equal except for types and functions names.
1515
*
16-
* This header converts these so the native_posix call to dynamically register
17-
* command line arguments is passed to the nrf52_bsim one
16+
* This header converts these so the native_sim call to dynamically register
17+
* command line arguments is passed to the nrf*_bsim one
1818
*/
1919

20-
#ifndef BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
21-
#define BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
20+
#ifndef BOARDS_POSIX_NRF_BSIM_CMDLINE_H
21+
#define BOARDS_POSIX_NRF_BSIM_CMDLINE_H
2222

2323
#include "../../native_posix/cmdline_common.h"
2424

@@ -36,4 +36,4 @@ static inline void native_add_command_line_opts(struct args_struct_t *args)
3636
}
3737
#endif
3838

39-
#endif /* BOARDS_POSIX_NRF52_BSIM_CMDLINE_H */
39+
#endif /* BOARDS_POSIX_NRF_BSIM_CMDLINE_H */

0 commit comments

Comments
 (0)