update all dependencies to their latest versions, add appDescriptor #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm interested in using Doggy as a USB CAN adapter. Trying to flash it, I got the error from espflash about the missing app descriptor. Using this opportunity, I've updated all dependencies and added the descriptor.
There are a few details I'm unsure about. espflash threw an error about defmt, and that it only supports
rzcobs, notraw. So I changed that in the cargo.toml, and also included writing the prefix, like esplog does. It no longer complains, but I also do not see any actual output when using--monitor.I haven't used doggy before, and so, to test my changes, I flashed an esp32-c3-mini, attached it to a can network, and used a small python program to read data:
I can see data in the terminal, so it seems to work.
A few notes about my changes:
feature "task-arena-size" has been removed from embassy-executor: https://github.com/embassy-rs/embassy/blob/b68253e1aa38a9251b10219df4da3519cecf33e7/embassy-executor/CHANGELOG.md?plain=1#L33
"exception-handler" was moved from "esp-backtrace" to "esp-hal", it's enabled by default.
"esp-hal-embassy" has been superseded by esp-rtos (https://crates.io/crates/esp-hal-embassy)
"esp-wifi" has been superseded by "esp-radio" (https://crates.io/crates/esp-wifi)
trying to run it without the
blefeature, I got an error about missing the global allocator, so I rearranged that to always initialize the allocator, not just in the case of Bluetooth. I haven't checked which component uses the allocator.I have only tested
doggie_esp32on the esp32-c3, nothing else.