STMicroelectronics / STM32CubeL4

STM32Cube MCU Full Package for the STM32L4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
262 stars 153 forks source link

HAL_LL wrong generation in RTC #11

Closed SergeiSOficial closed 3 years ago

SergeiSOficial commented 4 years ago

STM32L412KBUx IAR Arm 8.40.1

Describe the bug HAL_LL project in RTC Alarm generated code is RTC_AlarmStruct.AlarmMask = LL_RTC_ALMA_MASK_DATEWEEKDAY; Build Log: Error[Pe020]: identifier "RTC_ALARMMASK_DATEWEEKDAY" is undefined

How To Reproduce

  1. all libs must be LL
  2. Setup RTC with alarm

Additional context Need to replace to RTC_AlarmStruct.AlarmMask = LL_RTC_ALMA_MASK_DATEWEEKDAY;

Screenshots image

ASELSTM commented 3 years ago

Hi @SergeiSOficial,

First, allow me to thank you for your contribution.

However, this issue is rather related to CubeMX than to the firmware published within this repository. In fact, aspects related to CubeMX tool are not handled at GitHub level. They are rather treated at ST Community level, precisely within the CubeMX dedicated section. There, you may find posts that already raised the issue you are pointing out here. Otherwise, you can create a new post to submit your issue.

Since this issue is out of our scope, please allow me to close this issue. Thank you for your comprehension.

With regards,