Search found 135 matches

by Thargon
Mon Feb 25, 2019 4:09 pm
Forum: Small Change Requests
Topic: Renaming ALLCSRC, ALLINC etc.
Replies: 0
Views: 2404

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

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

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

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

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

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

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...
by Thargon
Tue Feb 05, 2019 1:13 pm
Forum: Small Change Requests
Topic: print message in chSysHalt
Replies: 5
Views: 3165

Re: print message in chSysHalt

Hi, thanks for the quick response (as always) :) You should definitely NOT use any system API (RT, NIL, HAL, OSAL) from hooks, what you need to do is to add a low level output function using polled mode. I don't exactly get your idea about a low level output function. I think that is what I did befo...
by Thargon
Tue Feb 05, 2019 10:41 am
Forum: Small Change Requests
Topic: print message in chSysHalt
Replies: 5
Views: 3165

print message in chSysHalt

Hi, when running ChibiOS in debug mode, I would like to get a human readable message if a sanity check (i.e. chDbgCheck or chDbgAssert) fails. So far I used the CH_CFG_SYSTEM_HALT_HOOK, which is called at the very end of the chSysHalt() function and accessed the UART LLD directly from within the hoo...
by Thargon
Thu Oct 18, 2018 8:15 am
Forum: Small Change Requests
Topic: incremental (quadrature) encoder interface and LLD
Replies: 1
Views: 2095

incremental (quadrature) encoder interface and LLD

Hi, at the end of this post you can find a patch which introduces an incremental (quadrature) encoder interface (QEI) for HAL as well as a LLD implementation for STM32 TIMv1. Please note that the newly introduced files contain our custom header with according copyright and licence information , whic...

Go to advanced search