Loading...
Searching...
No Matches
syscfg.h
Go to the documentation of this file.
1
39#ifndef SYSCFG_SYSCFG_H
40#define SYSCFG_SYSCFG_H
41
42#include "kernel_defines.h"
43
58#define MYNEWT_VAL(_name) MYNEWT_VAL_ ## _name
59#define MYNEWT_VAL_CHOICE(_name, _val) MYNEWT_VAL_ ## _name ## __ ## _val
66#ifndef MYNEWT_VAL_OS_CPUTIME_TIMER_NUM
67#ifdef CPU_FAM_NRF51
68#define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM (3)
69#else
70#define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM (5)
71#endif
72#endif
73
77#ifdef CPU_FAM_NRF51
78#ifndef MYNEWT_VAL_TIMER_3
79#define MYNEWT_VAL_TIMER_3 (1)
80#endif
81#else
82#ifndef MYNEWT_VAL_TIMER_5
83#define MYNEWT_VAL_TIMER_5 (1)
84#endif
85#endif
86
87#if IS_USED(MODULE_NIMBLE)
88/*** @mynewt-nimble */
89#undef MYNEWT_VAL
90#undef MYNEWT_VAL_CHOICE
91#include "npl_sycfg.h"
92#endif
93
94#if IS_USED(MODULE_UWB_CORE)
95/*** @decawave-mynewt-core/hw/drivers/uwb */
97
98/*** @decawave-mynewt-core/lib/twr_ds */
100
101/*** @decawave-mynewt-core/lib/twr_ds_ext */
103
104/*** @decawave-mynewt-core/lib/twr_ss */
106
107/*** @decawave-mynewt-core/lib/twr_ss_ack */
109
110/*** @decawave-mynewt-core/lib/twr_ss_ext */
112
113/*** @decawave-mynewt-core/lib/uwb_rng */
115
116#endif
117
118#if IS_USED(MODULE_UWB_DW1000)
119/*** @decawave-uwb-dw1000/hw/drivers/uwb/uwb_dw1000 */
120#include "syscfg_uwb_dw1000.h"
121#endif
122
123#ifdef __cplusplus
124extern "C" {
125#endif
126
127#ifdef __cplusplus
128}
129#endif
130
131#endif /* SYSCFG_SYSCFG_H */
Common macros and compiler attributes/pragmas configuration.
uwb-dw100 double side two-way ranging module configurations taken from decawave-uwb-core/lib/twr_ds/s...
uwb-core double side extended two-way ranging module configurations taken from decawave-uwb-core/lib/...
uwb-core single-sided two-way ranging module configurations taken from decawave-uwb-core/lib/twr_ss/s...
Single sided ranging using a hw generated ack module configurations taken from decawave-uwb-core/lib/...
uwb-core single-sided two-way ranging module configurations taken from decawave-uwb-core/lib/twr_ss_e...
uwb-core uwb module configurations taken from decawave-uwb-core/hw/drivers/uwb/syscfg....
uwb-dw1000 module configurations taken from decawave-uwb-dw1000/hw/drivers/uwb/uwb_dw1000
uwb-core uwb_rng module configurations taken from decawave-uwb-core/lib/uwb_rng/syscfg....