Skip to content

Conversation

@jessebraham
Copy link
Member

Not quite a "minimal" implementation, but not too far off either. Demonstrates basic functionality of the GPIO, TIMG, UART, and WDT peripherals, plus various other bits.

All included examples have been tested on hardware, though it wouldn't hurt to verify.

Thanks to @playfulFence and @SergioGasquez for the help with this!

Copy link
Member Author

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to update the top-level README as well as the blinky example, will get those fixed.

@jessebraham
Copy link
Member Author

@playfulFence why did you push another commit to this branch? The CI was already green, I'm not sure I understand the need for the latest commit.

@playfulFence
Copy link
Member

@playfulFence why did you push another commit to this branch? The CI was already green, I'm not sure I understand the need for the latest commit.

@jessebraham I've tested direct-boot feature few more times on real HW and the conclusion is that it's buildable, but doesn't work properly. I thought, we shouldn't have it in the CI until it works.
We can roll back the change if my assumption is wrong

@jessebraham
Copy link
Member Author

Okay that's fine, thanks for clarifying. Last we spoke you had mentioned that you thought it worked, so just wanted to be sure about the reason for the change.

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

playfulFence and others added 9 commits May 8, 2023 08:03
* feat: ✨ Implement efuse methods

* feat: ✨ Add NUM_PINS

* doc: Update link to point at specific commit

Co-authored-by: Jesse Braham <[email protected]>

---------

Co-authored-by: Jesse Braham <[email protected]>
* Add `esp32h2-hal` package to the VS Code workspace and CI workflow

* Add initial (not quite complete) implementation of GPIO/ADC for ESP32-H2
* Begin working on `PeripheralClockControl` for the ESP32-H2

* Update `UART` driver to add H2 support

* Update `TIMG` driver to add H2 support

* Update the hello_world example to use `TIMG` and `UART`
* Added init function

* Populated enums

* Adding enums

* Add TODO (according to IDF update)

* Added WDT support for ESP32-H2

* Updated hello_world example

* Add two examples for both watchdog and RTC watchdog

* Add specific bit initialization for TIMG0 and TIMG1

* Cleaning the code

* adjusting for rustfmt

* uncommented direct-boot feature test in CI
Comment direct-boot test, still only buildable, but requires fixes for Real HW
@jessebraham
Copy link
Member Author

I've rebased this branch and added a commit reflecting the changes merged in #476

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DHL Finally delivered my boards! Working well here, just a warning when building, but I assume that'll get fixed in a follow up PR when we add that functionality :)

@jessebraham jessebraham merged commit c5d8cc6 into main May 9, 2023
@jessebraham jessebraham deleted the feature/esp32h2 branch May 9, 2023 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants