Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/picoboot.pio
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ wait_bit:
mov x, y ; Copy y value to x, it represents number of bits in the transfer
set pindirs 1 ; Set data line as output

out pins, 1 ; Output single IPL bit
jmp x-- on_rising_edge ; Decrement x
jmp write_bit ; Output first IPL bit from OSR

on_rising_edge:
wait 0 gpio PIN_CLK ; Sample until rising edge on CLK line
Expand Down