This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F1 v2.0.0 SW pack

STM32F1 v2.0.0 SW pack for MDK-ARM, STM32CubeMX?
I installed Software Pck for STM32F1 v2.0.0 to my MDK-ARM v5.16a, create project for STM32F103RB, add support for device SPI, in RTE_DEvice.h select SPI1, but when compule have eeror
C:\Keil\ARM\PACK\Keil\STM32F1xx_DFP\2.0.0\RTE_Driver\SPI_STM32F10x.c(316): error: #20:

identifier "RCC_APB1RSTR_SPI3RST" is undefined
if (spi == SPI1) { RCC->APB2RSTR |= RCC_APB2RSTR_SPI1RST; }
else if (spi == SPI2) { RCC->APB1RSTR |= RCC_APB1RSTR_SPI2RST; }
else if (spi == SPI3) { RCC->APB1RSTR |= RCC_APB1RSTR_SPI3RST; }

a software developer at ST unaware that low and medium density STM32F1 MCU do not have SPI3? Can somewhere report found bugs in software pack ?

Parents
  • The STM32F1 Software Pack is based on the ST Peripheral Library and not on STM32Cube.
    The reason is that STM32Cube consumes more resources than Peripheral Library.

    Also we have many customers that have already started with Peripheral Library, and the current pack is less disruptive.

    We are waiting for an optimized STM32Cube before we retarget the CMSIS-Driver.

Reply
  • The STM32F1 Software Pack is based on the ST Peripheral Library and not on STM32Cube.
    The reason is that STM32Cube consumes more resources than Peripheral Library.

    Also we have many customers that have already started with Peripheral Library, and the current pack is less disruptive.

    We are waiting for an optimized STM32Cube before we retarget the CMSIS-Driver.

Children