From bd47f9713cb449452a957706c242c05d3e7b8b8c Mon Sep 17 00:00:00 2001 From: fbuirey Date: Tue, 16 Dec 2025 10:49:13 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Ajout=20du=20support=20d'un=20bouton=20cust?= =?UTF-8?q?omis=C3=A9=20pour=20Pico=20RP2350?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .gitmodules | 2 +- CMakeLists.txt | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c795b05 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 852c02c..216b363 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "pico-keys-sdk"] path = pico-keys-sdk - url = https://github.com/polhenarejos/pico-keys-sdk + url = git@github.com:fbuirey/pico-keys-sdk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cc83a2..497a4f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,6 +131,12 @@ target_compile_options(pico_fido PUBLIC -Werror ) + +if(CUST_BUTTON_PIN) + target_compile_definitions(pico_fido PUBLIC CUST_BUTTON_PIN=${CUST_BUTTON_PIN}) +endif() +message(STATUS "CUST_BUTTON_PIN is set to: ${CUST_BUTTON_PIN}") + string(FIND ${CMAKE_C_COMPILER} ":" COMPILER_COLON) if (${COMPILER_COLON} GREATER_EQUAL 0) target_compile_options(pico_fido PUBLIC -- 2.34.1 From 8691dda434f736b926f1c0abcf06ba91b9405f35 Mon Sep 17 00:00:00 2001 From: fbuirey Date: Tue, 16 Dec 2025 11:02:20 +0100 Subject: [PATCH 2/2] commit pico-sdk-key --- pico-keys-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico-keys-sdk b/pico-keys-sdk index 05fe059..92c2f0b 160000 --- a/pico-keys-sdk +++ b/pico-keys-sdk @@ -1 +1 @@ -Subproject commit 05fe0596ef004313e166b1e2f900e9af351dd26c +Subproject commit 92c2f0b4a5b46a1ae926cd2ba17878cb3f9fe702 -- 2.34.1