Skip to content

Conversation

infinnovation-dev
Copy link
Contributor

Allow compile-time tests on the version of mbed-os to cope with
e.g. API changes across versions.

To distinguish between mbed OS 2 and mbed OS 5, we use the
MBED_CONF_RTOS_PRESENT macro.

Note: mbed OS 2 versioning is 2.0.MBED_LIBRARY_VERSION

Related PRs

This is #3096 rebased against master

Allow compile-time tests on the version of mbed-os to cope with
e.g. API changes across versions.

To distinguish between mbed OS 2 and mbed OS 5, we use the
MBED_CONF_RTOS_PRESENT macro.

Note: mbed OS 2 versioning is 2.0.MBED_LIBRARY_VERSION
@geky geky mentioned this pull request Nov 4, 2016
@bridadan
Copy link
Contributor

bridadan commented Nov 4, 2016

@infinnovation Thanks!

/morph test

@bridadan
Copy link
Contributor

bridadan commented Nov 4, 2016

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

@mbed-bot
Copy link

mbed-bot commented Nov 5, 2016

[Build 1086]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@mbed-bot
Copy link

mbed-bot commented Nov 5, 2016

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1005

All builds and test passed!

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 7, 2016

LGTM

Thanks for resubmitting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants