STM32L0固件库error

woniu2211 2016-11-16 05:11:32
IAR环境:库文件stm32l0xx_ll_rcc.h中RCC_CSR_OBLRSTF出现未定义报错,请教高手,谢谢!

__STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_OBLRST(void)
{
return (READ_BIT(RCC->CSR, RCC_CSR_OBLRSTF) == (RCC_CSR_OBLRSTF));
}
...全文
399 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
Version: 2.6.0 (2021-07-30) Keil.STM32L4xx_DFP.2.6.0.pack Updated Pack to STM32Cube_FW_L4 Firmware Package version V1.17.0 Package Description: Added global define USE_FULL_LL_DRIVER to component ::Device:STM32Cube LL:Common. Added debugProbe board description. Device Support: Updated SVD files and documentation. Reworked device RAM size. Added missing devices: STM32L451CETx, STM32L452CETx, STM32L462CETx, STM32L4Q5CGTxP, STM32L4Q5CGUxP, STM32L4Q5VGTxP, STM32L4Q5QGIxP, STM32L4Q5ZGTxP, STM32L4Q5AGIxP, STM32L4Q5RGTxP. Removed devices: STM32L451RCYx, STM32L452RCYx, STM32L485xx. Updated dbgconf files - Add missing variable DoOptionByteLoading. CMSIS Flash Algorithm: Added algorithm for STM32L4RxxG devices. Updated flash algorithms: STM32L4Rx_2048_Dual, STM32L4P5xx_1M, STM32L4P5xx_512: Added empty check, disable interrupts while programming, fix programming while IWDG in HW mode. Fixed last word programming. CMSIS-Driver: USBH: Fixed port resume occasionally getting stuck in resume signaling. Added compile time configuration for reducing Bulk IN NAK rate. SPI: Updated Control function to: Set SPI bus speed only for master mode and disable DMA before reconfigure DMA Updated SPI_GetStatus function with correct error code Updated SPI_GetDataCount function when SPI is not initialized Board Examples: Updated Assembler option to armclang(Auto Select). Updated config files to CMSIS 5.8.0 and MDK-Middleware 7.13.0.
Version: 2.5.0 (2020-10-21) Keil.STM32L4xx_DFP.2.5.0.pack Updated Pack to STM32Cube_FW_L4 Firmware Package version V1.16.0 using HAL Drivers V1.12.0 Package Description (pdsc): Added global define USE_HAL_DRIVER to the component ::Device:STM32Cube HAL:Common. Device support: Aligned devices with CubeMX DB. CMSIS Flash Algorithm: Removed targets (STM32L4xx_512, STM32L4xx_256) from STM32L4Rx Flash Algorithm project. Added source code for: STM32L476G-Disco QSPI, STM32L4P5G-DK OSPI, STM32L4P5G-DK PSRAM STM32L4R9I-DK PSRAM, STM32L4R9I-DK OSPI1 and STM32L4R9I-EVAL OSPI. Added PSRAM external Loader support for STM32L4R9I-Disco. Fixed STM32L4P5 1M internal flash Loader sector erase with DBANK mode. Fixed STM32L4xx 512K and 128K internal flash Loader sector erase. CMSIS-Driver: MCI: Replaced empty delay loops with _NOP(). Added handling for separate SD and MMC HAL layers. Added busy signal handling after CMDREND interrupt. SPI: Corrected PowerControl function (to return error if Initialize was not called, to abort active transfer if power off was requested). Updated GetDataCount function to give accurate count. Corrected Uninitialize function (to power off the peripheral if it is powered). USART: Added Driver_USART6 (uses LPUART1). Corrected GetTxCount/GetRxCount implementation. USBD: Removed include of stm32l4xx_hal_pcd.h header. Corrected documentation of STM32CubeMx configuration. Updated Boards Examples: Migrated CubeMX projects to V6.0.1. Changed variant selection to "MDK-Plus" where possible. Updated all USB Host/Device examples with user templates from MDK-Middleware v7.11.1.

27,375

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧