From: Scott Worley Date: Fri, 29 Sep 2023 19:21:25 +0000 (-0700) Subject: client: Install the .uf2 X-Git-Tag: v0.1.0~77 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/661f51ad9c5a206f6d06b670c969d4cbd9c7b898?ds=inline;hp=e2173399236a55d37e243f666f4052605517699c client: Install the .uf2 --- diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 84361f4..0685a47 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -16,4 +16,5 @@ target_link_libraries(tattlekey pico_cyw43_arch_none ) -install(TARGETS tattlekey RUNTIME LIBRARY ARCHIVE) +install(TARGETS tattlekey) +install(FILES build/tattlekey.uf2 TYPE DATA) diff --git a/client/default.nix b/client/default.nix index ed65ca2..58b928e 100644 --- a/client/default.nix +++ b/client/default.nix @@ -14,15 +14,5 @@ let "-DPICO_SDK_PATH=${pico-sdk.override { minimal = false; }}/lib/pico-sdk" "-DPICO_TOOLCHAIN_PATH=${cc}/bin" ]; - /* - installPhase = '' - runHook preInstall - - mkdir $out - mv build/tattlekey.* $out - - runHook postInstall - ''; - */ }; in pkgs.callPackage tattlekey {}