Re: [PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-26 Thread Sebastian Huber
Thanks, I checked it in with a minor format fix. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899

[PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-26 Thread Robin Mueller
Uses configured millisecond per ticks --- bsps/arm/stm32h7/start/bspstart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index 7ae39f1410..75af44352f 100644 --- a/bsps/arm/stm32h7/start/bspstart.c +++

Re: [PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-23 Thread Sebastian Huber
On 22/04/2021 19:17, Robin Mueller wrote: Accounts for the tick base not being 1ms now. Perform division first to reduce chance of arithmetic overflow. --- bsps/arm/stm32h7/start/bspstart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-22 Thread Robin Mueller
Accounts for the tick base not being 1ms now. Perform division first to reduce chance of arithmetic overflow. --- bsps/arm/stm32h7/start/bspstart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index