From 9d89104f50a4502d2526e5644376f23716e77fb7 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 7 Aug 2024 18:22:48 +0800 Subject: [PATCH] README: Fix command to make firmware BIN (#115) Co-authored-by: atse Co-committed-by: atse --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1817f89..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 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