Skip to content
Commit 2bc16b99 authored by Glauber Maroto Ferreira's avatar Glauber Maroto Ferreira Committed by Carles Cufí
Browse files

soc: esp32: drivers: counter: code refactor



Refactors counter driver code, bringing:

- more readability through the removal of abused macros
- better use of the devicetree, by moving peripheral node's
info defined on macros and Kconfigs to dts bindings
- less dependence from dynamic allocations, making counter
instances fully statically-allocated
- better use of DT_INST_* macros

Signed-off-by: default avatarGlauber Maroto Ferreira <glauber.ferreira@espressif.com>
parent 00f3582d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment