Feature/custom_button #223
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
build
|
||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Submodule pico-keys-sdk updated: 05fe0596ef...92c2f0b4a5
Reference in New Issue
Block a user