Deep Sleep not working after update

Home Forums mDot/xDot Deep Sleep not working after update

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14980
    Boris Bozic
    Participant

    I just noticed that there has been a major upgrade to mbed 5.1. That seemed to have broken some of my code where I was using rtos in combination with sleep function.

    In fact I just tried to load Sleep Example program, which works on the old libraries, but as soon as I update the libmdot and/or rtos libraries it fails.

    It would be really nice if the example code was updated to the latest binaries as it seems quite outdated.

    See here screenshot from the errors.
    https://dl.dropboxusercontent.com/u/31537757/mbed.png

    #14981
    Andrew Lindsay
    Participant

    The latest mbed and mbed-rtos dont work with the libmDot library. You need to use:

    libmDot 1.0.8-1-g7ae9ef7
    mbed 121
    mbed-rtos 110

    or the releases listed on the libmDot page if you are using the latest version of the library. The above is what works for me and is a pain in the butt to keep it at this level.

    thanks

    Andrew

    #14983
    Mike Fiore
    Blocked

    The upcoming mDot 2.0 release will support mbed 5 instead of mbed 2. Applications will need to use the mbed-os library instead of mbed and mbed-rtos. While the mDot 2.0 release hasn’t happened yet, we do have a development version available on both mbed and github.

    We’ve refactored our library releases into a single repository which is compatible with both the ARM toolchain used in the online compiler and the GCC ARM toolchain used in offline environments (no more separate libraries for different toolchains!)

    https://github.com/MultiTechSystems/libmDot-dev-mbed5

    https://developer.mbed.org/teams/MultiTech/code/libmDot-dev-mbed5/

    Cheers,

    Mike

    #14986
    Boris Bozic
    Participant

    Ok thanks guys. I managed to successfully compile the example code with the development libraries, but the board doesnt seem to boot with it properly.

    #14987
    Mike Fiore
    Blocked

    Boris,

    Can you share what versions of the mbed-os and libmDot-dev-mbed5 libraries you’re using? Also, are you building in the online compiler or offline?

    Cheers,

    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.