NerfUS_cmake_add_library_from_mbed

Dependencies:   mbed-rtos mbed HardwareInterface

Fork of NerfUS_cmake_cleanup by Maxime Dupuis

History

Import HardwareInterface and mock it default tip

2017-02-16, by Maxime Dupuis [Thu, 16 Feb 2017 12:34:00 -0500] rev 12

Import HardwareInterface and mock it


Import library from mbed.org

2017-02-16, by Maxime Dupuis [Thu, 16 Feb 2017 11:24:08 -0500] rev 11

Import library from mbed.org

- Prove that you can import a library from mbed
- Mock one of its abstract interface


Use external library from mbed.org repo

2017-02-15, by dupm2216 [Wed, 15 Feb 2017 22:26:39 +0000] rev 10

Use external library from mbed.org repo


Fix build process for Windows

2017-02-09, by Maxime Dupuis [Thu, 09 Feb 2017 16:35:19 -0500] rev 9

Fix build process for Windows


Simplify the build process

2017-02-09, by Maxime Dupuis [Thu, 09 Feb 2017 14:24:39 -0500] rev 8

Simplify the build process


Change blink period to 1 second; ; - The real purpose of this commit is to test the "pull request" feature

2017-02-09, by dupm2216 [Thu, 09 Feb 2017 02:01:51 +0000] rev 7

Change blink period to 1 second; ; - The real purpose of this commit is to test the "pull request" feature


Rerename test directory to TESTS

2017-02-04, by Maxime Dupuis [Sat, 04 Feb 2017 23:10:53 -0500] rev 6

Rerename test directory to TESTS

I don't know why it reverted, but now
it should work


Remove build files added accidentaly

2017-02-04, by Maxime Dupuis [Sat, 04 Feb 2017 23:05:05 -0500] rev 5

Remove build files added accidentaly


Force online mbed to ignore the tests directory

2017-02-04, by Maxime Dupuis [Sat, 04 Feb 2017 22:58:57 -0500] rev 4

Force online mbed to ignore the tests directory

Rename from test to TESTS.
Online mbed ignores the content of this specific directory.

"Placing code under this directory means it will be ignored when building applications"
Source: https://docs.mbed.com/docs/mbed-os-api/en/mbed-os-5.1.0/api/md_docs_testing_mbed_OS_5.html#test-code-structure


Integrate GoogleTest and GoogleMock

2017-02-04, by Maxime Dupuis [Sat, 04 Feb 2017 22:48:36 -0500] rev 3

Integrate GoogleTest and GoogleMock

How to build and run the tests:

- mkdir build
- cd build
- cmake ..
- make
- ./run_all_tests