Search found 302 matches

by alex31
Sat Oct 31, 2020 11:23 am
Forum: Bug Reports
Topic: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved
Replies: 3
Views: 13

Re: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved

Giovanni wrote:Hi,

This would require a 64 bits timer, anyway, it makes sense.

Giovanni


Internally, RT don't manage the wrapping of the 32 bits timer ?
by alex31
Sat Oct 31, 2020 9:51 am
Forum: Bug Reports
Topic: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved
Replies: 3
Views: 13

CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved

Hello, This is for chibios 20.3, using RT. From what i see in chconf.h : /** * @brief Type of system time. * @note It is selectable in configuration between 16, 32 or 64 bits. */ #if (CH_CFG_ST_RESOLUTION == 64) || defined(__DOXYGEN__) typedef uint64_t systime_t; #elif CH_CFG_ST_RESOLUTION == 32 typ...
by alex31
Fri Oct 30, 2020 10:19 am
Forum: STM32 Support
Topic: Half-Duplex burst mode DMAR
Replies: 7
Views: 118

Re: Half-Duplex burst mode DMAR

So what goes into the CCR register? Should it be a string of 1's and 0's or should we try and read the whole packet into two register reads or something different? Hello, For the timer part and data representation : In the DSHOT protocol, each bit is coded with a signal with a fixed period and a po...
by alex31
Mon Sep 21, 2020 8:15 pm
Forum: Bug Reports
Topic: dac in 8 bits mode
Replies: 0
Views: 78

dac in 8 bits mode

Hello, I am using ChibiOS 20.3, stm32F4, and need to use DAC in 8 bits mode. Although is work well in 12 bits mode, half buffer callback is called twice as it should in DAC_DHRM_8BIT_RIGHT mode, no dual channel, only one channel used. The code of the hal is complex because there is conditionnal comp...
by alex31
Wed Sep 09, 2020 12:25 pm
Forum: Bug Reports
Topic: warning compiling chibios 20.3 with gcc 10.2
Replies: 4
Views: 252

Re: warning compiling chibios 20.3 with gcc 10.2

yes, probably that

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-truncation"
#pragma GCC diagnostic pop


is a bit to much gcc specific ...

Alexandre
by alex31
Tue Sep 08, 2020 2:38 pm
Forum: Bug Reports
Topic: warning compiling chibios 20.3 with gcc 10.2
Replies: 4
Views: 252

warning compiling chibios 20.3 with gcc 10.2

Hello, I am doing experiment with c++20, and need g++10, so i went over this bug : In function 'dyn_create_object_heap', inlined from 'dyn_create_object_heap' at ../../../ChibiOS_20.3_stable/os/oslib/src/chfactory.c:124:23: ../../../ChibiOS_20.3_stable/os/oslib/src/chfactory.c:146:3: error: 'strncpy...
by alex31
Mon Sep 07, 2020 9:30 pm
Forum: Bug Reports
Topic: request for backport of chVTGetTimeStamp
Replies: 0
Views: 87

request for backport of chVTGetTimeStamp

Hello,

An interesting feature has been added to trunk, and this is a request to add it
in 20.3.4 :

http://www.chibios.com/forum/viewtopic.php?f=24&t=4265&start=10#p38289

Thanks !

Alexandre
by alex31
Mon Sep 07, 2020 6:26 pm
Forum: ChibiOS/RT
Topic: 64bit OS time
Replies: 26
Views: 4163

Re: 64bit OS time

Hello,

Could you consider adding this desirable functionality on 20.3.4 ?

21.X is still far from now to wait :-)

Alexandre
by alex31
Tue Sep 01, 2020 6:50 am
Forum: Development and Feedback
Topic: [DEV] The new SIO driver
Replies: 7
Views: 589

Re: [DEV] The new SIO driver

Hello,

that's nice.

Hardware fifo is mandatory for this driver ?

Another field which is not well covered by drivers is continuous reception using half buffer ISR, that has been add to SPI recently, but still missing for UART.

Alexandre
by alex31
Thu Aug 20, 2020 9:16 am
Forum: ChibiOS/HAL
Topic: hal_buffer_queue : how to use it
Replies: 1
Views: 146

Re: hal_buffer_queue : how to use it

Hum, was my fault, did not notice that the input_buffer_queue store private field (size) in buffer, and that one should reserve NEED_SIZE + sizeof size_t

All works now, sorry for disturbance.

Alexandre

Go to advanced search