You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-96Lines changed: 15 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,102 +1,15 @@
1
-
# Warning: Development branch
2
-
3
-
This is is a development branch:
4
-
- It adds support for the GCC (`gcc_arm`) and ARMC6 (`armclang`) compilers, ARMC5 (`armcc`) will be deprecated.
5
-
- It focuses on `progen` support using `make` and `cmake`.
6
-
7
-
## Setup
8
-
9
-
DAPLink sources are compiled using `progen` (from [project-generator](https://github.com/project-generator/project_generator)) which can be run on Linux, MacOS and Windows.
10
-
11
-
Install the necessary tools listed below. Skip any step where a compatible tool already exists.
12
-
13
-
* Install [Python 3](https://www.python.org/downloads/) . Add to PATH.
14
-
* Install [Git](https://git-scm.com/downloads) . Add to PATH.
15
-
* Install a compiler:
16
-
*[GNU Arm Embedded Toolchain](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) . This compiler will be identified as `gcc_arm`.
17
-
*[Arm Compiler 6](https://developer.arm.com/tools-and-software/embedded/arm-compiler) . This compiler will be identified as `armclang`. Only supported on Linux and Windows.
18
-
*[Keil MDK](https://developer.arm.com/tools-and-software/embedded/keil-mdk) or [Arm Compiler 5](https://developer.arm.com/tools-and-software/embedded/arm-compiler/downloads/legacy-compilers#arm-compiler-5). This compiler will be identified as `armcc`. Only supported on Linux and Windows.
19
-
* Install `make` (tested with [GNU Make](https://www.gnu.org/software/make)). [CMake](https://cmake.org) can alternatively be used in conjunction with different implementations of `make` as well as [ninja](https://ninja-build.org).
20
-
* Install virtualenv in your global Python installation eg: `pip install virtualenv`.
21
-
22
-
**Step 1.** Initial setup.
23
-
24
-
Get the sources and create a virtual environment
25
-
26
-
```
27
-
$ git clone https://github.com/ARMmbed/DAPLink
28
-
$ cd DAPLink
29
-
$ git checkout develop
30
-
$ virtualenv venv
31
-
```
32
-
33
-
## Activate virtual environment
34
-
**Step 2.** Activate the virtual environment and update requirements. This is necessary when you open a new shell. **This should be done every time you pull new changes**
35
-
36
-
```
37
-
$ venv/Scripts/activate (For Linux)
38
-
$ venv/Scripts/activate.bat (For Windows)
39
-
(venv) $ pip install -r requirements.txt
40
-
```
41
-
42
-
## Build
43
-
**This should be done every time you pull new changes**
44
1
45
-
You can use the `progen` command-line tool from project-generator or the `tools/progen_compile.py` wrapper tool.
*`-t <tool>`: choose the toolchain to build. The default is `make_gcc_arm`. Other options tested are `make_gcc_arm`, `make_armclang`, `make_armcc`, `cmake_gcc_arm`, `cmake_armclang`, `cmake_armcc`.
54
-
*`--clean`: will clear existing compilation products and force recompilation of all files.
55
-
*`-v`: will make compilation process more verbose (typically listing all commands with their arguments)
56
-
*`--parallel`: enable parallel compilation within a project (projects are compiled sequentially).
57
-
*`<project>`: target project to compile (e.g. `stm32f103xb_bl`, `lpc11u35_if`), if none is specified all (140 to 150) projects will be compiled.
58
-
59
-
**Step 4.2.** Using `progen` with `make`
60
-
61
-
The following command combines generation and compilation:
- It adds support for the GCC (`gcc_arm`) and ARMC6 (`armclang`) compilers. ARMC5 (`armcc`) will be deprecated.
10
+
- It focuses on `progen` support using `make` and `cmake`.
95
11
96
-
**Note:** The master branch requires an Arm Compiler 5 or Keil MDK license to build. See the
97
-
[develop](https://github.com/ARMmbed/DAPLink/tree/develop) branch for gcc and Arm
98
-
Compiler 6 support. As soon as testing is complete, gcc will become the default compiler and AC5 support will be
99
-
dropped.
12
+
**Note:** The main branch of DAPLink requires an Arm Compiler 5 or Keil MDK license to build.
100
13
101
14
----
102
15
@@ -114,12 +27,18 @@ For more detailed usability information [see the users guide.](docs/USERS-GUIDE.
114
27
115
28
## Compatibility
116
29
There are many ARM microcontroller-based Hardware Interface Circuits (HICs) that DAPLink interface firmware runs on. These can be found as standalone boards (debugger) or as part of a development kit. Some branded circuits that are known to be IO compatible are:
117
-
*[NXP OpenSDA based on K20, K22 and KL26](http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA)
30
+
31
+
*[Maxim Integrated MAX32625PICO based on MAX32625](https://www.maximintegrated.com/en/products/microcontrollers/MAX32625PICO.html)
32
+
* Nuvoton Nu-Link2-Me based on M48SSIDAE
118
33
*[NXP LPC-Link2 based on LPC11U35 or LPC4322](https://www.nxp.com/support/developer-resources/hardware-development-tools/lpcxpresso-boards:LPCXPRESSO-BOARDS)
34
+
*[NXP MCU-LINK on LPC55xx](https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK)
35
+
*[NXP OpenSDA based on K20, K22, KL26Z and KL27Z](http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA)
119
36
*[Segger J-Link OB based on Atmel SAM3U](https://www.segger.com/products/debug-probes/j-link/models/j-link-ob/)
37
+
*[STMicroelectronics ST-LINK/V2 (on NUCLEO boards) based on STM32F103CB](https://www.st.com/en/evaluation-tools/stm32-nucleo-boards.html)
38
+
120
39
121
40
## Releases
122
-
There are many board builds (board = HIC + target combination) created from this repository. Quarterly releases will contain new features and bugfixes. Standalone bugfixes are released once reported, verified and fixed. Both quarterly and bugfix releases will result in the build number being incremented. Many development kits and products ship with DAPLink interface firmware or are capable of running DAPLink firmware. **[The current release builds and instructions for updating DAPLink interface firmware is hosted on the DAPLink release site.](https://armmbed.github.io/DAPLink/)** Release notes and previous release builds can be found under GitHub releases.
41
+
There are many board builds (board = HIC + target combination) created from this repository. Quarterly releases will contain new features and bugfixes. Standalone bugfixes are released once reported, verified and fixed. Both quarterly and bugfix releases will result in the build number being incremented. Many development kits and products ship with DAPLink interface firmware or are capable of running DAPLink firmware. **[The current release builds and instructions for updating DAPLink interface firmware is hosted on the DAPLink release site.](https://daplink.io/)** Release notes and previous release builds can be found under GitHub releases.
0 commit comments