Re: [OpenOCD-devel] RFC: removing Flash “protect” functions that don’t do anything

2020-07-29 Thread Tomas Vanek via OpenOCD-devel
Hi Christopher, On 17/07/2020 23:15, Christopher Head wrote: Hi folks, I’ve noticed that there are quite a lot of Flash “protect” callbacks that don’t actually do anything to the hardware. Some of them just loop through and set the “is_protected” values; one of them (pic32mx) doesn’t even do tha

[OpenOCD-devel] RFC: removing Flash “protect” functions that don’t do anything

2020-07-17 Thread Christopher Head
Hi folks, I’ve noticed that there are quite a lot of Flash “protect” callbacks that don’t actually do anything to the hardware. Some of them just loop through and set the “is_protected” values; one of them (pic32mx) doesn’t even do that, it does literally nothing and then returns ERROR_OK. The psoc