This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
I've been continue polishing the STM32WB support and attached a new portion of patches. They are suppose to be applied on top of the patches from the previous tarball (STM32WBxx-b4186f.zip). They are ready for review.
* Removed STM32_MSISRANGE and STM32_SWPMI1SEL as not supported * Updated STM32_HSI16_ENABLED, STM32_HSI48_ENABLED, STM32_LSE_ENABLED and STM32_SW to their default values according to STM32WBxx/hal_lld.h * Added STM32_C2HPRE and STM32_SHDHPRE parameters * Fixed STM32_IRQ_EXTI17_PRIORITY parameters name * Added STM32_IRQ_EXTI18_PRIORITY * Updated ADC parameters: * Removed STM32_ADC_DUAL_MODE as not supported * Added STM32_ADC_ADC1_IRQ_PRIORITY and removed ADC12 and ADC3 * Added STM32_ADC_ADC1_CLOCK_MODE and removed ADC123 * Added STM32_ADC_ADC1_PRESC and removed ADC123 * Regenerated STM32WB55_MCUCONF mcuconf files (TODO USB board)
* 0006 STM32WB: update stm32wbxx board schema
* Return LSEBypass and remove unsupported HSEBypass
Thank you for taking a look. I've tried to download and open them, however got an error too. I made a new tarball with both sets of patches and attached it. Can you please try one more time?
Patches committed. I modified the order of checks for USB addresses, USB_BASE in WB headers is spurious and will probably be removed in newer header versions. It must be a leftover of some other device.
Thank you for accepting those patches! I've attached another portion of clean up patches which are ready for review. Here is their commit message summary:
* Update ST_NUCLEO48_WB55CG_USB * BUTTON is located at GPIOA/10 * Regenerate board and mcuconf files
* Cosmetic changes: * Use tabs instead of a mixture of spaces and tabs in XMLs * Put port IDs at the first place * Organize each port parameter on a separate line
* 0002 STM32WB: Add USB_CDC for STM32WB55RC Nucleo USB
* 0003 STM32WB: remove hal_efl_lld previous copied from STM32L4xx
However the WB55 differences also extend to PLLSAI1N_VALUE which can be 4 and so below the limit currently used in stm32_pllsai1.inc.
I was trying to open your patch attached in pllsail.inc.zip, however I was not able to open it because of an unpacking error. Could you please reupload it?
The problem with attachments should be resolved now, it was caused by issue caused by the phpbb migration. All previous attachments should be restored.