You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/03/09 14:17:03 UTC
[incubator-nuttx] branch master updated (d00e97c -> 85a93be)
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from d00e97c risc-v/esp32-c3:free cpu in case it was preallocated in wdt driver
add 85a93be risc-v/esp32-c3: Adds timer driver
No new revisions were added by this update.
Summary of changes:
arch/risc-v/src/esp32c3/Kconfig | 18 +
arch/risc-v/src/esp32c3/Make.defs | 7 +
arch/risc-v/src/esp32c3/esp32c3_tim.c | 740 +++++++++++++++++++++
arch/risc-v/src/esp32c3/esp32c3_tim.h | 138 ++++
.../src/esp32c3/esp32c3_tim_lowerhalf.c} | 354 ++++------
.../src/esp32c3/esp32c3_tim_lowerhalf.h} | 14 +-
arch/risc-v/src/esp32c3/hardware/esp32c3_tim.h | 6 +
.../configs/{nsh => timer}/defconfig | 4 +
boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile | 4 +
.../esp32c3/esp32c3-devkit/src/esp32c3-devkit.h | 16 +
.../esp32c3/esp32c3-devkit/src/esp32c3_bringup.c | 12 +
.../src/{esp32c3_wdt.c => esp32c3_timer.c} | 39 +-
12 files changed, 1101 insertions(+), 251 deletions(-)
create mode 100644 arch/risc-v/src/esp32c3/esp32c3_tim.c
create mode 100644 arch/risc-v/src/esp32c3/esp32c3_tim.h
copy arch/{xtensa/src/esp32/esp32_tim_lowerhalf.c => risc-v/src/esp32c3/esp32c3_tim_lowerhalf.c} (59%)
copy arch/{arm/src/nrf52/nrf52_tim_lowerhalf.h => risc-v/src/esp32c3/esp32c3_tim_lowerhalf.h} (82%)
copy boards/risc-v/esp32c3/esp32c3-devkit/configs/{nsh => timer}/defconfig (93%)
copy boards/risc-v/esp32c3/esp32c3-devkit/src/{esp32c3_wdt.c => esp32c3_timer.c} (70%)