]> git.scottworley.com Git - tattlekey/commitdiff
client: Install the .uf2
authorScott Worley <scottworley@scottworley.com>
Fri, 29 Sep 2023 19:21:25 +0000 (12:21 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 11 Oct 2023 01:47:24 +0000 (18:47 -0700)
client/CMakeLists.txt
client/default.nix

index 84361f433f6c6a8858701af21c0011d935c4128d..0685a47facead3e1a0d1fad0a9d646d92c10e15d 100644 (file)
@@ -16,4 +16,5 @@ target_link_libraries(tattlekey
   pico_cyw43_arch_none
   )
 
   pico_cyw43_arch_none
   )
 
-install(TARGETS tattlekey RUNTIME LIBRARY ARCHIVE)
+install(TARGETS tattlekey)
+install(FILES build/tattlekey.uf2 TYPE DATA)
index ed65ca2379f283b6a59983a7c902f89fdc0f61bb..58b928e77e1d832a92d55ff787f31de311e9d813 100644 (file)
@@ -14,15 +14,5 @@ let
         "-DPICO_SDK_PATH=${pico-sdk.override { minimal = false; }}/lib/pico-sdk"
         "-DPICO_TOOLCHAIN_PATH=${cc}/bin"
       ];
         "-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 {}
     };
 in pkgs.callPackage tattlekey {}