Hi, I'm using ST Core for the Blue pill. I use a stlink v2 to upload the sketch (I use arduino IDE). My sketch is here:
void setup() {
Serial.begin(9600);
Serial.println("ciao");
delay(3000);
}
void loop() { }
Ofc I use the USB as a serial and my arduino ide can recognize the blue pill in the serial monitor when I connect it.
But it prints nothing.
Please do bear in mind that I have confirmed that the sketches can be uploaded and executed successfully (many times) but never needed serial support.
I also have the following sketch settings:
Board part number -> Blue Pill
U(S)ART support -> Enabled (generic Serial)
USB Support -> CDC (generic serial supersedes USART)
USB Speed -> Low/Full
Optimize -> smallest
Debug symbols -> no symbols
C Runtime -> Newlib Nano (default)
How can I diagnose and solve this?
Thanks