stm32duino / STM32RTC

Arduino RTC library for STM32.
125 stars 48 forks source link

Feature: support ArduinoCore-mbed instead of Arduino_Core_STM32 #110

Closed hideakitai closed 3 months ago

fpistm commented 3 months ago

Hi @hideakitai Why not simply call the mbed API to manage RTC and LP?

hideakitai commented 3 months ago

Hi @fpistm , thank you for replying to my mistake! :) I just posted to discussion. I'm not familiar with STM32/mbed. My final goal is standby mode + RTC alarm wakeup with Arduino Portenta H7 base on ArduinoCore-mbed.

https://github.com/orgs/stm32duino/discussions/2336

I saw RTC APIs for mbed, but it seems that RTC API does not support alarms. So, I've tried to fork this library to work the RTC alarm with ArduinoCore-mbed.

Is it possible to use the RTC alarm from mbed APIs?