add test-flash to gitignore

This commit is contained in:
Evan Feenstra
2022-06-13 14:37:17 -07:00
parent 4ca483b001
commit 5f75b97735
3 changed files with 11 additions and 2 deletions

3
.gitignore vendored
View File

@@ -4,4 +4,5 @@ target
Cargo.lock
.DS_Store
sphinx-key/Cargo.lock
notes.md
notes.md
test-flash

View File

@@ -81,3 +81,11 @@ restart sphinx key, then from computer connect to sphinxkey AP.\
go to `http://192.168.71.1/?broker=52.91.253.115%3A1883`.\
input internet wifi SSID and password, and the IP address of the broker.\
after pressing the ok button, restart the sphinx key, and wait for a MQTT connection.
### espflash notes
espflash save-image esp32-c3 target/riscv32imc-esp-espidf/debug/sphinx-key ./asdf-blah
espflash save-image esp32-c3 target/riscv32imc-esp-espidf/release/sphinx-key ./test-flash
espflash board-info

View File

@@ -68,7 +68,7 @@ pub fn make_event_loop(mut mqtt: EspMqttClient<ConnState<MessageImpl, EspError>>
if do_log {
log::info!("GOT A PING MESSAGE! returning pong now...");
}
mqtt.publish(RETURN_TOPIC, QOS, false, b).expect("could not publish init response");
mqtt.publish(RETURN_TOPIC, QOS, false, b).expect("could not publish ping response");
},
Event::Disconnected => {
log::info!("GOT A Event::Disconnected msg!");