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.
The PR adds ESP32-C6 simulation to ESP32 projects. A developer can experience the simulation of the project directly in browser or a developer can work with Swift even without having real HW.
The following files were added to root of ESP projects:
wokwi.toml
- points to UF2 binary within the project, so the simulator knows where to find the binarydiagram.json
- contains description of HW connections for simulator to visualize itA developer should build an UF2 binary image for the simulator using command:
idf.py uf2
A developer can open VS Code, Espressif IDE or CLion/JetBrains with Wokwi plugin and run the simulation.
Another option is to open the link directly from README which is pointing to release of the image and a developer can see the result in browser, including serial console output.
Example of the link: https://wokwi.com/experimental/viewer?diagram=https://raw.githubusercontent.com/georgik/swift-embedded-examples/feature/wokwi/esp32-led-blink-sdk/diagram.json&firmware=https://github.com/georgik/swift-embedded-examples/releases/download/v0.1/embedded-swift-esp32-c6-led-blink-sdk.uf2.bin
Topics to discuss before merging:
I would appreciate your comments @rauhul, @kubamracek, @urish