開發(fā)環(huán)境:野火的stm32f407,rt-thread studio版本是版本: 2.2.6,rt-thread 使用版本為4.0.3,stm32f4的資源包為0.2.2。
使能軟件模擬 RTC,不需要使能硬件相關(guān)的RTC。
查看rt-threadcomponentsdriversrtcsoft_rtc.c和rtc.c是否正常添加進(jìn)來,如果沒有添加成功,可以右鍵點(diǎn)擊,手動添加構(gòu)建。
查看是否有rtc設(shè)備
使用指令date查看和設(shè)置日期時(shí)間。
msh >date
Mon Jan 1 00:00:49 2018
msh >date 2023 02 14 15 35 30
msh >date
Tue Feb 14 15:35:35 2023
Soft RTC 測試可以正常使用。
-
RTC
+關(guān)注
關(guān)注
2文章
544瀏覽量
67085 -
STM32F407
+關(guān)注
關(guān)注
15文章
188瀏覽量
29677 -
RT-Thread
+關(guān)注
關(guān)注
31文章
1306瀏覽量
40434
發(fā)布評論請先 登錄
相關(guān)推薦
RTC設(shè)備的功能配置,如何使用?
在RT-Thread系統(tǒng)上開啟RTC驅(qū)動模塊
記錄RT-Thread的RTC驅(qū)動實(shí)現(xiàn)鬧鐘設(shè)置的過程
RT-Thread使用Soft軟件模擬RTC的流程
RT-Thread軟件包定義和使用
![<b class='flag-5'>RT-Thread</b><b class='flag-5'>軟件</b>包定義和使用](https://file.elecfans.com/web1/M00/51/37/pIYBAFsCPbCARj8DAAASmGgmf14053.png)
RT-Thread 應(yīng)用筆記 - libmodbus RTU RS485 從機(jī)
![<b class='flag-5'>RT-Thread</b> 應(yīng)用筆記 - libmodbus RTU RS485 從機(jī)](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
RT-Thread 應(yīng)用筆記 - freemodbus RTU RS485 主機(jī)
![<b class='flag-5'>RT-Thread</b> 應(yīng)用筆記 - freemodbus RTU RS485 主機(jī)](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
RT-Thread 應(yīng)用筆記 - freemodbus RTU RS485 從機(jī)
![<b class='flag-5'>RT-Thread</b> 應(yīng)用筆記 - freemodbus RTU RS485 從機(jī)](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
RT-Thread 應(yīng)用筆記 - 不正確使用LOG也會引發(fā)hard fault
![<b class='flag-5'>RT-Thread</b> 應(yīng)用筆記 - 不正確使用LOG也會引發(fā)hard fault](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
RT-Thread 應(yīng)用筆記 - RTC Alarm 組件的使用
![<b class='flag-5'>RT-Thread</b> 應(yīng)用筆記 - <b class='flag-5'>RTC</b> Alarm 組件的使用](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
RT-Thread全球技術(shù)大會:RT-Thread開源重塑軟件發(fā)展新生態(tài)
![<b class='flag-5'>RT-Thread</b>全球技術(shù)大會:<b class='flag-5'>RT-Thread</b>開源重塑<b class='flag-5'>軟件</b>發(fā)展新生態(tài)](https://file.elecfans.com/web2/M00/46/0B/poYBAGKQOsKANfL-AAYjtI57LqI428.png)
評論