flyxin opened a new issue, #18173: URL: https://github.com/apache/nuttx/issues/18173
### Description / Steps to reproduce the issue 1. Using the STM32F103 chip. When running to the function up_rtc_settime in the file stm32_rtcounter.c located in platforms/nuttx/NuttX/nuttx/arch/arm/src/stm32, the function encountered a hard failure. 2. In the function up_rtc_settime, the line putreg16(RTC_MAGIC, RTC_MAGIC_TIME_SET);, RTC_MAGIC_TIME_SET should be a register address, but currently it is a default illegal address: #define CONFIG_STM32_RTC_MAGIC_TIME_SET (0xf00d) 3. Currently, it has been found that this address cannot be modified even on the STM32F1 chip. ### On which OS does this issue occur? [OS: Linux] ### What is the version of your OS? Ubuntu 22.04 ### NuttX Version Release 11.0.0 ### Issue Architecture [Arch: arm] ### Issue Area [Area: Board support] ### Host information _No response_ ### Verification - [x] I have verified before submitting the report. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
