diff options
| author | Radomir Dopieralski <[email protected]> | 2025-03-07 12:20:33 +0100 |
|---|---|---|
| committer | Radomir Dopieralski <[email protected]> | 2025-04-06 17:14:32 +0200 |
| commit | 1f2f92d97aea21345d0391caac05432ad06f4136 (patch) | |
| tree | 229e6dc1d7f60994ff1414fe6b1657cf5106a4a2 /docs | |
| parent | 334ac8072650e3b18278042c2c2b402db73c7359 (diff) | |
Allow different port and mode for LED on ch32v boards
While there is a define for the port, the clock enable is hardcoded for
GPIOA, so setting a different port than GPIOA doesn't work. This fixes
it by adding a define for enabling the port clock.
It also adds a define for the pin mode, because not all boards have the
LED connected in a way that open drain works with it.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
