加入soft rtc
This commit is contained in:
parent
b846ef98a6
commit
f358a17211
4
.config
4
.config
@ -209,7 +209,9 @@ CONFIG_RT_USING_PWM=y
|
|||||||
# CONFIG_RT_USING_MTD_NOR is not set
|
# CONFIG_RT_USING_MTD_NOR is not set
|
||||||
# CONFIG_RT_USING_MTD_NAND is not set
|
# CONFIG_RT_USING_MTD_NAND is not set
|
||||||
# CONFIG_RT_USING_PM is not set
|
# CONFIG_RT_USING_PM is not set
|
||||||
# CONFIG_RT_USING_RTC is not set
|
CONFIG_RT_USING_RTC=y
|
||||||
|
# CONFIG_RT_USING_ALARM is not set
|
||||||
|
CONFIG_RT_USING_SOFT_RTC=y
|
||||||
CONFIG_RT_USING_SDIO=y
|
CONFIG_RT_USING_SDIO=y
|
||||||
CONFIG_RT_SDIO_STACK_SIZE=512
|
CONFIG_RT_SDIO_STACK_SIZE=512
|
||||||
CONFIG_RT_SDIO_THREAD_PRIORITY=15
|
CONFIG_RT_SDIO_THREAD_PRIORITY=15
|
||||||
|
@ -159,7 +159,7 @@ void test_lcd()
|
|||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
tmp_payload();
|
tmp_payload();
|
||||||
rt_thread_mdelay(1000);
|
rt_thread_mdelay(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MSH_CMD_EXPORT(test_lcd, run my project);
|
MSH_CMD_EXPORT(test_lcd, run my project);
|
||||||
|
@ -131,6 +131,8 @@
|
|||||||
#define RT_USING_I2C
|
#define RT_USING_I2C
|
||||||
#define RT_USING_I2C_BITOPS
|
#define RT_USING_I2C_BITOPS
|
||||||
#define RT_USING_PWM
|
#define RT_USING_PWM
|
||||||
|
#define RT_USING_RTC
|
||||||
|
#define RT_USING_SOFT_RTC
|
||||||
#define RT_USING_SDIO
|
#define RT_USING_SDIO
|
||||||
#define RT_SDIO_STACK_SIZE 512
|
#define RT_SDIO_STACK_SIZE 512
|
||||||
#define RT_SDIO_THREAD_PRIORITY 15
|
#define RT_SDIO_THREAD_PRIORITY 15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user