stm32 compile support

This commit is contained in:
willemml 2023-05-09 12:34:57 -07:00
parent 1980c01c2d
commit 8573e86539
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
2 changed files with 23 additions and 13 deletions

View file

@ -36,17 +36,23 @@ in {
programs.chromium.package = pkgs.chromium-mac; programs.chromium.package = pkgs.chromium-mac;
home.packages = with pkgs; [ home.packages = with pkgs;
colima [
iterm2 colima
pinentry-mac iterm2
pinentry-touchid pinentry-mac
pngpaste pinentry-touchid
qbittorrent-mac pngpaste
spoof-mac qbittorrent-mac
utm spoof-mac
vlc-mac utm
]; vlc-mac
]
++ (let
pkgs_x86_only = pkgs // {system = "x86_64-darwin";};
in (with pkgs_x86_only; [
gcc-arm-embedded
]));
targets.darwin = { targets.darwin = {
defaults = { defaults = {

View file

@ -3,7 +3,7 @@
lib, lib,
... ...
}: let }: let
linux = with pkgs; []; linux = with pkgs; [gcc-arm-embedded];
python-wp = pkgs.python310.withPackages (p: python-wp = pkgs.python310.withPackages (p:
with p; [ with p; [
keyring keyring
@ -65,6 +65,10 @@
xkeyval xkeyval
; ;
}; };
fenix-rust = pkgs.fenix.combine (with pkgs.fenix; [
latest.toolchain
targets.thumbv7em-none-eabihf.latest.rust-std
]);
in { in {
home.packages = with pkgs; home.packages = with pkgs;
[ [
@ -83,7 +87,7 @@ in {
docker docker
docker-compose docker-compose
fd fd
fenix.latest.toolchain fenix-rust
findutils findutils
gawk gawk
gnuplot gnuplot