No, it does not work with the Arduino IDE 2.1.1. I get
Sketch uses 12012 bytes (36%) of program storage space. Maximum is 32768 bytes.
Global variables use 1176 bytes (19%) of dynamic memory, leaving 4968 bytes for local variables. Maximum is 6144 bytes.
-------------------------------------------------------------
STM32CubeProgrammer v2.13.0
-------------------------------------------------------------
ST-LINK SN : 066AFF313050353043144645
ST-LINK FW : V2J41M27
Board : NUCLEO-C031C6
Voltage : 3.24V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x453
Revision ID : Rev Z
Device name : STM32C03x
Flash size : 32 KBytes
Device type : MCU
Device CPU : Cortex-M0+
BL Version : 0x52
Memory Programming ...
Opening and parsing file: STM32_C0.ino.bin
File : STM32_C0.ino.bin
Size : 11.94 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 5]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.453
RUNNING Program ...
Address: : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully
With the scetch
void setup()
{
Serial.begin(115200);
while (!Serial) {}
Serial.println("Setup STM32-C0");
}
void loop()
{
Serial.println("loop STM32-C0");
}
nothing is displayed on the serial monitor.
Richard