Search found 10559 matches

by Giovanni
Sat Feb 17, 2018 5:29 pm
Forum: General Support
Topic: How to work with virtual timers?
Replies: 3
Views: 28

Re: How to work with virtual timers?

Hi,

Writing is a blocking operation, you cannot block in an ISR, there is not much else to say.

What you can do is to wakeup a thread that then does the writing.

Giovanni
by Giovanni
Sat Feb 17, 2018 3:16 pm
Forum: General Support
Topic: How to work with virtual timers?
Replies: 3
Views: 28

Re: How to work with virtual timers?

Hi,

Enable state checker and assertions, those would reveal that you cannot call blocking functions from ISR context (writing on a stream).

Giovanni
by Giovanni
Fri Feb 16, 2018 9:35 pm
Forum: Bug Reports
Topic: wrong call in hal_ext_lld.c for v18.2.x
Replies: 1
Views: 45

Re: wrong call in hal_ext_lld.c for v18.2.x

Hi,

The EXT driver for STM32 has been removed in 18.2, now the PAL driver has callback functionality. The problem is that those files should have been removed.

Giovanni
by Giovanni
Fri Feb 16, 2018 9:34 pm
Forum: General Support
Topic: irq_vector_t and vectors_t in v18.2.n
Replies: 1
Views: 31

Re: irq_vector_t and vectors_t in v18.2.n

Hi,

You could take the header from the previous version and use the definitions, the table layout is exactly the same, alternatively you can use offsets using the VTOR registers as a base.

Giovanni
by Giovanni
Fri Feb 16, 2018 6:10 pm
Forum: ChibiStudio
Topic: incremental build issues
Replies: 3
Views: 46

Re: incremental build issues

Dependencies are generated by GCC itself into that .dep directory, you should check if those headers are recognized as dependencies. I never experienced this before.

Giovanni
by Giovanni
Fri Feb 16, 2018 3:47 pm
Forum: ChibiStudio
Topic: incremental build issues
Replies: 3
Views: 46

Re: incremental build issues

Hi,

Eclipse has no say in what is compiled or not, it is makefiles. You should look into that, are you using the provided ones?

Giovanni
by Giovanni
Fri Feb 16, 2018 11:07 am
Forum: Bug Reports
Topic: support for HSI48 in stm32l4xx
Replies: 1
Views: 42

Re: support for HSI48 in stm32l4xx

Moved this single post in "bug reports".

Giovanni
by Giovanni
Thu Feb 15, 2018 2:52 pm
Forum: General Support
Topic: Command Shell: exit from a loop
Replies: 2
Views: 52

Re: Command Shell: exit from a loop

From the USB demo: static void cmd_write(BaseSequentialStream *chp, int argc, char *argv[]) { static uint8_t buf[] = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" "0123456789abcdef0123456...
by Giovanni
Thu Feb 15, 2018 2:10 pm
Forum: General Support
Topic: Thread Stack Usage ?
Replies: 4
Views: 54

Re: Thread Stack Usage ?

Hi,

The stack usage is influenced by:

- The function stack frame which depends on the automatic variables defined in the function.
- The call tree, deeper trees require more stack.

Giovanni
by Giovanni
Thu Feb 15, 2018 2:07 pm
Forum: Development and Feedback
Topic: WolfSSL in 18.2
Replies: 2
Views: 65

Re: WolfSSL in 18.2

Hi,

Very simple, WolfSSL people provided demos and all is required for integration. Actually, they hired a developer for this.

Giovanni

Go to advanced search