From b944eb20fa46ac47711ee36de6adde36896d5db3 Mon Sep 17 00:00:00 2001 From: Jules Comte Date: Thu, 19 May 2022 14:46:20 -0400 Subject: [PATCH] flash hello world onto esp32-c3 mini dev board --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3733f68..3d0032c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # sphinx-key +These notes were tested for macOS + ### deps ##### cargo nightly: @@ -8,6 +10,8 @@ `rustup component add rust-src --toolchain nightly` +`rustup default nightly` + ##### python 3.7 or higher is required ##### cargo sub-commands @@ -26,6 +30,8 @@ ### flash -`espflash /dev/ttyUSB0 target/riscv32imc-esp-espidf/debug/sphinx-key` +`espflash /dev/tty.SLAB_USBtoUART target/riscv32imc-esp-espidf/debug/sphinx-key` -replace dev/ttyUSB0 with the usb where board is connected +If the above command does not work, try this one below: + +`espflash target/riscv32imc-esp-espidf/debug/sphinx-key`