Search found 98 matches

by Thargon
Mon May 20, 2019 1:15 pm
Forum: Small Change Requests
Topic: Enhanced event filtering
Replies: 5
Views: 296

Re: Enhanced event filtering

I see that there is some a priori knowledge used for thread handling, depending whether it is an AND or OR condition. I also understand that modifying all involved components is not trivial and is probably rather something that should be implemented for a major release. However, I disagree that my s...
by Thargon
Tue May 07, 2019 11:58 am
Forum: Small Change Requests
Topic: Enhanced event filtering
Replies: 5
Views: 296

Re: Enhanced event filtering

Your solution requires the emitter of an event to know about the receiver, which is very bad code design, imho. An emitter must not care about other emitters or any receivers, it just informs about its own actions. Of course, I could introduce meta-instances, which accumulate subsets of events and f...
by Thargon
Tue May 07, 2019 10:42 am
Forum: Small Change Requests
Topic: Enhanced event filtering
Replies: 5
Views: 296

Enhanced event filtering

Hi, when waiting for events, I encounter situations in my project, where the available chEvtWaitXXX() functions do not provide an optimal solution. It's easy to understand with the following example: Let there be three events with the masks 0x01, 0x10 and 0x20. Depending on the events received, the ...
by Thargon
Mon Feb 25, 2019 4:09 pm
Forum: Small Change Requests
Topic: Renaming ALLCSRC, ALLINC etc.
Replies: 0
Views: 299

Renaming ALLCSRC, ALLINC etc.

Hi, I just moved my project to ChibiOS 19.1 and finally updated my Makefiles to the new conventions. Thereby I immediately struggled with the "global" make variables ALLCSRC, ALLINC, ALLASM, ALLCPPSRC etc. I see that those have been introduced quite some time ago , but maybe optimizations ...
by Thargon
Mon Feb 25, 2019 3:40 pm
Forum: Bug Reports
Topic: RTC inconsistent weekday Topic is solved
Replies: 3
Views: 260

Re: RTC inconsistent weekday Topic is solved

Hi, I did some more investigation and it seems, that it's just the other way around. I am using the C tm structure only and the interface functions rtcConvertStructTmToDateTime(), rtcSetTime(), rtcGetTime(), and rtcConvertDateTimeToStructTm(). So everything that interacts with the hardware and does ...
by Thargon
Thu Feb 21, 2019 1:16 pm
Forum: Bug Reports
Topic: RTC inconsistent weekday Topic is solved
Replies: 3
Views: 260

RTC inconsistent weekday Topic is solved

Hi, I noticed an issue that the weekday is reported differently for the same date written to the RTC on various platforms. Specifically, I compared a STM32F1 (RTCv1) and STM32F4 (RTCv2) and the latter reports one day off, e.g. stating that a date is a Friday although it ought to be Thursday. Is it j...
by Thargon
Thu Feb 14, 2019 10:02 am
Forum: General Support
Topic: GitHub Mirror misses branches
Replies: 3
Views: 219

Re: GitHub Mirror misses branches

Giovanni wrote:You could also try to ping the community maintainer via the github page.
I should have done so :oops:

utzig wrote:I added stable_19.1.x to the mirror.
Many thanks!
by Thargon
Wed Feb 13, 2019 3:35 pm
Forum: General Support
Topic: GitHub Mirror misses branches
Replies: 3
Views: 219

GitHub Mirror misses branches

Hi, the GitHub mirror of the ChibiOS SVN misses quite many branches. So far I did not care because I'm only interested in the "stable_X.X.x" branches, but now the new stable_19.1.x was not added to the mirror. I would highly appreciate if this branch (or maybe even all branches) would be a...
by Thargon
Wed Feb 13, 2019 3:22 pm
Forum: Bug Reports
Topic: ADCv3 typo Topic is solved
Replies: 1
Views: 203

ADCv3 typo Topic is solved

Hi, in file os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c there is a typo causing compiler errors when using ADC3. During setup of the ADCD3 structure in the adc_lld_init() method, one line refers to the ADCD1 object instead of ADCD3. I checked the branches 18.2.x (line 491) and 19.1.x (line 499) and t...
by Thargon
Tue Feb 12, 2019 10:22 am
Forum: Small Change Requests
Topic: print message in chSysHalt
Replies: 5
Views: 371

Re: print message in chSysHalt

Many thanks for your advice! I though about what you wrote and decided to distinguish between kernel checks and application checks. The former are assumed to be critical system failures so such event will not print messages anymore, but stop the system immediately (ChibiOS default). Application chec...

Go to advanced search