Skip to content

Minar depends on RTC #76

@tibmanus

Description

@tibmanus

Environment
Board: FRDM-K64F

Steps to reproduce:
Schedule a change in the RTC time using the rtc_write (from rtc_api.h). Eg. set the RTC time to a higher value than the current one.

Actual behaviour:
The scheduler executes all the scheduled tasks as if the time actually would have elapsed.

Expected behaviour:
The scheduler depends solely on the ever increasing hardware clock (ticks), not on the real-time clock.

Please see attached code. Try to modify tmp_time += 20; to other values. Examine both LED and serial print behaviour. app_start.cpp
Yotta config:
"dependencies": {
"mbed-drivers": "^1.1.3"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions