Skip to content

Commit 47b2539

Browse files
committed
Updating path to mbed_os_tools
1 parent 6876ff6 commit 47b2539

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[run]
22
source =
3-
mbed_os_tools
3+
src/mbed_os_tools

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
max-line-length = 88
55
exclude =
66
test,
7-
mbed_os_tools/test,
7+
src/mbed_os_tools/test,
88
legacy

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ This repository contains the python modules needed to work with Mbed OS. **The A
44

55
To contribute changes to these packages, please commit them to this repository. The mapping of these packages to the `mbed-os-tools` modules is as follows:
66

7-
- mbed-ls - `mbed_os_tools/detect` for the implementation, `test/detect` for the tests
8-
- mbed-greentea - `mbed_os_tools/test` for the implementation, `test/test` for the tests
9-
- mbed-host-tests - `mbed_os_tools/test` for the implementation, `test/test` for the tests
7+
- mbed-ls - `src/mbed_os_tools/detect` for the implementation, `test/detect` for the tests
8+
- mbed-greentea - `src/mbed_os_tools/test` for the implementation, `test/test` for the tests
9+
- mbed-host-tests - `src/mbed_os_tools/test` for the implementation, `test/test` for the tests
1010

1111
## License and contributions
1212

legacy/mbed-ls/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Development moved
22

3-
The development of Mbed LS has been moved into the [mbed-os-tools](../../mbed_os_tools) package. You can continue to use this module for legacy reasons, however all further development should be continued in the new package.
3+
The development of Mbed LS has been moved into the [mbed-os-tools](../../src/mbed_os_tools) package. You can continue to use this module for legacy reasons, however all further development should be continued in the new package.
44

55
-------------
66

@@ -404,7 +404,7 @@ Mbed LS currently supports the following types of debuggers:
404404

405405
### Adding support for DAPLink-compatible platforms (DAPLink, ST-LINK, and CMSIS-DAP)
406406

407-
Add an entry to the `daplink` section of the [`DEFAULT_PLATFORM_DB`](../../mbed_os_tools/detect/platform_database.py).
407+
Add an entry to the `daplink` section of the [`DEFAULT_PLATFORM_DB`](../../src/mbed_os_tools/detect/platform_database.py).
408408

409409
If your platform's name is `NEW_PLATFORM` and it has platform ID of `9999`, the new entry should be:
410410

@@ -422,7 +422,7 @@ Please order the entries by the platform ID when adding new platforms.
422422

423423
### Adding support for J-Link platforms
424424

425-
J-Link detection works differently due to the information present on the platform's filesystem. All new entries should be added to the `jlink` section of the [`DEFAULT_PLATFORM_DB`](../../mbed_os_tools/detect/platform_database.py).
425+
J-Link detection works differently due to the information present on the platform's filesystem. All new entries should be added to the `jlink` section of the [`DEFAULT_PLATFORM_DB`](../../src/mbed_os_tools/detect/platform_database.py).
426426

427427
The following is an example `jlink` platform entry:
428428

@@ -451,4 +451,4 @@ If your J-Link platform does not follow this convention, please raise an issue w
451451

452452
The type of debugger present on the platform affects how it is detected. The USB Vendor ID is used to detect which type of debugger is present on the platform.
453453

454-
If a new type of debugger is being introduced to Mbed LS with the platform, you will need to add the Vendor ID to the [identification map](../../mbed_os_tools/detect/lstools_base.py). You will also need to assign the correct "update from the filesystem" logic [here](../../mbed_os_tools/detect/lstools_base.py). If the debugger is compatible with the files presented by DAPLink, you may reuse that implementation when updating the device information from the filesystem. If it is not, you may need to write your own update logic. If you need guidance on this, please ask for it when you submit an issue or a pull request.
454+
If a new type of debugger is being introduced to Mbed LS with the platform, you will need to add the Vendor ID to the [identification map](../../src/mbed_os_tools/detect/lstools_base.py). You will also need to assign the correct "update from the filesystem" logic [here](../../src/mbed_os_tools/detect/lstools_base.py). If the debugger is compatible with the files presented by DAPLink, you may reuse that implementation when updating the device information from the filesystem. If it is not, you may need to write your own update logic. If you need guidance on this, please ask for it when you submit an issue or a pull request.

0 commit comments

Comments
 (0)