doc: scripts: Updates for pyocd v0.11.1

pyocd recently added support for python 3 so we can now remove the
python 2 package requirements. It also merged Zephyr thread awareness
upstream, so we can remove the reference to my pyocd pull request.

Tested debugging and flashing on Linux and Windows.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2018-07-26 08:37:31 -05:00 committed by Carles Cufí
commit d7d1090422
7 changed files with 6 additions and 31 deletions

View file

@ -674,9 +674,8 @@ Create a Debugger Configuration
RTOS Awareness
==============
Experimental support for Zephyr RTOS awareness is implemented in `pyOCD PR
#333`_. It is compatible with GDB PyOCD Debugging in Eclipse, but you must
download this pull request and build pyOCD from source. You must also enable
Support for Zephyr RTOS awareness is implemented in `pyOCD v0.11.0`_ and later.
It is compatible with GDB PyOCD Debugging in Eclipse, but you must enable
CONFIG_OPENOCD_SUPPORT=y in your application.
CMake Details
@ -1191,4 +1190,4 @@ project that demonstrates some of these features.
.. _Eclipse IDE for C/C++ Developers: https://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/oxygen2
.. _GNU MCU Eclipse plug-ins: https://gnu-mcu-eclipse.github.io/plugins/install/
.. _pyOCD PR #333: https://github.com/mbedmicro/pyOCD/pull/333
.. _pyOCD v0.11.0: https://github.com/mbedmicro/pyOCD/releases/tag/v0.11.0

View file

@ -87,11 +87,6 @@ Install additional packages required for development with Zephyr::
cd ~/zephyr # or to your directory where zephyr is cloned
pip3 install --user -r scripts/requirements.txt
If you require pyocd, an open source python2 library for programming and
debugging ARM Cortex-M microcontrollers, use this command::
pip2 install --user -r scripts/py2-requirements.txt
CMake version 3.8.2 or higher is required. Check what version you have using
``cmake --version``; if you have an older version, check the backports or
install a more recent version manually. For example, to install version

View file

@ -71,20 +71,6 @@ Install tools to build Zephyr binaries:
If ``pip3`` does not seem to have been installed correctly use
``brew reinstall python3`` in order to reinstall it.
If you require pyocd, an open source Python 2 library for programming and
debugging ARM Cortex-M microcontrollers, use this command to install it using
the macOS-bundled Python 2:
.. code-block:: console
pip install --user -r scripts/py2-requirements.txt
If pip for the macOS-bundled Python 2 is not installed, you can install it with:
.. code-block:: console
sudo python -m ensurepip
Source :file:`zephyr-env.sh` wherever you have cloned the Zephyr Git repository:
.. code-block:: console

View file

@ -92,11 +92,6 @@ packages from their respective websites.
of the ``--user`` flag, this makes it harder for the Command Prompt
to find the executables in Python modules installed by ``pip3``.
#. If you require pyocd, an open source python2 library for programming and
debugging ARM Cortex-M microcontrollers, use this command::
pip2 install -r scripts/py2-requirements.txt
#. The build system should now be ready to work with any toolchain installed in
your system. In the next step you'll find instructions for installing
toolchains for building both x86 and ARM applications.

View file

@ -44,8 +44,8 @@ device. Power cycle the board, this time without holding the reset button.
pyOCD
*****
pyOCD is an Open Source python 2.7 based library for programming and debugging
ARM Cortex-M microcontrollers using CMSIS-DAP.
pyOCD is an Open Source python library for programming and debugging ARM
Cortex-M microcontrollers using CMSIS-DAP.
Host Tools and Firmware
=======================

View file

@ -1 +0,0 @@
pyocd

View file

@ -9,6 +9,7 @@ ply==3.10
hub==2.0
gitlint
pyelftools==0.24
pyocd
pyserial
pykwalify
# "win32" is used for 64-bit Windows as well