-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: Board supportBoard support issuesBoard support issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
- 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.
- 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)
- 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
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: Board supportBoard support issuesBoard support issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working