Skip to content

Version of mbed-os in online IDE is wrong #2961

Closed
@infinnovation-dev

Description

@infinnovation-dev

Description

  • Type: Bug
  • Priority: Major?

Bug

meed-os sha:
670b098 Merge pull request #2917 from c1728p9/fix_InitTCs

Expected behavior
Program imported from online IDE gets same version of mbed-os

Actual behavior
Imported version is 670b098; online is some older version

Steps to reproduce
Create program online using new 2-argument version of TCPServer::accept

...
TCPSocket sock;
SocketAddress addr;
srv.accept(&sock, &addr);

Add mbed-os library, which shows as synced to revision 2540:670b098.
Try to compile. It fails:

Error: Too many arguments in function call in "main.cpp", Line: 177, Col: 38

Now publish to your repo and import to your PC with "mbed-cli import ..."
"mbed compile" succeeds!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions