init
This commit is contained in:
15
shell.nix
Normal file
15
shell.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs ? import <nixpkgs> {}, libstm32cube, libstm32stdperiph }:
|
||||
|
||||
with pkgs;
|
||||
mkShell {
|
||||
TARGET_TRIPLET="arm-none-eabi";
|
||||
STM32_CUBE_F1_PATH="${libstm32cube}";
|
||||
STM32STDLIB = "${libstm32stdperiph}";
|
||||
|
||||
nativeBuildInputs = [
|
||||
stlink
|
||||
gcc-arm-embedded-10
|
||||
libstm32cube
|
||||
libstm32stdperiph
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user