summaryrefslogtreecommitdiffstats
path: root/bsps/arm/shared/cpucounter/cpucounter-armv7m.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-07-08bsps/arm/shared: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-10bsps/arm/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2018-06-15arm: Simplify CPU counter supportSebastian Huber1-33/+4
Use the standard ARMv7-M systick module for the ARMv7-M CPU counter instead of DWT counter since the DWT counter is affected by power saving states. Use an inline function for _CPU_Counter_difference() for all ARM BSPs. Update #3456.
2018-06-15Add _CPU_Counter_frequency()Sebastian Huber1-11/+12
Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
2018-04-24bsps: Move armv7m-cpucounter.c to bspsSebastian Huber1-0/+0
This patch is a part of the BSP source reorganization. Update #3285.
2017-01-30bsps/arm: Fix Cortex-M DWT CPU counter.Christian Mauderer1-5/+3
It is necessary to enable the DWT using a special initialization sequence before the CYCCNT can be enabled. See for example the RESET_CYCLE_COUNTER in libbsp/arm/atsam/utils/utility.h. Note that this problem only occurs if no debugger is connected. A debugger most likely already enables the necessary module.
2016-11-24bsps/arm: Add Cortex-M DWT CPU counterSebastian Huber1-0/+55