-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmbed_lib.json
82 lines (80 loc) · 2.65 KB
/
mbed_lib.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name" : "ldl",
"macros" : [
"LDL_ENABLE_SX1272",
"LDL_ENABLE_SX1276",
"LDL_ENABLE_SX1261",
"LDL_ENABLE_SX1262",
"LDL_ENABLE_WL55",
"LDL_ENABLE_EU_863_870",
"LDL_ENABLE_US_902_928",
"LDL_ENABLE_AU_915_928",
"LDL_ENABLE_STATIC_RX_BUFFER"
],
"config" : {
"present": 1,
"buffer-size" : {
"help" : "frame buffer size (max is 255)",
"macro_name" : "LDL_MAX_PACKET",
"value" : 255,
"value_max" : 255,
"value_min" : 64
},
"max-redundancy" : {
"help" : "maximum number of redundant packets allowed",
"macro_name" : "LDL_REDUNDANCY_MAX",
"value" : 3,
"value_max" : 15,
"value_min" : 0
},
"spi-frequency" : {
"help" : "SPI frequency for transceiver",
"value" : 6000000,
"value_max" : 10000000,
"value_min" : 1000000
},
"port-include" : {
"macro_name" : "LDL_TARGET_INCLUDE",
"value" : "\"mbed_ldl_port.h\""
},
"tps" : {
"help" : "this timebase works with all the high level timer objects (so don't change it)",
"macro_name" : "LDL_PARAM_TPS",
"value" : "1000000"
},
"advance" : {
"help" : "advance timing of events by this many ticks (probably never required since xtal-error-b can provide fudge factor)",
"macro_name" : "LDL_PARAM_ADVANCE",
"value" : "0"
},
"xtal-error-a" : {
"help" : "(error = (seconds * xtal-error-a * 2) + xtal-error-b) with 1us tick",
"macro_name" : "LDL_PARAM_A",
"value" : "0"
},
"xtal-error-b" : {
"help" : "(error = (seconds * xtal-error-a * 2) + xtal-error-b) with 1us tick",
"macro_name" : "LDL_PARAM_B",
"value" : "4000"
},
"disable-sf12" : {
"help" : "Ensure MAC doesn't use SF12 on inadequate hardware",
"macro_name" : "LDL_DISABLE_SF12",
"value" : 1
},
"enable-verbose-debug" : {
"help" : "Enable very verbose debug messages",
"value" : null
},
"enable-radio-debug" : {
"help" : "Enable verbose radio debug messages (requires enable-verbose-debug)",
"macro_name" : "LDL_ENABLE_RADIO_DEBUG",
"value" : null
},
"l2-version" : {
"help" : "Choose L2 version",
"macro_name" : "LDL_L2_VERSION",
"value" : "LDL_L2_VERSION_1_1"
}
}
}