Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Oct 21, 2025

Pull Request Overview

This enables the RGB led on the ESP32-C3-dev1 board. It also clarifies the board's main.rs a bit.

Testing Strategy

Running blink on the board.

TODO or Help Wanted

n/a

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

- Maybe it was at some point, but in Rust there was no longer a
  _start_trap symbol, making the conditional in the linker script no
  longer valid. This fixes that.
- The esp32c3 needs to use the vectored interrupts, so this fixes that
  call in the main.rs.
Need to set the register twice to get the current count to update
correctly. Otherwise the first now() call gets the old value.
For a single-wire tri-color LED.
The main.rs was in a pretty arbitrary order. This makes it more
consistent and easier to follow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants