Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: ./scripts/deps.sh

- name: Build tool
run: cargo build ${{ matrix.features }} --release --manifest-path tool/Cargo.toml
run: cargo build ${{ matrix.features }} --release --manifest-path tools/system76_ectool/Cargo.toml

ec:
runs-on: ubuntu-24.04
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[submodule "ecsim"]
path = ecsim
path = tools/ecsim
url = https://github.com/system76/ecsim.git
branch = master
[submodule "ecflash"]
path = ecflash
path = tools/ecflash
url = https://github.com/system76/ecflash.git
branch = master
[submodule "ecspy"]
path = ecspy
path = tools/ecspy
url = https://github.com/system76/ecspy.git
4 changes: 2 additions & 2 deletions scripts/ectool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: GPL-3.0-only

set -e
cargo build --release --quiet --manifest-path tool/Cargo.toml
sudo tool/target/release/system76_ectool "$@"
cargo build --release --quiet --manifest-path tools/system76_ectool/Cargo.toml
sudo tools/system76_ectool/target/release/system76_ectool "$@"
2 changes: 1 addition & 1 deletion src/arch/8051/toolchain.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OBJ = $(MAIN_OBJ) $(sort $(ASM_OBJ) $(C_OBJ))
sim: $(BUILD)/ec.rom
cargo run \
--release \
--manifest-path ecsim/Cargo.toml \
--manifest-path tools/ecsim/Cargo.toml \
--no-default-features \
-- $<

Expand Down
4 changes: 2 additions & 2 deletions src/board/system76/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@ flash_internal: $(BUILD)/ec.rom
sudo tool/target/release/system76_ectool flash $<

flash_external: $(BUILD)/ec.rom
cargo build --manifest-path ecflash/Cargo.toml --example isp --release
sudo ecflash/target/release/examples/isp $<
cargo build --manifest-path tools/ecflash/Cargo.toml --example isp --release
sudo tools/ecflash/target/release/examples/isp $<
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading