
variant.cpp - changed the WEAK void SystemClock_Config(void) according to the main.cpp file generated by STM32CubeMX, i.e.commented out the pin PB_7 in WEAK const PinMap PinMap_UART_RX.commented out the pin PB_6 in WEAK const PinMap PinMap_UART_TX.WEAK const PinMap PinMap_I2C_SCL changed the pin to PB_6 and commented out the others (PB_8, PB_10, PB_13).in WEAK const PinMap PinMap_I2C_SDA changed the pin to PB_7 and commented out the others (PB_9, PB_11, PB_14).Thanks to the existing custom board, which is provided in the gitlab repo, I started with these files and added the “missing” parts for I2C, which were generated by the STM32CubeMX code after having setup the STM32 and configured the pins appropriately. I did all the steps, most probably not correct, according to (board). There is one little problem on which I am working the last days: The I2C bus. I also used the code provided by Thanks to the detailed README I could run the code in platformIO, added the custom board (adopted the minipill_l051c8_lora.json file) and I can “talk” to the STM32L051C8T6.

In the meantime I could obtain a STM32L051C8T6.
