I did some more digging around with git bisect, and I found the offending commit:
https://osdn.net/projects/chibios/scm/svn/commits/13496
I'm guessing it has something to do with moving around the struct port_context in the thread structure.
Search found 260 matches
- Mon May 11, 2020 3:21 am
- Forum: Bug Reports
- Topic: Segmentation fault (core dumped) Topic is solved
- Replies: 4
- Views: 1753
- Mon May 11, 2020 1:30 am
- Forum: Bug Reports
- Topic: Segmentation fault (core dumped) Topic is solved
- Replies: 4
- Views: 1753
Re: Segmentation fault (core dumped) Topic is solved
The simulator is segfaulting at the tip of development branch, but works fine in stable_20.3.x.
The segfault seems to happen in the context switch..
The segfault seems to happen in the context switch..
- Sat Apr 25, 2020 8:07 pm
- Forum: Development and Feedback
- Topic: Precision periodic timer using virtual timers
- Replies: 7
- Views: 904
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.
- Sat Apr 25, 2020 7:58 pm
- Forum: Development and Feedback
- Topic: Precision periodic timer using virtual timers
- Replies: 7
- Views: 904
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...
- Sat Apr 25, 2020 1:34 am
- Forum: Development and Feedback
- Topic: Precision periodic timer using virtual timers
- Replies: 7
- Views: 904
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...
- Sat Apr 11, 2020 5:10 pm
- Forum: Bug Reports
- Topic: Documentation for rescheduling requirements for S/I class APi Topic is solved
- Replies: 3
- Views: 4705
Re: Documentation for rescheduling requirements for S/I class APi Topic is solved
Thanks for looking into it. I believe it should have been here:
http://chibiforge.org/doc/20.3/rt/concepts.html
http://chibiforge.org/doc/20.3/rt/concepts.html
- 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: 4705
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...
- Tue Nov 26, 2019 9:42 pm
- Forum: Development and Feedback
- Topic: SEGGER J-link ChibiOS RTOS awareness plugin
- Replies: 1
- Views: 995
Re: SEGGER J-link ChibiOS RTOS awareness plugin
Hey Giovani, looks interesting ya 

- Fri Nov 08, 2019 9:48 pm
- Forum: Development and Feedback
- Topic: GCC 9
- Replies: 20
- Views: 2592
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...
- Tue Nov 05, 2019 11:41 pm
- Forum: Development and Feedback
- Topic: PineTime smartwatch nrf52840
- Replies: 2
- Views: 843
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
https://github.com/curtpw/nRF5x-device- ... ngineering