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: espflash/README.md
+12
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@ OPTIONS:
36
36
--bootloader <BOOTLOADER>
37
37
Path to a binary (.bin) bootloader file
38
38
39
+
--dtr <DTR> [only available when built with the "raspberry" feature]
40
+
DTR pin to use for the internal UART hardware. Uses BCM numbering
41
+
39
42
--erase-otadata
40
43
Erase the OTADATA partition This is useful when using multiple OTA partitions and still
41
44
wanting to be able to reflash via espflash
@@ -67,6 +70,9 @@ OPTIONS:
67
70
--ram
68
71
Load the application to RAM instead of Flash
69
72
73
+
--rts <RTS> [only available when built with the "raspberry" feature]
74
+
RTS pin to use for the internal UART hardware. Uses BCM numbering
75
+
70
76
-s, --flash-size <SIZE>
71
77
Flash size of the target [possible values: 256KB, 512KB, 1MB, 2MB, 4MB, 8MB, 16MB, 32MB,
72
78
64MB, 128MB]
@@ -90,6 +96,12 @@ SUBCOMMANDS:
90
96
write-bin-to-flash Writes a binary file to a specific address in the chip's flash
91
97
```
92
98
99
+
## Compile-time features
100
+
101
+
-`raspberry`: enables configuring DTR and RTS GPIOs which are necessary to use a Raspberry Pi's
102
+
internal UART peripherals. This feature is optional (external USB <-> UART converters work
103
+
without it) and adds a dependency on [`rppal`](https://crates.io/crates/rppal).
104
+
93
105
## Configuration
94
106
95
107
You can also specify the serial port and/or expected VID/PID values by setting them in the configuration file. This file is in different locations depending on your operating system:
0 commit comments