I've selected Generic STM32WB as board and Generic WB55RGVx as board part number.
Upload method: SWD
Is there any additional settings I need to do? I even went into CubeIDE and updated the firmware. Do I need to flash it with a specific .bin? I first looked at this github project but that's jsut for bluetooth functionality if I understand correctly.
In the arduino log I used the basic Blink example sketch and it seem like it flashes correctly but the led do not start to blink:
-------------------------------------------------------------------
STM32CubeProgrammer v2.16.0
-------------------------------------------------------------------
ST-LINK SN : 0670FF515551678367073554
ST-LINK FW : V2J42M27
Board : P-NUCLEO-WB55
Voltage : 3.24V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x495
Revision ID : Rev Y
Device name : STM32WB5x/35xx
Flash size : 1 MBytes
Start Address : 8000000
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0xD5
Debug in Low Power mode enabled
Memory Programming ...
Opening and parsing file: IR_transmitterReceiver.ino.bin
File : IR_transmitterReceiver.ino.bin
Size : 18.68 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 4]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.564
RUNNING Program ...
Address: : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully
I don't have a Nucleo board so can't help with any specifics, but one thing I would suggest is to check which pin the blink sketch is toggling (LED_BUILTIN) as it may not be the pin with the LED connected to it - especially if you have selected a generic board.
You would need to consult the schematic for your Nucleo board to determine the actual pin used.
Just a thought - does the generic board you have selected understand actual port pin names?
Have you tried using port pin names like PA0, PA1 etc.
If you use names like A0 or LED_BUILTIN, then you need to dig into the board support files to see which actual pin on the chip the originator of the support files has mapped to these names.
I downloaded the STM32duino files from github and had a poke about. If I go with "Generic STM32WB series" and then go with a board part number of "Generic WB55RGVx", then I think the useful information is in files in the path:
The variant_P_NUCLEO_WB55RG.h file appears to show that LED_BUILTIN is defined and it's assigned to LED1 which the file suggests is the blue LED. There are also definitions for LED2 (green) and LED3 (red).
You might want to poke around in some of the other files in that folder as they should hopefully give you a clue as to how to correctly refer to the pin you want.
Of course, if i've got the wrong board, then this is not going to be much use to you - but it may point you in the right direction.