Search found 100 matches

by Thargon
Tue Oct 22, 2019 12:51 pm
Forum: Bug Reports
Topic: STM32 GPIO LLD register naming issue Topic is solved
Replies: 3
Views: 254

Re: STM32 GPIO LLD register naming issue Topic is solved

Hi,

the fix works fine for me. Thank you!
by Thargon
Mon Oct 14, 2019 11:46 am
Forum: Bug Reports
Topic: STM32 GPIO LLD register naming issue Topic is solved
Replies: 3
Views: 254

STM32 GPIO LLD register naming issue Topic is solved

Hi, I just encountered a compilation error when calling palIsLineEventEnabledX() using an STM32L476. The function is defined identically in all three GPIO LLD versions: #define pal_lld_ispadeventenabled(port, pad) \ (bool)((EXTI->IMR & (1U << (uint32_t)pad)) != 0U) Now the issue is, that IMR is ...
by Thargon
Mon May 20, 2019 1:15 pm
Forum: Small Change Requests
Topic: Enhanced event filtering
Replies: 5
Views: 474

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: 474

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: 474

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: 389

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: 433

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: 433

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: 299

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: 299

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...

Go to advanced search