This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 08a2de27cf2 cmake: Fix SIM_TOOLCHAIN using CMake on macOS.
new f1e7b143d94 !drivers: separate pulse count feature from PWM driver
new 93602a3a724 !arch/at32: separate pulse count from PWM driver
new 765ea96828a !arch/stm32: separate pulse count from PWM driver
new ae4f9f5b444 !arch/stm32f0l0g0: separate pulse count from PWM driver
new ade7264b447 !arch/stm32f7: separate pulse count from PWM driver
new fe4baaea868 !arch/stm32h5: separate pulse count from PWM driver
new 224b710da74 !arch/stm32l4: separate pulse count from PWM driver
new b858b3746f5 !arch/stm32h7: separate pulse count from PWM driver
new adf0a2fc25a !arch/tlsr82: separate pulse count from PWM driver
new ab8262eb62e !arch/tivia: separate pulse count from PWM driver
new 207bddc40f2 arch: remove PULSECOUNT references from PWM drivers
new 4f929d63f35 boards/nucleo-h743zi2: add pulse count example
new d54ed68aa04 boards/nucleo-f446re: add pulse count example
new a8f8979bfe0 boards/nucleo-c092rc: add pulse count example
The 14 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../applications/examples/pulsecount/index.rst | 21 +
Documentation/applications/examples/pwm/index.rst | 8 +-
.../components/drivers/character/timers/index.rst | 1 +
.../drivers/character/timers/pulsecount.rst | 97 +
.../components/drivers/character/timers/pwm.rst | 8 +-
arch/arm/src/at32/Kconfig | 116 +-
arch/arm/src/at32/Make.defs | 5 +-
arch/arm/src/at32/at32_pulsecount.c | 1887 ++++++++++++++++++++
.../ht32f491x3_start.h => at32/at32_pulsecount.h} | 12 +-
arch/arm/src/at32/at32_pwm.c | 562 +-----
arch/arm/src/efm32/Kconfig | 4 -
arch/arm/src/efm32/efm32_pwm.c | 204 ---
arch/arm/src/gd32f4/Kconfig | 1 -
arch/arm/src/nrf52/nrf52_pwm.c | 15 -
arch/arm/src/nrf53/nrf53_pwm.c | 15 -
arch/arm/src/sama5/sam_pwm.c | 6 -
arch/arm/src/stm32/CMakeLists.txt | 4 +
arch/arm/src/stm32/Kconfig | 74 +-
arch/arm/src/stm32/Make.defs | 4 +
arch/arm/src/stm32/stm32_pulsecount.c | 1775 ++++++++++++++++++
.../arm/src/stm32/stm32_pulsecount.h | 13 +-
arch/arm/src/stm32/stm32_pwm.c | 554 +-----
arch/arm/src/stm32f0l0g0/CMakeLists.txt | 4 +
arch/arm/src/stm32f0l0g0/Kconfig | 41 +-
arch/arm/src/stm32f0l0g0/Make.defs | 6 +
arch/arm/src/stm32f0l0g0/stm32_pulsecount.c | 1277 +++++++++++++
.../arm/src/stm32f0l0g0/stm32_pulsecount.h | 13 +-
arch/arm/src/stm32f0l0g0/stm32_pwm.c | 341 +---
arch/arm/src/stm32f7/CMakeLists.txt | 4 +
arch/arm/src/stm32f7/Kconfig | 74 +-
arch/arm/src/stm32f7/Make.defs | 4 +
arch/arm/src/stm32f7/stm32_pulsecount.c | 1748 ++++++++++++++++++
.../arm/src/stm32f7/stm32_pulsecount.h | 14 +-
arch/arm/src/stm32f7/stm32_pwm.c | 543 +-----
arch/arm/src/stm32h5/CMakeLists.txt | 4 +
arch/arm/src/stm32h5/Kconfig | 74 +-
arch/arm/src/stm32h5/Make.defs | 4 +
arch/arm/src/stm32h5/stm32_pulsecount.c | 1792 +++++++++++++++++++
.../arm/src/stm32h5/stm32_pulsecount.h | 13 +-
arch/arm/src/stm32h5/stm32_pwm.c | 540 +-----
arch/arm/src/stm32h7/CMakeLists.txt | 4 +
arch/arm/src/stm32h7/Kconfig | 76 +-
arch/arm/src/stm32h7/Make.defs | 4 +
arch/arm/src/stm32h7/stm32_pulsecount.c | 1813 +++++++++++++++++++
.../arm/src/stm32h7/stm32_pulsecount.h | 13 +-
arch/arm/src/stm32h7/stm32_pwm.c | 540 +-----
arch/arm/src/stm32l4/CMakeLists.txt | 4 +
arch/arm/src/stm32l4/Kconfig | 74 +-
arch/arm/src/stm32l4/Make.defs | 4 +
arch/arm/src/stm32l4/stm32l4_pulsecount.c | 1657 +++++++++++++++++
.../arm/src/stm32l4/stm32l4_pulsecount.h | 13 +-
arch/arm/src/stm32l4/stm32l4_pwm.c | 436 +----
arch/arm/src/stm32l5/Kconfig | 6 -
arch/arm/src/stm32u5/Kconfig | 1 -
arch/arm/src/tiva/Kconfig | 48 +
arch/arm/src/tiva/Make.defs | 6 +
arch/arm/src/tiva/common/CMakeLists.txt | 4 +
.../tiva/common/{tiva_pwm.c => tiva_pulsecount.c} | 555 +++---
arch/arm/src/tiva/common/tiva_pwm.c | 264 ---
.../{nrf52/nrf52_uid.h => tiva/tiva_pulsecount.h} | 12 +-
arch/arm/src/tlsr82/Kconfig | 11 +-
arch/arm/src/tlsr82/Make.defs | 4 +
arch/arm/src/tlsr82/tlsr82_pulsecount.c | 739 ++++++++
.../arm/src/tlsr82/tlsr82_pulsecount.h | 14 +-
arch/arm/src/tlsr82/tlsr82_pwm.c | 135 --
arch/arm/src/tlsr82/tlsr82_pwm.h | 2 +
arch/risc-v/src/litex/litex_pwm.c | 4 -
.../nucleo-f446re/configs/{nsh => jumbo}/defconfig | 3 +
boards/arm/stm32/nucleo-f446re/include/board.h | 4 +
boards/arm/stm32/nucleo-f446re/src/stm32_bringup.c | 25 +
.../nucleo-c092rc/configs/jumbo/defconfig | 3 +
.../arm/stm32f0l0g0/nucleo-c092rc/include/board.h | 6 +
.../stm32f0l0g0/nucleo-c092rc/src/stm32_bringup.c | 26 +
.../stm32h7/nucleo-h743zi2/configs/jumbo/defconfig | 3 +
boards/arm/stm32h7/nucleo-h743zi2/include/board.h | 4 +
.../arm/stm32h7/nucleo-h743zi2/src/stm32_bringup.c | 25 +
drivers/timers/CMakeLists.txt | 4 +
drivers/timers/Kconfig | 12 +-
drivers/timers/Make.defs | 6 +
drivers/timers/pulsecount.c | 361 ++++
drivers/timers/pwm.c | 163 +-
include/nuttx/fs/ioctl.h | 6 +
include/nuttx/timers/pulsecount.h | 189 ++
include/nuttx/timers/pwm.h | 71 +-
84 files changed, 14407 insertions(+), 4829 deletions(-)
create mode 100644 Documentation/applications/examples/pulsecount/index.rst
create mode 100644
Documentation/components/drivers/character/timers/pulsecount.rst
create mode 100644 arch/arm/src/at32/at32_pulsecount.c
copy arch/arm/src/{ht32f491x3/ht32f491x3_start.h => at32/at32_pulsecount.h}
(82%)
create mode 100644 arch/arm/src/stm32/stm32_pulsecount.c
copy boards/arm/stm32f0l0g0/common/include/board_pwm.h =>
arch/arm/src/stm32/stm32_pulsecount.h (82%)
create mode 100644 arch/arm/src/stm32f0l0g0/stm32_pulsecount.c
copy boards/arm/tlsr82/tlsr8278adk80d/src/tlsr8278adk80d.h =>
arch/arm/src/stm32f0l0g0/stm32_pulsecount.h (81%)
create mode 100644 arch/arm/src/stm32f7/stm32_pulsecount.c
copy fs/userfs/userfs.h => arch/arm/src/stm32f7/stm32_pulsecount.h (82%)
create mode 100644 arch/arm/src/stm32h5/stm32_pulsecount.c
copy boards/arm/stm32f0l0g0/common/include/board_pwm.h =>
arch/arm/src/stm32h5/stm32_pulsecount.h (82%)
create mode 100644 arch/arm/src/stm32h7/stm32_pulsecount.c
copy boards/arm/stm32f0l0g0/common/include/board_pwm.h =>
arch/arm/src/stm32h7/stm32_pulsecount.h (82%)
create mode 100644 arch/arm/src/stm32l4/stm32l4_pulsecount.c
copy boards/arm/stm32f0l0g0/common/include/board_pwm.h =>
arch/arm/src/stm32l4/stm32l4_pulsecount.h (81%)
copy arch/arm/src/tiva/common/{tiva_pwm.c => tiva_pulsecount.c} (50%)
copy arch/arm/src/{nrf52/nrf52_uid.h => tiva/tiva_pulsecount.h} (82%)
create mode 100644 arch/arm/src/tlsr82/tlsr82_pulsecount.c
copy include/nuttx/serial/uart_hostfs.h =>
arch/arm/src/tlsr82/tlsr82_pulsecount.h (84%)
copy boards/arm/stm32/nucleo-f446re/configs/{nsh => jumbo}/defconfig (94%)
create mode 100644 drivers/timers/pulsecount.c
create mode 100644 include/nuttx/timers/pulsecount.h