[mbedmicro/pyOCD] rtos: Introduce Zephyr thread awareness (#333)

104 views
Skip to first unread message

Maureen Helm

unread,
Sep 9, 2017, 9:57:03 AM9/9/17
to mbedmicro/pyOCD, Subscribed

Adds a new ZephyrThreadProvider class modeled after the existing
FreeRTOSThreadProvider and ArgonThreadProvider classes.

Zephyr is highly configurable, and member offsets into the kernel and
thread structures can change from application to application. To support
thread-aware debugging in OpenOCD, Zephyr added a configuration option
to store these offsets within the application. This same option can be
used for pyOCD as well. Enable it by setting CONFIG_OPENOCD_SUPPORT=y in
your Zephyr application.

Floating point stack frames are not yet supported.

Tested with Zephyr v1.9.0 on FRDM-K64F.


You can view, comment on, or merge this pull request online at:

  https://github.com/mbedmicro/pyOCD/pull/333

Commit Summary

  • rtos: Introduce Zephyr thread awareness

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Maureen Helm

unread,
Sep 18, 2017, 4:54:16 PM9/18/17
to mbedmicro/pyOCD, Subscribed

The CI test passes when I run it locally. Is it possible to rerun the test in Travis or can you please help investigate the failure?

Maureen Helm

unread,
Feb 2, 2018, 11:37:18 AM2/2/18
to mbedmicro/pyOCD, Subscribed

@c1728p9 @cederom @flit Is there any interest from the maintainers for this feature? How do we get it into a mergeable state?

Chris Reed

unread,
Feb 2, 2018, 12:50:43 PM2/2/18
to mbedmicro/pyOCD, Subscribed

I think it is a valuable addition. Float frames would need to be supported before it could be merged, imo.

Chris Reed

unread,
Jun 11, 2018, 5:38:16 PM6/11/18
to mbedmicro/pyOCD, Subscribed

/morph test

Chris Reed

unread,
Jun 23, 2018, 1:47:31 PM6/23/18
to mbedmicro/pyOCD, Subscribed

Closed due to creation of #364.

Chris Reed

unread,
Jun 23, 2018, 1:47:32 PM6/23/18
to mbedmicro/pyOCD, Subscribed

Closed #333.

Reply all
Reply to author
Forward
0 new messages