argparse.h 511 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2017 Oticon A/S
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef BSIM_NRF_ARGS_H
  7. #define BSIM_NRF_ARGS_H
  8. #include <stdint.h>
  9. #include "NRF_hw_args.h"
  10. #include "bs_cmd_line.h"
  11. #include "bs_cmd_line_typical.h"
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct nrf52_bsim_args_t {
  16. BS_BASIC_DEVICE_OPTIONS_FIELDS
  17. nrf_hw_sub_args_t nrf_hw;
  18. };
  19. struct nrf52_bsim_args_t *nrfbsim_argsparse(int argc, char *argv[]);
  20. void nrfbsim_register_args(void);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif