Make command naming STM32 Nucleo F401RE name for makefile

I need some help finding the name which I should use when running the ‘make BOARD=’ command. I am following a tutorial and the command they used was “make BOARD=esp32-mh-et-live-minikit compile-commands”. The tutorial can be found here:

RIOT/doc/guides/setup-windows at master · RIOT-OS/RIOT · GitHub.

The board I am using as named in the title is the STM32 nucleo F401RE. The tutorial also mentioned using some additional software for flashing to the board, something like Kiel I presume? I’m familiar with flashing to FPGAs, but have never run an OS on one.

I am looking for documention for the name which the board is called, or if anyone happens to know what my board is named.

Any help is appreciated!

You can find the names under boards in the source code. In your case it’s nucleo-f401re

So “make BOARD=nucleo-f401re compile-commands” should do the job.

No. Keil is the propriatary toolchain from ARM. At least I think it’s propriatary. Never really used it that much. I guess you could flash the binary over Keil as well, but that would be more painful. In STMicro case with RIOT you would use OpenOCD. The API documentation goes into more details here. You also need to add the “flash” target.

1 Like