From b1e5d8c609c6f94b7f50f3730c71eb4290fd506f Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Fri, 5 Jun 2020 14:45:03 +0300 Subject: [PATCH] Add S2LP driver pin config to application New S2LP driver does not provide PIN configuration for MTB_STM_S2LP board. Define pins in the application configuration file. --- configs/mesh_wisun_S2LP.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/mesh_wisun_S2LP.json b/configs/mesh_wisun_S2LP.json index 5fc4d19..0294522 100644 --- a/configs/mesh_wisun_S2LP.json +++ b/configs/mesh_wisun_S2LP.json @@ -35,6 +35,19 @@ "LED": "LED_RED", "BUTTON": "USER_BUTTON", "BUTTON_MODE": "PullDown" + }, + "MTB_STM_S2LP": { + "s2lp.SPI_SDI" : "PA_7", + "s2lp.SPI_SDO" : "PA_6", + "s2lp.SPI_SCLK" : "PA_5", + "s2lp.SPI_CS" : "PC_0", + "s2lp.SPI_SDN" : "PF_13", + "s2lp.SPI_GPIO0": "PA_3", + "s2lp.SPI_GPIO1": "PC_3", + "s2lp.SPI_GPIO2": "PF_3", + "s2lp.SPI_GPIO3": "PF_10", + "s2lp.I2C_SDA" : "PB_7", + "s2lp.I2C_SCL" : "PB_6" } } }