Compare commits
13 Commits
daimiaopen
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab6cc09c08 | ||
|
|
cba1db783f | ||
|
|
9788029e8a | ||
|
|
dfd7927413 | ||
|
|
cfc23a1f0e | ||
|
|
a7630dca5c | ||
|
|
7f31e6a00f | ||
|
|
a1cb2fa3bf | ||
|
|
faceaf8fc6 | ||
|
|
c33b133c6b | ||
|
|
8036a5dda4 | ||
|
|
f3866c4a93 | ||
|
|
105cf61866 |
@@ -75,13 +75,6 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(USB_ITF_HID 1)
|
set(USB_ITF_HID 1)
|
||||||
|
|
||||||
option(WAVESHARE_RP2350_ONE "Enable Waveshare RP2350-One LED support" OFF)
|
|
||||||
if(WAVESHARE_RP2350_ONE)
|
|
||||||
add_definitions(-DWAVESHARE_RP2350_ONE=1)
|
|
||||||
message(STATUS "Waveshare RP2350-One: \t enabled")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(pico-keys-sdk/pico_keys_sdk_import.cmake)
|
include(pico-keys-sdk/pico_keys_sdk_import.cmake)
|
||||||
|
|
||||||
if(NOT ESP_PLATFORM)
|
if(NOT ESP_PLATFORM)
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -75,7 +75,6 @@ PICO_SDK_PATH=/path/to/pico-sdk cmake .. -DPICO_BOARD=board_type -DUSB_VID=0x123
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
Note that `PICO_BOARD`, `USB_VID` and `USB_PID` are optional. If not provided, `pico` board and VID/PID `FEFF:FCFD` will be used.
|
Note that `PICO_BOARD`, `USB_VID` and `USB_PID` are optional. If not provided, `pico` board and VID/PID `FEFF:FCFD` will be used.
|
||||||
For Waveshare RP2350-One board, add `-DWAVESHARE_RP2350_ONE=ON` to enable RGB LED support on GPIO 16.
|
|
||||||
|
|
||||||
Additionally, you can pass the `VIDPID=value` parameter to build the firmware with a known VID/PID. The supported values are:
|
Additionally, you can pass the `VIDPID=value` parameter to build the firmware with a known VID/PID. The supported values are:
|
||||||
|
|
||||||
@@ -119,18 +118,6 @@ While processing, the Pico FIDO is busy and cannot receive additional commands u
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Waveshare RP2350-One RGB LED
|
|
||||||
|
|
||||||
The Waveshare RP2350-One uses a WS2812 RGB LED on GPIO 16. Different colors indicate different states:
|
|
||||||
|
|
||||||
| State | Color | Pattern |
|
|
||||||
| ---------------- | --------- | ------------------------------- |
|
|
||||||
| Not mounted | 🔴 Red | 500ms on / 500ms off |
|
|
||||||
| Mounted (active) | 🟢 Green | 500ms on / 500ms off |
|
|
||||||
| Suspended (idle) | 🔵 Blue | 1000ms on / 2000ms off |
|
|
||||||
| Processing | 🟢 Green | 50ms on / 50ms off (fast blink) |
|
|
||||||
| Press to confirm | 🟡 Yellow | 1000ms on / 100ms off |
|
|
||||||
|
|
||||||
## Driver
|
## Driver
|
||||||
|
|
||||||
Pico FIDO uses the `HID` driver, which is present in all operating systems. It should be detected by all OS and browser/applications just like normal USB FIDO keys.
|
Pico FIDO uses the `HID` driver, which is present in all operating systems. It should be detected by all OS and browser/applications just like normal USB FIDO keys.
|
||||||
|
|||||||
Submodule pico-keys-sdk updated: 8075611f15...12b4940662
@@ -22,13 +22,13 @@ cd ../..
|
|||||||
mkdir build_pico
|
mkdir build_pico
|
||||||
cd build_pico
|
cd build_pico
|
||||||
cmake -DPICO_SDK_PATH=../pico-sdk ..
|
cmake -DPICO_SDK_PATH=../pico-sdk ..
|
||||||
make
|
make -j`nproc`
|
||||||
cd ..
|
cd ..
|
||||||
elif [[ $1 == "esp32" ]]; then
|
elif [[ $1 == "esp32" ]]; then
|
||||||
sudo apt install -y git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
|
sudo apt install -y git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
|
||||||
git clone --recursive https://github.com/espressif/esp-idf.git
|
git clone --recursive https://github.com/espressif/esp-idf.git
|
||||||
cd esp-idf
|
cd esp-idf
|
||||||
git checkout tags/v5.5
|
git checkout tags/v5.5.1
|
||||||
./install.sh esp32s3
|
./install.sh esp32s3
|
||||||
. ./export.sh
|
. ./export.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
Reference in New Issue
Block a user