Search found 13809 matches

by Giovanni
Tue Nov 23, 2021 12:37 pm
Forum: Bug Reports
Topic: Cortex-M7 platform FatFS Cache coherency Topic is solved
Replies: 5
Views: 2053

Re: Cortex-M7 platform FatFS Cache coherency Topic is solved

Hi, It is not easy and I haven't done this yet. FatFS does not prefix its own variable names with a common prefix so you can't make a linker script allocating all of them to a specific section. You should find all variable declarations in ff.c and add __attribute__((section("section"))) to...
by Giovanni
Thu Nov 18, 2021 3:08 pm
Forum: Development and Feedback
Topic: halconf and preprocessor switches
Replies: 2
Views: 62

Re: halconf and preprocessor switches

Hi,

You need to disable the "smart build" option in the makefile then you can add -D switches to override configuration files.

Giovanni
by Giovanni
Wed Nov 17, 2021 8:18 pm
Forum: ChibiOS/RT
Topic: CH_DBG_FILL_THREADS kills threads
Replies: 4
Views: 255

Re: CH_DBG_FILL_THREADS kills threads

Hi,

I am unable to replicate, the problem is likely it is not (only) related to that option.

Is your application using our startup files or it is a custom build setup?

Giovanni
by Giovanni
Wed Nov 17, 2021 6:48 pm
Forum: ChibiOS/RT
Topic: CH_DBG_FILL_THREADS kills threads
Replies: 4
Views: 255

Re: CH_DBG_FILL_THREADS kills threads

Hi,

It is set to FALSE in all demo applications. Could you post the chconf.h that causes the exception? perhaps it is something else.

Also, compiler and compiler options?

Giovanni
by Giovanni
Sun Nov 14, 2021 9:26 pm
Forum: General Support
Topic: Deliver the same message queue to many threads
Replies: 4
Views: 263

Re: Deliver the same message queue to many threads

You need to decide the maximum number and allocate that amount of mailboxes.

Giovanni
by Giovanni
Sun Nov 14, 2021 9:09 pm
Forum: General Support
Topic: Deliver the same message queue to many threads
Replies: 4
Views: 263

Re: Deliver the same message queue to many threads

Hi,

You could post messages on multiple Mailboxes (or Object FIFOs if you need to exchange complex messages), one for each thread that can consume messages.

On the receiving side, threads would always consume messages from their own Mailbox and decide, locally, if process it or discard it.

Giovanni
by Giovanni
Sun Nov 14, 2021 3:45 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 24
Views: 1397

Re: Support for STM32G0B1

It appears to work now but there are parts not yet finalized (fast option, isochronous support).

Giovanni
by Giovanni
Sun Nov 14, 2021 3:06 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 24
Views: 1397

Re: Support for STM32G0B1

Small update, the driver now compiles but it does not work yet, it gets interrupts so it is "active".

Added a STM32G0B1 target to the USB-CDC demo.

Giovanni
by Giovanni
Sat Nov 13, 2021 7:11 am
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 24
Views: 1397

Re: Support for STM32G0B1

Hi,

Thanks, will review and merge it.

Giovanni
by Giovanni
Thu Nov 11, 2021 7:50 pm
Forum: Bug Reports
Topic: Support for STM32G0B1
Replies: 24
Views: 1397

Re: Support for STM32G0B1

Hi, By placing infinite loops in the initialization sequence like this: asm volatile (".xxx: b .xxx"); This prevents the compiler from removing the following lines, a "while(1);" would do that. Then with the debugger skip all loops until I found the line that broke the debugger. ...

Go to advanced search