Fix: device profile for OpenDTU Fusion with W5500 (#1259)

* explicitly disable NRF24 when using CMT + W5500. fixes #1257.
* explicitly disable CMT when using NRF + W5500
* added missing LED mapping for W5500 profiles
This commit is contained in:
vaterlangen 2024-09-16 22:10:43 +02:00 committed by GitHub
parent 8ff94e7b94
commit 27f5a943f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,6 +197,18 @@
"en": 38, "en": 38,
"cs": 37 "cs": 37
}, },
"cmt": {
"clk": -1,
"cs": -1,
"fcs": -1,
"sdio": -1,
"gpio2": -1,
"gpio3": -1
},
"led": {
"led0": 17,
"led1": 18
},
"w5500": { "w5500": {
"sclk": 39, "sclk": 39,
"mosi": 40, "mosi": 40,
@ -208,6 +220,14 @@
}, },
{ {
"name": "OpenDTU Fusion v2 with CMT2300A and W5500 ethernet", "name": "OpenDTU Fusion v2 with CMT2300A and W5500 ethernet",
"nrf24": {
"miso": -1,
"mosi": -1,
"clk": -1,
"irq": -1,
"en": -1,
"cs": -1
},
"cmt": { "cmt": {
"clk": 6, "clk": 6,
"cs": 4, "cs": 4,
@ -216,6 +236,10 @@
"gpio2": 3, "gpio2": 3,
"gpio3": 8 "gpio3": 8
}, },
"led": {
"led0": 17,
"led1": 18
},
"w5500": { "w5500": {
"sclk": 39, "sclk": 39,
"mosi": 40, "mosi": 40,