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;
home.packages = with pkgs; [
colima
iterm2
pinentry-mac
pinentry-touchid
pngpaste
qbittorrent-mac
spoof-mac
utm
vlc-mac
];
home.packages = with pkgs;
[
colima
iterm2
pinentry-mac
pinentry-touchid
pngpaste
qbittorrent-mac
spoof-mac
utm
vlc-mac
]
++ (let
pkgs_x86_only = pkgs // {system = "x86_64-darwin";};
in (with pkgs_x86_only; [
gcc-arm-embedded
]));
targets.darwin = {
defaults = {

View file

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