Skip to content

Commit

Permalink
Relabelled 'rx' in READ.pio - conflicts with RP2350 reserved word (cf.
Browse files Browse the repository at this point in the history
  • Loading branch information
twystd committed Sep 9, 2024
1 parent b4f9d2e commit 30a9150
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
cd raspberrypi
git clone https://github.com/raspberrypi/pico-sdk.git --branch master
cd pico-sdk
git checkout --detach 1.5.1
git submodule update --init
- name: Setup toolchain
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

### Updated
1. Updated labels in READ.pio for RP2350 reserved words.


## [0.8.9](https://github.com/uhppoted/uhppoted-wiegand/releases/tag/v0.8.9) - 2024-09-06

Expand Down
19 changes: 2 additions & 17 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
# TODO

- [x] Change _rx_ labels in PIO (cf. https://github.com/uhppoted/uhppoted-wiegand/issues/6)

- (?) Make -Wimplicit-function-declaration an error

- [x] Weird card after ACL revoking a card in the middle of a list
- [x] Clear ACL

- [x] Emulate keypad (cf. https://github.com/uhppoted/uhppoted-wiegand/issues/4)
- [x] 4-bit burst mode write
- [x] 4-bit burst mode read
- [x] controller passcodes
- [x] 8-bit burst mode write
- [x] 8-bit burst mode read
- [x] card + PIN writer
- [x] FIXME in acl.c
- [x] card + PIN read
- [x] CHANGELOG
- [x] Check mode == CONTROLLER/READER
- [x] README
- [x] Restructure emulator

- [ ] PicoW+TCP/IP
- [ ] Figure out SD card detect interrupt conflict
- (?) Use GPIO poll
Expand Down
5 changes: 3 additions & 2 deletions pico/core/src/READ.pio
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ loop: ; wait for D0 || D1
in pins, 2 ;
set y, 3
mov x, isr ;
jmp x != y rx ;
jmp x != y rxd ;
jmp loop ;

rx: push block ; push D0 and D1 to FIFO
rxd:
push block ; push D0 and D1 to FIFO

set y,31 ; debounce/noise-gate
lp: nop [31] ;
Expand Down

0 comments on commit 30a9150

Please sign in to comment.