Commit Graph

821 Commits (7355219583f11713a2eb8d91860ec97ba5620d4d)

Author SHA1 Message Date
Christopher Haster 1fcc02318a Add 'features/net/FEATURE_IPV4/lwip-interface/' from commit '63e816f0858cf3de3678aea4deec941add516790'
git-subtree-dir: features/net/FEATURE_IPV4/lwip-interface
git-subtree-mainline: 83f24fb0bd
git-subtree-split: 63e816f085
2016-07-22 02:04:56 -05:00
Christopher Haster 03c5855496 Add 'features/net/network-socket/' from commit 'e09565474188b905cada21166118a82e66359217'
git-subtree-dir: features/net/network-socket
git-subtree-mainline: db60d6a7f7
git-subtree-split: e095654741
2016-07-21 18:30:42 -05:00
Vincent Coubard e0a5ca1d67 Bring new ble implementation from mbed-os/workshop-nordic.
Commit ID: e3c7c2dd3ea4f00e27667e79155413033cd80060
2016-07-21 15:03:23 +01:00
Vincent Coubard 2259e0d539 Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed.
In the process, the path has been shortened and the unecessary ble
directory between FEATURE_BLE and the actual implementation has been
removed.

commit id of ARMmbed : 17728a824c7273e16b6b74fae871e2997c88ecd1
2016-07-20 22:10:36 +01:00
Brian Daniels a9eb39dee4 Adding test frameworks and test sources
This commit adds the following test frameworks:

- `greentea-client` (https://github.com/ARMmbed/greentea-client)
  - This framework provides a key-value api for communicating with the
    greentea test tool (https://github.com/ARMmbed/greentea)
- `unity` (https://github.com/ARMmbed/unity)
  - This framework provides test assert macros that can be used when
    writing test cases
- `utest` (https://github.com/ARMmbed/utest)
  - This framework allows you to execute a series of test cases with
    reporting that works with the greentea test tool
    (https://github.com/ARMmbed/greentea)

The following changes were made when bringing these frameworks into the
tree:

- References to `mbed_drivers/mbed.h` within utest's tests were migrated
  to `mbed.h`
- The yotta file `module.json` was removed from `greentea-client` and
  `unity`
  - `coverage.json` was also removed from `greentea-client`
- `.gitignore` and `.gitattributes` were removed from `greentea-client`
- Apache 2.0 license files were removed from `greentea-client`

This also brings in a number of tests that have been newly written or ported from various sources:

- `TESTS/integration` - Very basic tests, used to check if testing frameworks are working correctly
- `TESTS/mbed_drivers` (Thanks @PrzemekWirkus!) - TESTS ported from mbed OS 3.0 (https://github.com/ARMmbed/mbed-drivers)
- `TESTS/mbedmicro-mbed` (Thanks @PrzemekWirkus!) - Tests that weren't covered by `TESTS/mbed_drivers` that currently live in `libraries/tests/mbed`
- `TESTS/mbedmicro-rtos-mbed` (Thanks @PrzemekWirkus!) - Ported tests that currently live in `libraries/tests/rtos/mbed`
- `TESTS/storage_abstraction` (Thanks @rgrover!) - Tests for the storage_abstraction hal
2016-07-20 12:41:26 -05:00
Alessandro Angelino 5b488f345f uVisor: Add a quick-start guide to use uVisor in mbed OS 2016-07-06 14:54:43 +01:00
Alessandro Angelino 238fc2787a uVisor importer script: Add command to copy the docs 2016-07-06 14:54:42 +01:00
Alessandro Angelino c4b08cf830 uVisor: Update the release libraries
Changelog:

* No feature changed.
* The libraries have been built using the ARMmbed/uvisor@dev branch
2016-07-06 14:54:42 +01:00
Alessandro Angelino acb6e08e28 uVisor importer script: Point to the dev branch 2016-07-06 14:54:31 +01:00
Alessandro Angelino 0392b7dea8 uVisor: Fix K64F vMPU bug in release mode
This commit updates the uVisor libraries following the following fix:

* ARMmbed/uvisor@767e794 "K64F vMPU: Use the MPU fault address"

The bug made some release builds of the uVisor example halt because of
an imprecise bus fault not correctly handled by uVisor internally.

The change only affects targets where `FEATURE_UVISOR` and
`UVISOR_SUPPORTED` are defined.
2016-07-01 13:16:38 +01:00
Milosch Meriac 7e006c769e Update uVisor page allocator and box initialization 2016-06-28 16:49:02 +00:00
Niklas Hauser 2a7f02033d Copy page_allocator_config.h file in importer 2016-06-28 16:49:00 +00:00
Milosch Meriac 3fdb44c586 Re-import uVisor library 2016-06-16 17:46:24 +00:00
Alessandro Angelino 88382007aa Add configuration file for when FEATURE_UVISOR is set
The configuration file at the moment only contains the CMSIS NVIC
virtualization macros. When FEATURE_UVISOR is set, we turn on CMSIS NVIC
virtualization automatically.

This removes the need for users to specify the macros themselves.

If UVISOR_SUPPORTED is set as well, the NVIC macros are turned into vIRQ
ones, otherwise they stay NVIC as usual, thanks to the fallback
implementation provided by `unsupported.h`.
2016-06-16 17:46:23 +00:00
Milosch Meriac 6fcf168bd1 Import box initialization code from uvisor repository 2016-06-16 17:38:53 +00:00
Milosch Meriac 3e56d7d941 Temporarily switch to unstable branch 2016-06-16 17:38:53 +00:00
Milosch Meriac fd6944f6e1 Re-import uVisor library 2016-06-14 14:10:00 +00:00
Milosch Meriac 08ba670c7b Add initial uvisor release library 2016-06-10 17:01:29 +01:00
Alessandro Angelino 47025b81d2 uVisor: Define UVISOR_PRESENT based on target labels
Now there is no need any more to specify the UVISOR_PRESENT symbol from
the mbed command line tools. By using a target that has UVISOR_SUPPORTED
has a label, the uVisor-internal UVISOR_PRESENT symbol will be set
automatically.
2016-06-10 16:56:17 +01:00
Jaeden Amero 55f464da27 Copy memory management code over from uVisor
Add the memory management code from uVisor to a shared location that is
suitable for both supported and unsupported use. To do this, we copy all
the RTX-specific files from the RTX folders in uVisor.

Note that the page allocator code is so identical between uVisor supported
and unsupported mode that we can copy the file as-is from uVisor for use on
unsupported targets. This commit performs that copying, to a file called
page_allocator.c_inc, which is included from unsupported_page_allocator.c
only for targets where uVisor is not present.
2016-06-10 16:56:16 +01:00
Milosch Meriac 10d9c2fa97 Add updated uVisor importer script 2016-06-10 16:56:16 +01:00