Search found 14459 matches

by Giovanni
Tue Mar 26, 2024 8:30 am
Forum: ChibiOS/RT
Topic: What files should be imported in MDK5?
Replies: 17
Views: 903

Re: What files should be imported in MDK5?

Does that F3 demo compile in your MDK?

Giovanni
by Giovanni
Sun Mar 24, 2024 3:52 pm
Forum: ChibiOS/RT
Topic: What files should be imported in MDK5?
Replies: 17
Views: 903

Re: What files should be imported in MDK5?

It looks like you assembler does not use the C preprocessor so all macros and comments cause errors, look for an assembler option for that.

Giovanni
by Giovanni
Sat Mar 23, 2024 11:28 pm
Forum: ChibiOS/RT
Topic: What files should be imported in MDK5?
Replies: 17
Views: 903

Re: What files should be imported in MDK5?

Hi,

You need to enable C99 compatibility in your compiler.

Giovanni
by Giovanni
Sat Mar 23, 2024 6:55 am
Forum: ChibiOS/RT
Topic: What files should be imported in MDK5?
Replies: 17
Views: 903

Re: What files should be imported in MDK5?

It is simple, each STM32 has different versions of some peripherals.

You need to look into .\ChibiOS_21.11.3\os\hal\ports\STM32\STM32F1xx\platform.mk, the list of the LLDs to be included is in there.

Giovanni
by Giovanni
Thu Mar 21, 2024 9:38 am
Forum: ChibiOS/RT
Topic: What files should be imported in MDK5?
Replies: 17
Views: 903

Re: What files should be imported in MDK5?

Hi, Easiest way is to look for the .mk files in the various subsystems and include the files specified in there, for example for RT look into rt.mk. About which subsystems include, look into a Makefile where all .mk are included. There is also an F3 project for MDK under /demos/STM32, you may start ...
by Giovanni
Mon Mar 18, 2024 1:40 pm
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 795

Re: UDP receive missing messages

You should try to identify which layer causes the delay, there are several, is the MAC driver delaying frames ? does it happen in lwip ?

Giovanni
by Giovanni
Sun Mar 17, 2024 9:28 am
Forum: General Support
Topic: STM32U5 Support?
Replies: 8
Views: 4827

Re: STM32U5 Support?

Some partial work has been committed in trunk but I cannot guarantee a delivery date, have fun with your project :-)

Giovanni
by Giovanni
Sun Mar 17, 2024 9:27 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 795

Re: UDP receive missing messages

Hi,

Do you have threads slowing down lwip threads? check priorities order.

Giovanni
by Giovanni
Sat Mar 16, 2024 8:53 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 795

Re: UDP receive missing messages

Hi,

It is possible this is related to this old bug:

https://sourceforge.net/p/chibios/bugs/973/

Could you try that proposed fix?

Giovanni
by Giovanni
Mon Mar 11, 2024 8:42 pm
Forum: General Support
Topic: Stop and start again chibios_rt::BaseStaticThread
Replies: 3
Views: 253

Re: Stop and start again chibios_rt::BaseStaticThread

Hi,

You don't need addref if you already own a reference. By incrementing the reference counter you prevent the thread to be disposed.

Giovanni

Go to advanced search