Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 003b011

Browse files
Fix spelling error.
Fix instructions of how to use stm32flash.
1 parent 73600ed commit 003b011

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

‎guides/flashing.md‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,7 @@ Each template contains a make file located at the root of the template and is ca
1616

1717
### Flashing tool
1818

19-
There are differennt interfaces (serial, I2C, SPI, SWD, etc.) and programs you can use to flash code to your device. Make sure to set the `FLASHING_TOOL` variable in your makefile to the name of your flashing tool. Currently the project has two options available:
20-
21-
- [st-flash](https://github.com/stlink-org/stlink) uses SWD interface. (default)
22-
- [stm32flash](https://github.com/stm32duino/stm32flash) uses serial interface.
23-
24-
### Serial port
25-
26-
Follow this step only if you are using `stm32flash`.
27-
28-
In your makefile set `FLASHING_SERIAL_PORT` variable to the name of the serial port to which your device is connected.
19+
There are different interfaces (serial, I2C, SPI, SWD, etc.) and programs you can use to flash code to your device. If you want to use [stm32flash](https://github.com/stm32duino/stm32flash), in your makefile set the variables`FLASHING_TOOL` to 'stm32flash' and `FLASHING_SERIAL_PORT` to the name of the serial port to which your device is connected.
2920

3021
### Connect an LED
3122

@@ -54,8 +45,7 @@ Most development boards come with jumpers or (DIP-)switches to set the BOOT-mode
5445
Before flashing your device, make sure to have done all the things on this checklist:
5546

5647
- Make sure to change the `DEVICE` variable value in the make file to the name of your device;
57-
- Make sure to set the `FLASHING_TOOL` variable to the name of your flashing tool;
58-
- If you are using `stm32flash`, make sure to set the `FLASHING_SERIAL_PORT` variable to the name of your serial port;
48+
- If you are using `stm32flash`, make sure to set the `FLASHING_TOOL` variable to that name and `FLASHING_SERIAL_PORT` to the name of your serial port;
5949
- Make sure to have changed the pin to "blink" if the LED on your development board is not connected to pin `PC13`;
6050
- Optionally, make sure to connect an LED to your development board if your development board does not have one built-in;
6151
- Make sure that you have properly connected the debugger to your development board;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /