File tree Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,22 @@ You can view the configurable variables with
5
5
$ picotool blink_any.uf2
6
6
File blink_any.uf2:
7
7
8
- LED_PIN = 25
9
- LED_TYPE = 0
8
+ LED Configuration:
9
+ LED_PIN = 25
10
+ LED_TYPE = 0
10
11
11
12
$ picotool config hello_anything.uf2
12
13
File hello_anything.uf2:
13
14
14
- use_usb = 1
15
- uart_baud = 115200
16
- uart_rx = 1
17
- uart_tx = 0
18
- uart_num = 0
19
- use_uart = 1
20
15
text = "Hello, world!"
16
+ Enabled Interfaces:
17
+ use_usb = 1
18
+ use_uart = 1
19
+ UART Configuration:
20
+ uart_baud = 115200
21
+ uart_rx = 1
22
+ uart_tx = 0
23
+ uart_num = 0
21
24
```
22
25
23
26
For example, to blink the LED on pin 7 instead of 25 use
@@ -41,13 +44,15 @@ setting text -> "Goodbye, world!"
41
44
The binaries can also be configured after being loaded onto the device with
42
45
```
43
46
$ picotool config
44
- use_usb = 1
45
- uart_baud = 115200
46
- uart_rx = 1
47
- uart_tx = 0
48
- uart_num = 0
49
- use_uart = 1
50
47
text = "Hello, world!"
48
+ Enabled Interfaces:
49
+ use_usb = 1
50
+ use_uart = 1
51
+ UART Configuration:
52
+ uart_baud = 115200
53
+ uart_rx = 1
54
+ uart_tx = 0
55
+ uart_num = 0
51
56
52
57
$ picotool config -s use_uart 0
53
58
use_uart = 1
You can’t perform that action at this time.
0 commit comments