Skip to content

Commit f17ce83

Browse files
committed
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
1 parent 7ead57b commit f17ce83

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

connectivity/drivers/lora/COMPONENT_SX1276/mbed_lib.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@
6161
"ant-switch": { "value": "NC" },
6262
"pwr-amp-ctl": { "value": "NC" },
6363
"tcxo": { "value": "NC" }
64+
},
65+
"target_overrides": {
66+
"DISCO_L072CZ_LRWAN1": {
67+
"spi-mosi": "PA_7",
68+
"spi-miso": "PA_6",
69+
"spi-sclk": "PB_3",
70+
"spi-cs": "PA_15",
71+
"reset": "PC_0",
72+
"dio0": "PB_4",
73+
"dio1": "PB_1",
74+
"dio2": "PB_0",
75+
"dio3": "PC_13",
76+
"txctl": "PC_2",
77+
"rxctl": "PA_1",
78+
"pwr-amp-ctl": "PC_1",
79+
"tcxo": "PA_12"
6480
}
6581
}
6682
}

targets/targets.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3207,6 +3207,9 @@
32073207
"ARDUINO",
32083208
"MORPHO"
32093209
],
3210+
"components_add": [
3211+
"SX1276"
3212+
],
32103213
"detect_code": [
32113214
"0833"
32123215
],

0 commit comments

Comments
 (0)