Skip to content

Commit e0217ad

Browse files
committed
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
1 parent c3664d2 commit e0217ad

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

connectivity/drivers/lora/COMPONENT_SX1276/mbed_lib.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,22 @@
7171
"tcxo": {
7272
"value": "NC"
7373
}
74+
},
75+
"target_overrides": {
76+
"DISCO_L072CZ_LRWAN1": {
77+
"spi-mosi": "PA_7",
78+
"spi-miso": "PA_6",
79+
"spi-sclk": "PB_3",
80+
"spi-cs": "PA_15",
81+
"reset": "PC_0",
82+
"dio0": "PB_4",
83+
"dio1": "PB_1",
84+
"dio2": "PB_0",
85+
"dio3": "PC_13",
86+
"txctl": "PC_2",
87+
"rxctl": "PA_1",
88+
"pwr-amp-ctl": "PC_1",
89+
"tcxo": "PA_12"
90+
}
7491
}
7592
}

targets/targets.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3216,6 +3216,9 @@
32163216
"ARDUINO",
32173217
"MORPHO"
32183218
],
3219+
"components_add": [
3220+
"SX1276"
3221+
],
32193222
"detect_code": [
32203223
"0833"
32213224
],

0 commit comments

Comments
 (0)