From 0c164d3bb3278bb5f9f8fdcadb0fff8bd8dfb278 Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Thu, 10 Jan 2019 15:06:43 +0200 Subject: [PATCH 1/5] Updating examples link in MBRBlockDevice.md --- docs/api/storage/MBRBlockDevice.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/storage/MBRBlockDevice.md b/docs/api/storage/MBRBlockDevice.md index 4929a7b776..a2d2e10a31 100644 --- a/docs/api/storage/MBRBlockDevice.md +++ b/docs/api/storage/MBRBlockDevice.md @@ -19,11 +19,11 @@ You can view more information about the configurable settings and functions in t Partition a heap backed block device into two partitions. This example also uses the [HeapBlockDevice](heapblockdevice.html). -[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/MBRBlockDevice_ex_1/)](https://os.mbed.com/teams/mbed_example/code/MBRBlockDevice_ex_1/file/daa62d7aa9f9/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/main.cpp) Partition an SD card, and format the new partition with a FAT filesystem. A PC will now be able to recognize the SD card. -[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/MBRBlockDevice_ex_2/)](https://os.mbed.com/teams/mbed_example/code/MBRBlockDevice_ex_2/file/a48b7099a59c/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/main.cpp) ### Related content From 0c047bb1def90066cace5a8f9a41b09aa18cd3dc Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Thu, 10 Jan 2019 17:04:45 +0200 Subject: [PATCH 2/5] Changing example links for ProfilingBlockDevice and SlicingBlockDevice --- docs/api/storage/MBRBlockDevice.md | 2 +- docs/api/storage/ProfilingBlockDevice.md | 2 +- docs/api/storage/SlicingBlockDevice.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/storage/MBRBlockDevice.md b/docs/api/storage/MBRBlockDevice.md index a2d2e10a31..728b78c07d 100644 --- a/docs/api/storage/MBRBlockDevice.md +++ b/docs/api/storage/MBRBlockDevice.md @@ -23,7 +23,7 @@ Partition a heap backed block device into two partitions. This example also uses Partition an SD card, and format the new partition with a FAT filesystem. A PC will now be able to recognize the SD card. -[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/main.cpp) ### Related content diff --git a/docs/api/storage/ProfilingBlockDevice.md b/docs/api/storage/ProfilingBlockDevice.md index a89f5ddff5..4452d6737e 100644 --- a/docs/api/storage/ProfilingBlockDevice.md +++ b/docs/api/storage/ProfilingBlockDevice.md @@ -16,7 +16,7 @@ To configure this class, please see our [BlockDevice configuration documentation Create a ProfilingBlockDevice, perform storage operations and report back the read, write and erase counts. -[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/ProfilingBlockDevice_ex_1/)](https://os.mbed.com/teams/mbed_example/code/ProfilingBlockDevice_ex_1/file/20bf5212cdd6/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/ProfilingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/ProfilingBlockDevice/main.cpp) ### Related content diff --git a/docs/api/storage/SlicingBlockDevice.md b/docs/api/storage/SlicingBlockDevice.md index ebd793d7b3..79def5ddde 100644 --- a/docs/api/storage/SlicingBlockDevice.md +++ b/docs/api/storage/SlicingBlockDevice.md @@ -20,7 +20,7 @@ To configure this class, please see our [BlockDevice configuration documentation This SlicingBlockDevice example partitions a [HeapBlockDevice](heapblockdevice.html) into three subunits and showcases programming and reading back data segments through both the underlying master block device and the sliced subunits. -[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/SlicingBlockDevice_ex_1/)](https://os.mbed.com/teams/mbed_example/code/SlicingBlockDevice_ex_1/file/62c01cd06ff7/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/SlicingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/SlicingBlockDevice/main.cpp) ### Related content From 80dfe07060df36d98d33a56d4cd2b9a7552f7363 Mon Sep 17 00:00:00 2001 From: Amanda Butler Date: Fri, 18 Jan 2019 09:44:42 -0600 Subject: [PATCH 3/5] Fix example links in MBRBlockDevice.md Update examples because source repo structure changed. --- docs/api/storage/MBRBlockDevice.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/storage/MBRBlockDevice.md b/docs/api/storage/MBRBlockDevice.md index 728b78c07d..e5db0872e9 100644 --- a/docs/api/storage/MBRBlockDevice.md +++ b/docs/api/storage/MBRBlockDevice.md @@ -19,11 +19,11 @@ You can view more information about the configurable settings and functions in t Partition a heap backed block device into two partitions. This example also uses the [HeapBlockDevice](heapblockdevice.html). -[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_1/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/MBRBlockDevice/MBRBlockDevice_ex_1/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/MBRBlockDevice/MBRBlockDevice_ex_1/main.cpp) Partition an SD card, and format the new partition with a FAT filesystem. A PC will now be able to recognize the SD card. -[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/MBRBlockDevice_ex_2/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/MBRBlockDevice/MBRBlockDevice_ex_2/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/MBRBlockDevice/MBRBlockDevice_ex_2/main.cpp) ### Related content From 09ba8021ec1202fd30b5004f72d7eb9107424b06 Mon Sep 17 00:00:00 2001 From: Amanda Butler Date: Fri, 18 Jan 2019 09:47:53 -0600 Subject: [PATCH 4/5] Fix example link in ProfilingBlockDevice.md Update example link because source repo structure changed. --- docs/api/storage/ProfilingBlockDevice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/storage/ProfilingBlockDevice.md b/docs/api/storage/ProfilingBlockDevice.md index 4452d6737e..14e905e5a7 100644 --- a/docs/api/storage/ProfilingBlockDevice.md +++ b/docs/api/storage/ProfilingBlockDevice.md @@ -16,7 +16,7 @@ To configure this class, please see our [BlockDevice configuration documentation Create a ProfilingBlockDevice, perform storage operations and report back the read, write and erase counts. -[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/ProfilingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/ProfilingBlockDevice/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/ProfilingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/ProfilingBlockDevice/main.cpp) ### Related content From b3160af5b0a4cd83f88a54b7d3d8b91f614f2520 Mon Sep 17 00:00:00 2001 From: Amanda Butler Date: Fri, 18 Jan 2019 09:49:03 -0600 Subject: [PATCH 5/5] Fix example link in SlicingBlockDevice.md Update example link because source repo structure changed. --- docs/api/storage/SlicingBlockDevice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/storage/SlicingBlockDevice.md b/docs/api/storage/SlicingBlockDevice.md index 79def5ddde..9db2be6a0e 100644 --- a/docs/api/storage/SlicingBlockDevice.md +++ b/docs/api/storage/SlicingBlockDevice.md @@ -20,7 +20,7 @@ To configure this class, please see our [BlockDevice configuration documentation This SlicingBlockDevice example partitions a [HeapBlockDevice](heapblockdevice.html) into three subunits and showcases programming and reading back data segments through both the underlying master block device and the sliced subunits. -[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/SlicingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/tree/master/SlicingBlockDevice/main.cpp) +[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/SlicingBlockDevice/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/blockdevices/SlicingBlockDevice/main.cpp) ### Related content