From db0403206e1c090b7395fce184ad78bb6fd6ea27 Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 30 Jan 2024 16:05:31 +0800 Subject: [PATCH] Add full path to compiled binary to objcopy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b0b5d1a..5e99d9e 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