Skip to content

Commit f58b42f

Browse files
committed
[tools] Fix python syntax
1 parent a3ac5db commit f58b42f

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

tools/modm_tools/avrdude.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### AvrDude
1515
1616
This tool simply wraps the `avrdude` command to provide two features:

tools/modm_tools/bmp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### Black Magic Probe
1515
1616
This tool wraps GDB to program an ELF file onto a target connected to a BMP.

tools/modm_tools/bossac.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### BOSSA
1515
1616
This tool simply wraps the `bossac` command line tool to guess the serial port.

tools/modm_tools/build_id.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### GNU Build-ID
1515
1616
To extract the build ID from an ELF file:

tools/modm_tools/elf2uf2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1212
# -----------------------------------------------------------------------------
1313

14-
"""
14+
r"""
1515
### UF2 Converter
1616
1717
UF2 is a [Microsoft file format](https://github.com/microsoft/uf2) to pass

tools/modm_tools/itm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### Logging via Single-Wire Output (SWO)
1515
1616
Logging using the SWO protocol is supported by the `modm:platform:itm` module.

tools/modm_tools/jlink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### JLink
1515
1616
Simply wraps JLinkGDBServer and issues the right command to program the target.

tools/modm_tools/openocd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### OpenOCD
1515
1616
Simply wraps OpenOCD and issues the right command to program the target.

tools/modm_tools/rtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111
# -----------------------------------------------------------------------------
1212

13-
"""
13+
r"""
1414
### Logging via Real-Time Transport (RTT)
1515
1616
Logging using the RTT protocol is supported by the `modm:platform:rtt` module.

tools/modm_tools/size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# License, v. 2.0. If a copy of the MPL was not distributed with this
1010
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
1111

12-
"""
12+
r"""
1313
### Size Report
1414
1515
Inspects the ELF file and generates a size report of the static usage of the

0 commit comments

Comments
 (0)