Search found 12951 matches

by Giovanni
Tue Aug 04, 2020 1:29 pm
Forum: Development and Feedback
Topic: [NOTES] Re-imagining the HAL API
Replies: 9
Views: 118

Re: [NOTES] Re-imagining the HAL API

For example failing to initialize a peripheral or failing to allocate a DMA.

Giovanni
by Giovanni
Tue Aug 04, 2020 11:18 am
Forum: Development and Feedback
Topic: [NOTES] Re-imagining the HAL API
Replies: 9
Views: 118

[NOTES] Re-imagining the HAL API

Hi, Just few notes for posterity. Currently I am working on a SW project requiring something like the HAL and decided to explore new directions, I must say that I am liking the result. Basically it is about making the various drivers API more consistent and convenient to use (not that it is hard to ...
by Giovanni
Tue Aug 04, 2020 10:33 am
Forum: ChibiOS/NIL
Topic: NIL tick-less problem
Replies: 1
Views: 77

Re: NIL tick-less problem

Hi, In order to use tick-less mode you need to provide to the kernel port a specific timer interface, I don't know LPC812 but I would verify this timer implementation. This function on STM32 is performed by the HAL "ST" (SysTick) driver, is there an equivalent on LPC? does it actually supp...
by Giovanni
Mon Aug 03, 2020 8:22 pm
Forum: STM32 Support
Topic: I2C transfer of large data (10kb +) crashes chibios Topic is solved
Replies: 14
Views: 195

Re: I2C transfer of large data (10kb +) crashes chibios Topic is solved

Which compiler are you using? chibios version? are you using chibios startup files?

Giovanni
by Giovanni
Mon Aug 03, 2020 8:46 am
Forum: STM32 Support
Topic: I2C transfer of large data (10kb +) crashes chibios Topic is solved
Replies: 14
Views: 195

Re: I2C transfer of large data (10kb +) crashes chibios Topic is solved

Main() can overflow too depending on what you do in there, the stack size setting for main() is in the makefile, see "process stack" NOT "main stack".

Giovanni
by Giovanni
Sun Aug 02, 2020 9:21 pm
Forum: STM32 Support
Topic: I2C transfer of large data (10kb +) crashes chibios Topic is solved
Replies: 14
Views: 195

Re: I2C transfer of large data (10kb +) crashes chibios Topic is solved

OK, you have a thread stack overflowing, you need to understand which one. As a general rule do use large automatic variables (arrays declared within a function).

Giovanni
by Giovanni
Sat Aug 01, 2020 2:27 pm
Forum: Bug Reports
Topic: Assert logic reversed in chSemResetWithMessageI(...) Topic is solved
Replies: 3
Views: 86

Re: Assert logic reversed in chSemResetWithMessageI(...) Topic is solved

After checking, I think the logic is right, when the counter is non-negative then the list must be empty.

Giovanni
by Giovanni
Sat Aug 01, 2020 1:28 pm
Forum: Bug Reports
Topic: Assert logic reversed in chSemResetWithMessageI(...) Topic is solved
Replies: 3
Views: 86

Re: Assert logic reversed in chSemResetWithMessageI(...) Topic is solved

Heh, just after the release...

I will make a 20.3.3 right now.

Giovanni
by Giovanni
Sat Aug 01, 2020 7:31 am
Forum: Releases
Topic: 20.3.x stable branch
Replies: 2
Views: 2246

Re: 20.3.x stable branch

Hello, Update release in 20.3.x branch, name is "Praiano". Version 20.3.2 is composed by: - RT 6.1.2. - NIL 4.0.0. - OSLIB 1.2.0. - SB 1.0.0. - HAL 7.1.3. - EX 1.2.0. The release note: *** 20.3.2 *** - NEW: Support for 3 analog watchdogs in ADCv3 (STM32F3, L4, L4+, G4). - NEW: Support for ...

Go to advanced search