Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContikiClock enhance controling rTimer resolution and CLOCK_SECOND #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 7, 2020

  1. ContikiClock enhance API controling rTimer resolution and CLOCK_SECON…

    …D control from mote
    
    + resolution of system clock was fixed on 1kHz, now mote cat provide it by simCLOCK_SECOND
    
    + resolution for rTimer mote can provide by simRtimerResolution_hz. This affects polling periodof mote.
       By default mote polls by 1ms. But for accurate process better time precision
       need polling with less then 1ms. and rTimer ordinary much more precise.
    
    + RTIMER_BUSY_WAIT resolution was downgrade to 1ms. Mote can provide time for precise wait via simRtimerWaitTime
       it overrides simProcessRunValue polling to requested time
    alexrayne committed May 7, 2020
    Configuration menu
    Copy the full SHA
    5e01da3 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2020

  1. ContikiClock resolution not save to csc project. It overrides default…

    … old resolution config from mote.
    
        Now mote surely define resolution config - is it used or not.
    
    TODO: If we need define resolution for old projects, have to implement interface visual comtrol. But
       mote config is much easy way to do this.
    
    * It still can be manualy defined resolution setups in project. And will loads and override defaut resolution.
    alexrayne committed May 10, 2020
    Configuration menu
    Copy the full SHA
    a26b9a0 View commit details
    Browse the repository at this point in the history