Skip to content

boards: unified OpenOCD script #2375

@haukepetersen

Description

@haukepetersen

We have a large number of boards, that are using OpenOCD as flash and debug tool. Right now these boards each contain at least 3 script files for flashing, debugging and resetting (dist/flash.sh, dist/debug.sh, dist/reset.sh), plus some specific GDB and OpenOCD configuration...

@authmillenon proposed to introduce a unified script, maybe something similar to the init.d scripts in Linux?

RIOTDIR/dist/tools/openocd/openocd.sh flash param param

or

RIOTDIR/dist/tools/openocd/openocd.sh debug param

and so on?

Metadata

Metadata

Assignees

Labels

Type: enhancementThe issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions