Closed jatincc closed 3 years ago
Hi @khepri420
Also the Releases for the STM32LowPower and STM32RTC library are not correct. The attached release files are of 1.0.0 and not 1.0.3. Is this intentional?
There is non issue with the release. The latest tag is 1.0.3 and this is the one installed with the Arduino library manager. About https://github.com/stm32duino/STM32LowPower/blob/3f3cd07d3b80e58afb76ddd2a3b4e840300ec1dd/library.properties#L2 This is the version of the master which is always ongoing and will be the next release. It is currently not tag as it will be done at the same time than the core.
About your issue, in fact the MP1 could not use this library as the RTC shall not be handled by Arduino in STM32MP1xx. https://github.com/stm32duino/STM32RTC/blob/5be72b02fe6430cb6fecaa441863ae767a172656/src/rtc.c#L42-L50
Anyway, I don't know how you get this error, probably you doesn't have the STM32RTC library installed. Else you would get this error:
STM32duino_RTC\src/STM32RTC.h:46:4: error: #error "RTC configuration is missing. Check flag HAL_RTC_MODULE_ENABLED in variants/board_name/stm32yzxx_hal_conf.h"
46 | #error "RTC configuration is missing. Check flag HAL_RTC_MODULE_ENABLED in variants/board_name/stm32yzxx_hal_conf.h"
| ^~~~~
I am trying to compile the following sketch. This is the ExternalWakeup sketch. But the error occurs on other examples as well.
Also the Releases for the STM32LowPower and STM32RTC library are not correct. The attached release files are of 1.0.0 and not 1.0.3. Is this intentional? I have tried both and the same error was present.
This is the code in "hal_conf_extra.h".
I get the following Error.