Skip to content

Add possibility to use external scripts to detect target, flash firmware, reset board and discover serial port for custom boards #145

@vznncv

Description

@vznncv

Description

The old mbed-cli tool supports custom boards like Bluepill, but it doesn't allow to flash firmware and run greentea tests on them, as some hardware debugger/programmers (like stlink v2) aren't supported or don't have virtual COM port functionality.
Could you please add a hook for external user scripts/programs that can implement target detection, firmware uploading, board resetting and serial port discovery itself for program uploading and greentea testing.

I have an example of such approach to run greentea tests with mbed-cli tool on Bluepill target using stlink v2 and external UART adapter, but it uses monkey patching to add this functionality: https://github.com/vznncv/vznncv-mbed-greentea

Issue request type

  • Enhancement
  • Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions