Search found 278 matches

by faisal
Sat Apr 25, 2020 8:07 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1710

Re: Precision periodic timer using virtual timers

Giovanni wrote:The drawback would be that the timer object would become larger.


This could be mitigated with a compile time kernel option to enable virtual timers to be optionally configured as periodic timers.
by faisal
Sat Apr 25, 2020 7:58 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1710

Re: Precision periodic timer using virtual timers

Hi, This is a good point, VTs have been designed as one-shot timers only and, when using high resolution time, there could be an accumulating error. Perhaps VTs should have a periodic mode built-in, without having to reload the timer from the callback. The drawback would be that the timer object wo...
by faisal
Sat Apr 25, 2020 1:34 am
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1710

Precision periodic timer using virtual timers

I took at a look at ChibiOS/os/various/evtimer.c, and it implements the last idea presented here using virtual timers: http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:timing The issue is that the timing will always be off due to the execution time it takes to get to the place where the one sh...
by faisal
Fri Apr 10, 2020 12:19 am
Forum: Bug Reports
Topic: Documentation for rescheduling requirements for S/I class APi Topic is solved
Replies: 3
Views: 5211

Documentation for rescheduling requirements for S/I class APi Topic is solved

You had language similar to this in previous documentation: –“S” is a function that must be called from within a critical zone and can reschedule internally –“I” is a function that must be called from within a critical zone and does not reschedule internally However, in the current documentation the...
by faisal
Tue Nov 26, 2019 9:42 pm
Forum: Development and Feedback
Topic: SEGGER J-link ChibiOS RTOS awareness plugin
Replies: 1
Views: 1107

Re: SEGGER J-link ChibiOS RTOS awareness plugin

Hey Giovani, looks interesting ya :)
by faisal
Fri Nov 08, 2019 9:48 pm
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 3204

Re: GCC 9

ARM has just released their new GCC, version is 9.2.1. https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads It's almost twice as fast on linux compared to GCC 8. Could someone check if it still produces incorrect CM0 code? As far as I know...
by faisal
Tue Nov 05, 2019 11:41 pm
Forum: Development and Feedback
Topic: PineTime smartwatch nrf52840
Replies: 2
Views: 1005

Re: PineTime smartwatch nrf52840

There are also lots of devices out there that people are currently hacking/reverse engineering that are based on the nRF4528xx

https://github.com/curtpw/nRF5x-device- ... ngineering
by faisal
Tue Nov 05, 2019 11:11 pm
Forum: Development and Feedback
Topic: PineTime smartwatch nrf52840
Replies: 2
Views: 1005

PineTime smartwatch nrf52840

Pine64 is working on the PineTime smart watch. It will have a nRF528xx M4-F SoC from Nordic. The best news is that it will be under $25USD! I think it'll be great if ChibiOS/RT and HAL were ported to this platform, and other popular IoT SoCs. I think that would spur the adoption of ChibiOS. https://...
by faisal
Thu Aug 08, 2019 1:35 pm
Forum: Bug Reports
Topic: hal_files.h error in fileStreamGetSize: ')' at wrong place Topic is solved
Replies: 3
Views: 734

Re: hal_files.h error in fileStreamGetSize: ')' at wrong place Topic is solved

Hi! I'm using 19.1.3, but it is the same in master. Compile error In macro fileStreamGetSize: ../../../ChibiOS-git/os/hal/include/hal_files.h:210:40: error: too few arguments to function 'dtcFile->vmt->getsize' #define fileStreamGetSize(ip, offset) ((ip)->vmt->getsize(ip), offset) ^ I expect it to ...

Go to advanced search