mirror of https://github.com/ARMmbed/mbed-os.git
update the path in license, readme markdown, astyleignore
parent
fdaaffdc7a
commit
3f080dfd65
|
@ -14,9 +14,9 @@
|
|||
^features/netsocket/ppp/include
|
||||
^features/netsocket/ppp/polarssl
|
||||
^features/netsocket/ppp/source
|
||||
^features/storage/filesystem/fat/ChaN
|
||||
^features/storage/filesystem/littlefs/littlefs/
|
||||
^features/storage/filesystem/littlefsv2/littlefs/
|
||||
^storage/filesystem/fat/ChaN
|
||||
^storage/filesystem/littlefs/littlefs/
|
||||
^storage/filesystem/littlefsv2/littlefs/
|
||||
^features/unsupported/
|
||||
^hal/storage_abstraction
|
||||
^platform/cxxsupport
|
||||
|
|
|
@ -271,7 +271,7 @@ matrix:
|
|||
|
||||
- <<: *extended-vm
|
||||
name: "littlefs"
|
||||
env: NAME=littlefs LITTLEFS=features/storage/filesystem/littlefs
|
||||
env: NAME=littlefs LITTLEFS=storage/filesystem/littlefs
|
||||
install:
|
||||
# Install gcc
|
||||
- source_pkg gcc
|
||||
|
|
|
@ -14,10 +14,10 @@ Folders containing files under different permissive license than Apache 2.0 are
|
|||
- [features/lorawan](./features/lorawan) - Revised BSD
|
||||
- [features/lwipstack](./features/lwipstack) - BSD-style, MIT-style
|
||||
- [features/nanostack/sal-stack-nanostack](./features/nanostack/sal-stack-nanostack) - BSD-3-Clause
|
||||
- [features/storage](./features/storage) - BSD-style, MIT
|
||||
- [features/netsocket/emac-drivers](./features/netsocket/emac-drivers) - BSD-style
|
||||
- [features/frameworks/unity/unity](./features/frameworks/unity/unity) - MIT
|
||||
- [features/unsupported](./features/unsupported) - MIT-style, BSD-style
|
||||
- [storage](./storage) - BSD-style, MIT
|
||||
- [rtos](./rtos) - MIT
|
||||
- [drivers](./drivers) - MIT
|
||||
- [TESTS/mbed_hal/trng/pithy](./TESTS/mbed_hal/trng/pithy) - BSD-3-Clause
|
||||
|
|
|
@ -43,9 +43,9 @@ Please review the [documentation](https://os.mbed.com/docs/latest/tutorials/debu
|
|||
|
||||
In Mbed OS, a C++ class that inherits from the [BlockDevice](https://os.mbed.com/docs/latest/reference/storage.html#block-devices) interface represents each block device.
|
||||
|
||||
This test uses the default block device that the function `get_default_instance()` receives. [SystemStorage.cpp](https://github.com/ARMmbed/mbed-os/blob/master/features/storage/system_storage/SystemStorage.cpp#L35-L77) defines this as `MBED_WEAK`. If you would like to test a new block device, you have to override it.
|
||||
This test uses the default block device that the function `get_default_instance()` receives. [SystemStorage.cpp](https://github.com/ARMmbed/mbed-os/blob/master/storage/system_storage/SystemStorage.cpp#L35-L77) defines this as `MBED_WEAK`. If you would like to test a new block device, you have to override it.
|
||||
|
||||
First add the new block device .cpp and header files to the [blockdevice folder](https://github.com/ARMmbed/mbed-os/tree/master/features/storage/blockdevice). Then, implement `get_default_instance()` inside the test `main.cpp`.
|
||||
First add the new block device .cpp and header files to the [blockdevice folder](https://github.com/ARMmbed/mbed-os/tree/master/storage/blockdevice). Then, implement `get_default_instance()` inside the test `main.cpp`.
|
||||
|
||||
For example, to test the HeapBlockDevice, add:
|
||||
|
||||
|
|
Loading…
Reference in New Issue