diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd93c2c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +release +build_release diff --git a/.gitmodules b/.gitmodules index 852c02c..bbac78c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "pico-keys-sdk"] path = pico-keys-sdk url = https://github.com/polhenarejos/pico-keys-sdk +[submodule "pico-sdk"] + path = pico-sdk + url = https://github.com/raspberrypi/pico-sdk.git diff --git a/build_pico_fido.sh b/build_pico_fido.sh index 04945c3..234882a 100755 --- a/build_pico_fido.sh +++ b/build_pico_fido.sh @@ -50,7 +50,9 @@ for board in adafruit_feather_rp2040 \ wiznet_w5100s_evb_pico do rm -rf * - PICO_SDK_PATH=../../pico-sdk cmake .. -DPICO_BOARD=$board + # PICO_SDK_PATH=../../pico-sdk cmake .. -DPICO_BOARD=$board + PICO_SDK_PATH=../pico-sdk cmake .. -DPICO_BOARD=$board + make -kj20 mv pico_fido.uf2 ../release/pico_fido_$board-$VERSION_MAJOR.$VERSION_MINOR.uf2 diff --git a/build_release/.gitkeep b/build_release/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/pico-sdk b/pico-sdk new file mode 160000 index 0000000..6a7db34 --- /dev/null +++ b/pico-sdk @@ -0,0 +1 @@ +Subproject commit 6a7db34ff63345a7badec79ebea3aaef1712f374 diff --git a/release/.gitkeep b/release/.gitkeep new file mode 100644 index 0000000..e69de29