Upload the project¶
To upload,
-
Press Ctrl+Shift+U, or
-
Call the prompt with Ctrl+Shift+P, enter
Tasks: Run Taskand select Upload.
Some boards require specific procedures.
- Please refer to Manage the boards.
Customise the serial port¶
The serial port is used for the upload of the sketches and for the console.
Each platform has a different implementation of the USB port naming.
To change the serial port,
-
Open the main
Makefile. -
Uncomment the line
BOARD_PORTby removing the leading#and define the serial port.
BOARD_PORT = /dev/tty.usbACM1
To know the USB port name of the active board, proceed as follow:
-
Launch a Terminal window
-
Plug the board on the USB port.
-
Run the following command and note the name of the port.
ls /dev/ttyACM*
/dev/tty.usbACM1
By default, the speed of the serial port is set to 1152000. To change it,
-
Open the main
Makefile. -
Uncomment the line
SERIAL_BAUDRATEand set the desired speed.
SERIAL_BAUDRATE for the serial console, 115200 by default
Uncomment and specify another speed
SERIAL_BAUDRATE = 230400
Manage specific boards¶
Some boards require a specific procedure.
- Please refer to the Upload section for the board under Manage the boards.