Skip to content

Commit f693871

Browse files
committed
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
1 parent 3d9cc2d commit f693871

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
@@ -35,6 +35,22 @@
3535
"ant-switch": { "value": "NC" },
3636
"pwr-amp-ctl": { "value": "NC" },
3737
"tcxo": { "value": "NC" }
38+
},
39+
"target_overrides": {
40+
"DISCO_L072CZ_LRWAN1": {
41+
"spi-mosi": "PA_7",
42+
"spi-miso": "PA_6",
43+
"spi-sclk": "PB_3",
44+
"spi-cs": "PA_15",
45+
"reset": "PC_0",
46+
"dio0": "PB_4",
47+
"dio1": "PB_1",
48+
"dio2": "PB_0",
49+
"dio3": "PC_13",
50+
"txctl": "PC_2",
51+
"rxctl": "PA_1",
52+
"pwr-amp-ctl": "PC_1",
53+
"tcxo": "PA_12"
3854
}
3955
}
4056
}

targets/targets.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3134,6 +3134,9 @@
31343134
"ARDUINO",
31353135
"MORPHO"
31363136
],
3137+
"components_add": [
3138+
"SX1276"
3139+
],
31373140
"detect_code": [
31383141
"0833"
31393142
],

0 commit comments

Comments
 (0)