Skip to content

boards/b-l072z-lrwan1/dist: fix openocd reset_config options#8500

Merged
vincent-d merged 1 commit intoRIOT-OS:masterfrom
aabadie:pr/stm32l0_openocd_config
Feb 22, 2018
Merged

boards/b-l072z-lrwan1/dist: fix openocd reset_config options#8500
vincent-d merged 1 commit intoRIOT-OS:masterfrom
aabadie:pr/stm32l0_openocd_config

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Jan 31, 2018

Contribution description

This PR updates the openocd configuration file of the b-l073z-lrwan1 board by changing the reset_config options.
Using reset_config srst_only is not enough when flashing a new board (I mean just after taking it from the box). The board is in state that prevents openocd from correctly resetting it before flash.

I found the working solution here so maybe it should be applied to other L0 based boards (nucleo-l053/l073/l031).

Issues/PRs references

None

@aabadie aabadie added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: tools Area: Supplementary tools Area: boards Area: Board ports labels Jan 31, 2018
@aabadie aabadie requested a review from vincent-d February 22, 2018 13:45
Copy link
Copy Markdown
Member

@vincent-d vincent-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I can still flash my board, but it's not a brand new one...

ACK

@vincent-d
Copy link
Copy Markdown
Member

All green, let's go

@vincent-d vincent-d merged commit ea7e086 into RIOT-OS:master Feb 22, 2018
@aabadie aabadie deleted the pr/stm32l0_openocd_config branch February 26, 2018 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants