-
Notifications
You must be signed in to change notification settings - Fork 1k
Getting Started
Download and install Arduino software (IDE) for the required OS. (Windows, Linux or Mac instructions)
This is the needed step to get STM32 targets added to Arduino. So carefully follow the steps described in the Boards Manager page.
-
Connect a board to the computer USB port. For this example: Nucleo L476RG
-
Launch the Arduino software
-
Select the Nucleo L476RG board in two steps:
a. From the "Tools > Board" menu, select the STM32 board series: Nucleo-64
b. Then from the "Tools > Nulceo 64 boards" menu, select the Nucleo L476RG
-
Select the serial port from the "Tools > Port" menu
- On Mac, it's something like /dev/tty.usbmodem-1511.
- On Windows, it's often the highest-numbered COM port. In this example, it's COM5
- On Linux, it's something like /dev/ttyACM0.
(Or unplug the board, check the menu, and then plug the board and check what new port appears)
Depending of the board, several upload method could be proposed, thanks the "Tools > Upload Method" menu
- Blink-example
- Firmata-example (to use with ScratchX for example)
-
Advanced usages