Skip to content

Commit

Permalink
Upgrade toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Dec 29, 2024
1 parent b2d0c12 commit 52ae809
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 78 deletions.
94 changes: 21 additions & 73 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";

# Version of requirements.txt installed in pythonEnv
zephyr.url = "github:zephyrproject-rtos/zephyr/v3.5.0";
zephyr.url = "github:zmkfirmware/zephyr/v3.5.0+zmk-fixes";
zephyr.flake = false;

# Zephyr sdk and toolchain
Expand All @@ -22,17 +22,19 @@
keymap_drawer = pkgs.python3Packages.callPackage ./draw { };

in {
default = pkgs.mkShell {
default = pkgs.mkShellNoCC {
packages = [
keymap_drawer

zephyr.pythonEnv
(zephyr.sdk.override { targets = [ "arm-zephyr-eabi" ]; })
(zephyr.sdk-0_16.override { targets = [ "arm-zephyr-eabi" ]; })

pkgs.cmake
pkgs.dtc
pkgs.ninja
pkgs.qemu # needed for native_posix target
# pkgs.ccache
# pkgs.dfu-util
# pkgs.qemu

# Uncomment these if you don't have system-wide versions:
# pkgs.gawk # awk
Expand Down

0 comments on commit 52ae809

Please sign in to comment.