Possible bug in stm32_registry.h Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
Ceco
Posts: 40
Joined: Tue Nov 27, 2012 12:16 pm
Been thanked: 3 times

Possible bug in stm32_registry.h

Post by Ceco »

Hello.

I found a possible mistake in os/hal/ports/STM32/STM32F4xx/stm32_registry.h and especially for STM32F446 core.

The STM32_SPI1_SUPPORTS_I2S is set to FALSE, which makes the usage of I2S on SPI1 impossible.

Is there a reason to block it? Normally F446 supports I2S on SPI1.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Possible bug in stm32_registry.h

Post by Giovanni »

Hi,

Thanks, I will fix it, there are some devices where SPI1 is no I2S-able.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Possible bug in stm32_registry.h

Post by Giovanni »

Hi,

Fixed as bug #1124.

There were several other instances of the same problem, I think it is fine now.

Giovanni
Post Reply