I am using STcore=>Discovery L072CZ and Nucleo-64 L073 . i have tested Blink program and UART1, they work fine ! declaring the UART2 is problematic for me. For pin compatibility with F103 and my PCB i need to make the USART2 work!
Code: Select all
// thing i have tried
HardwareSerial SerialLora(D0, D1);// when discovery was selected.
HardwareSerial Serial2(USART2); // when Nucleo was selected