From 30a9150520b1d9a710de5dddecf3695136c02b6c Mon Sep 17 00:00:00 2001 From: twystd Date: Mon, 9 Sep 2024 01:01:48 -0700 Subject: [PATCH] Relabelled 'rx' in READ.pio - conflicts with RP2350 reserved word (cf. https://github.com/uhppoted/uhppoted-wiegand/issues/6) --- .github/workflows/build.yml | 1 - CHANGELOG.md | 3 +++ TODO.md | 19 ++----------------- pico/core/src/READ.pio | 5 +++-- 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67b1809..f817bee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 10aed6c..da679ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/TODO.md b/TODO.md index 52c1780..60b6ab6 100644 --- a/TODO.md +++ b/TODO.md @@ -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 diff --git a/pico/core/src/READ.pio b/pico/core/src/READ.pio index 05ffa0a..4262ce1 100644 --- a/pico/core/src/READ.pio +++ b/pico/core/src/READ.pio @@ -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] ;