Search found 15 matches

by Guillaume227
Sat Apr 16, 2022 5:17 am
Forum: ChibiOS/RT
Topic: Thread scheduling configuration
Replies: 1
Views: 3260

Thread scheduling configuration

Ciao Giovanni,

I would like to understand more about your comment in that thread where you advised on thread scheduling:
https://forum.chibios.org/viewtopic.php?t=5408#p37219


#define CH_CFG_ST_FREQUENCY 10000 -> 1000 (10000 is too high without tick-less mode)
#define CH_CFG_ST_TIMEDELTA 2 -> 0 ...
by Guillaume227
Sat Feb 05, 2022 9:40 am
Forum: ChibiOS/HAL
Topic: SPI STM32H7 (SPIV3) and lld-v1
Replies: 6
Views: 6530

Re: SPI STM32H7 (SPIV3) and lld-v1

One resource that has been useful to me in the past when struggling with DMA and cache coherency on H7:
m

One thing you can try is to use spiPolledExchange instead of spiExchange , my understanding is the former doesn't rely on the DMA so it would help disambiguate where the problem is coming from ...
by Guillaume227
Thu Nov 18, 2021 3:27 pm
Forum: Development and Feedback
Topic: halconf and preprocessor switches
Replies: 2
Views: 3694

Re: halconf and preprocessor switches

Sounds good - trading some compilation time in that case is totally fine. Thank you Giovanni.
by Guillaume227
Thu Nov 18, 2021 3:06 pm
Forum: Development and Feedback
Topic: halconf and preprocessor switches
Replies: 2
Views: 3694

halconf and preprocessor switches

Seeing how halconf.h is laid out with preprocessor switches like:
#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__)
#define HAL_USE_SIO FALSE
#endif

I expected to be able to set HAL_USE_SIO in the Makefile (e.g. USE_OPT+= -DHAL_USE_SIO=TRUE) as an alternative to editing the halconf.h file.
I ran ...
by Guillaume227
Wed Sep 29, 2021 6:31 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116481

Re: [DEV] STM32G4xx support

I am wondering about ADC5 support : I see earlier in this thread that support was not added at the same time as ADC 1...4. What's different about ADC5 that we can't mimic what's been done for the other ADC in its group, namely ADC3 and ADC4?
by Guillaume227
Mon Aug 30, 2021 11:52 am
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 231
Views: 225888

Re: Where to start STM32H7 support

Just got my hands on a H723ZG nucleo 144.
Current H7 demo cover H743, H750, H755 but there aren't any for H72x.
Is there anything specific to that family I should know before embarking on creating a new demo project, along the lines of what's described there ?
m
I am thinking about compatibility ...
by Guillaume227
Sat Jul 31, 2021 10:24 am
Forum: ChibiStudio
Topic: Binary size difference between gcc9 and gcc10
Replies: 2
Views: 28490

Re: Binary size difference between gcc9 and gcc10

Thank you Giovanni.
For reference, I recompiled using -Os, here the output that we can compare to the others :

text data bss dec hex filename
41740 220 130848 172808 2a308 build/ch.elf

Done
11:17:41 Build Finished. 0 errors, 0 warnings. (took 15s.792ms)

For reference ...
by Guillaume227
Thu Jul 29, 2021 7:36 pm
Forum: ChibiStudio
Topic: Binary size difference between gcc9 and gcc10
Replies: 2
Views: 28490

Binary size difference between gcc9 and gcc10

I am giving ChibiStudio 2021-07 a spin.
First of all, thanks for the update !

I was checking the demo project RT-STM32F446RE-NUCLEO64 and noticed a significant binary size difference between the two gcc versions.

For gcc9:
text data bss dec hex filename
[b]46872 220 130848 177940 2b714 ...
by Guillaume227
Fri Jun 04, 2021 11:25 pm
Forum: Bug Reports
Topic: [patch] DMAMUX Macros for SAI are inconsistent on STM32H7xx
Replies: 3
Views: 4548

Re: [patch] DMAMUX Macros for SAI are inconsistent on STM32H7xx

Incidental question: I don't see a 20.3.4 version released from the github mirror:
https://github.com/ChibiOS/ChibiOS/releases
When is github updated?
by Guillaume227
Tue May 11, 2021 6:10 am
Forum: Development and Feedback
Topic: [DEV] The new SIO driver
Replies: 9
Views: 11717

Re: [DEV] The new SIO driver

Just came upon that promising feature.
Is there a time-line for inclusion of SIO in a release? I do not think I have seen that yet.