2023-09-11 17:33:19 +02:00
|
|
|
{self, ...}: system:
|
|
|
|
with self.pkgs.${system};
|
|
|
|
with self.packages.${system};
|
|
|
|
mkShell {
|
|
|
|
name = "zephyr-dev";
|
|
|
|
buildInputs = [
|
|
|
|
# C/CPP
|
|
|
|
bear
|
|
|
|
bison
|
|
|
|
ccache
|
|
|
|
clang
|
|
|
|
clang-tools
|
|
|
|
clangStdenv
|
|
|
|
cmake
|
|
|
|
cmake-format
|
|
|
|
cmake-language-server
|
|
|
|
dfu-util
|
|
|
|
flex
|
|
|
|
gdb
|
|
|
|
gnumake
|
|
|
|
gperf
|
|
|
|
gtest
|
|
|
|
libffi
|
|
|
|
libusb
|
|
|
|
ncurses
|
|
|
|
ninja
|
|
|
|
|
2023-09-15 19:21:14 +02:00
|
|
|
# Zephyr
|
|
|
|
(python310.withPackages (ps:
|
|
|
|
with ps; [
|
|
|
|
west
|
|
|
|
pyelftools
|
|
|
|
]))
|
2023-09-11 17:33:19 +02:00
|
|
|
zephyr-sdk
|
|
|
|
|
|
|
|
# ESP
|
|
|
|
espup
|
|
|
|
esptool
|
|
|
|
];
|
|
|
|
}
|