You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/flashing.md
+2-12Lines changed: 2 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,7 @@ Each template contains a make file located at the root of the template and is ca
16
16
17
17
### Flashing tool
18
18
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:
-[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.
29
20
30
21
### Connect an LED
31
22
@@ -54,8 +45,7 @@ Most development boards come with jumpers or (DIP-)switches to set the BOOT-mode
54
45
Before flashing your device, make sure to have done all the things on this checklist:
55
46
56
47
- 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;
59
49
- Make sure to have changed the pin to "blink" if the LED on your development board is not connected to pin `PC13`;
60
50
- Optionally, make sure to connect an LED to your development board if your development board does not have one built-in;
61
51
- Make sure that you have properly connected the debugger to your development board;
0 commit comments