Skip to content

Getting Started

Frederic Pillon edited this page Jan 20, 2017 · 30 revisions

Install Arduino.cc IDE

Download and install Arduino software (IDE) for the required OS. (Windows, Linux or Mac instructions)

Add STM32 boards support

See the Boards Manager page.

Configuring IDE

  1. Connect a board to your computer's USB port. For this example: Nucleo L476RG

  2. Launch the Arduino software

    /img/arduino.png

  3. Select the Nucleo L476RG board from the "Tools > Board" menu

/img/SelectBoard.png

  1. 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 COM40
    • On Linux, it's something like /dev/ttyACM0.

    (Or unplug the Arduino, check the menu, and then replug the board and see what new port appears.)

/img/SelectPort.png

Examples

Blink-example

Clone this wiki locally