Skip to content

Commit

Permalink
Update to sdfgen 0.16.1
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan-Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Jan 30, 2025
1 parent 2af6bcf commit 5d2adf1
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup pyenv
run: |
python3 -m venv venv
./venv/bin/pip install sdfgen==0.15.0
./venv/bin/pip install sdfgen==0.16.1
- name: Build and run examples
run: ./ci/examples.sh ${PWD}/microkit-sdk-1.4.1-dev.54+a8b7894-linux-x86-64
shell: bash
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Setup pyenv
run: |
python3 -m venv venv
./venv/bin/pip install sdfgen
./venv/bin/pip install sdfgen==0.16.1
- name: Download and install AArch64 GCC toolchain
run: |
wget -O aarch64-toolchain.tar.xz https://trustworthy.systems/Downloads/microkit/arm-gnu-toolchain-12.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion examples/blk/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def generate(sdf_file: str, output_dir: str, dtb: DeviceTree):
assert timer_system.serialise_config(output_dir)

with open(f"{output_dir}/{sdf_file}", "w+") as f:
f.write(sdf.xml())
f.write(sdf.render())


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion examples/echo_server/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def generate(sdf_file: str, output_dir: str, dtb: DeviceTree):
f.write(bench_client_config.serialise())

with open(f"{output_dir}/{sdf_file}", "w+") as f:
f.write(sdf.xml())
f.write(sdf.render())


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion examples/i2c/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def generate(sdf_file: str, output_dir: str, dtb: DeviceTree):
assert timer_system.serialise_config(output_dir)

with open(f"{output_dir}/{sdf_file}", "w+") as f:
f.write(sdf.xml())
f.write(sdf.render())


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion examples/serial/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def generate(sdf_file: str, output_dir: str, dtb: DeviceTree):
assert serial_system.serialise_config(output_dir)

with open(f"{output_dir}/{sdf_file}", "w+") as f:
f.write(sdf.xml())
f.write(sdf.render())


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion examples/timer/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def generate(sdf_file: str, output_dir: str, dtb: DeviceTree):
assert timer_system.serialise_config(output_dir)

with open(f"{output_dir}/{sdf_file}", "w+") as f:
f.write(sdf.xml())
f.write(sdf.render())


if __name__ == '__main__':
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
zig-overlay.url = "github:mitchellh/zig-overlay";
sdfgen.url = "github:au-ts/microkit_sdf_gen/0.15.0";
sdfgen.url = "github:au-ts/microkit_sdf_gen/0.16.1";
};

outputs = { nixpkgs, zig-overlay, sdfgen, ... }:
Expand Down

0 comments on commit 5d2adf1

Please sign in to comment.