reduce code duplication in openocd scripts #79

Closed
opened 2021-05-28 18:22:56 +08:00 by sb10q · 0 comments

Things like this are duplicated currently:

set XC7_JSHUTDOWN 0x0d
set XC7_JPROGRAM 0x0b
set XC7_JSTART 0x0c
set XC7_BYPASS 0x3f

proc xc7_program {tap} {
    global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS
....
Things like this are duplicated currently: ``` set XC7_JSHUTDOWN 0x0d set XC7_JPROGRAM 0x0b set XC7_JSTART 0x0c set XC7_BYPASS 0x3f proc xc7_program {tap} { global XC7_JSHUTDOWN XC7_JPROGRAM XC7_JSTART XC7_BYPASS .... ```
mwojcik was assigned by sb10q 2022-02-11 15:06:22 +08:00
sb10q closed this issue 2022-03-10 17:05:58 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/zynq-rs#79
There is no content yet.