From f0538a571c7bbf642f4bcf2410942c9b0ecab593 Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 30 Jan 2024 16:05:31 +0800 Subject: [PATCH 1/2] README: Add full path to compiled binary --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1817f89..5540761 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ There are several options for flashing Thermostat. DFU requires only a micro-USB ### dfu-util on Linux * Install the DFU USB tool (dfu-util). -* Convert firmware from ELF to BIN: `arm-none-eabi-objcopy -O binary thermostat thermostat.bin` (you can skip this step if using the BIN from Hydra) +* Convert firmware from ELF to BIN: `arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/thermostat thermostat.bin` (you can skip this step if using the BIN from Hydra) * Connect to the Micro USB connector to Thermostat below the RJ45. * Add jumper to Thermostat v2.0 across 2-pin jumper adjacent to JTAG connector. * Cycle board power to put it in DFU update mode -- 2.44.2 From 8c9bd2ce2973a92415f32797d97a14fae24ddccd Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 7 Aug 2024 17:53:13 +0800 Subject: [PATCH 2/2] README: arm-none-eabi-objcopy -> llvm-objcopy Match flake.nix installPhase. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5540761..bf6cff8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ There are several options for flashing Thermostat. DFU requires only a micro-USB ### dfu-util on Linux * Install the DFU USB tool (dfu-util). -* Convert firmware from ELF to BIN: `arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/thermostat thermostat.bin` (you can skip this step if using the BIN from Hydra) +* Convert firmware from ELF to BIN: `llvm-objcopy -O binary target/thumbv7em-none-eabihf/release/thermostat thermostat.bin` (you can skip this step if using the BIN from Hydra) * Connect to the Micro USB connector to Thermostat below the RJ45. * Add jumper to Thermostat v2.0 across 2-pin jumper adjacent to JTAG connector. * Cycle board power to put it in DFU update mode -- 2.44.2