jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / jtag / drivers / Makefile.rlink
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Copyright (C) 2008 Lou Deluxe
5 # lou.openocd012@fixit.nospammail.net
6 #
7
8 TOP = ../../..
9 INTERFACE_NAME = rlink
10
11 PERL = perl
12 M4 = m4
13
14 TARGETDIR = ${TOP}/src/target
15 TOOLSDIR = ${TOP}/tools
16
17 MAKE_SPEED_TABLE = ${TOOLSDIR}/rlink_make_speed_table/rlink_make_speed_table
18 ST7_DTC_AS = ${TOOLSDIR}/st7_dtc_as/st7_dtc_as
19
20 OPENOCD = ${TOP}/src/openocd
21 OPENOCD_CONFIG = -s ${TARGETDIR}
22 OPENOCD_CONFIG += -f interface/rlink.cfg
23 OPENOCD_CONFIG += -f board/stm32f10x_128k_eval.cfg
24
25 PATCHFILE = /tmp/openocd_${INTERFACE_NAME}.diff.gz
26
27 # relative to ${TOP}
28 SVNADDFILES =
29 SVNADDFILES += src/target/interface/rlink.cfg
30 SVNADDFILES += src/jtag/${INTERFACE_NAME}.c
31 SVNADDFILES += src/jtag/${INTERFACE_NAME}
32
33 PRESCALERS = 64 11 8 2
34
35 DTCFILES =
36 DTCFILES += $(addsuffix _init.dtc, ${PRESCALERS})
37 DTCFILES += $(addsuffix _call.dtc, ${PRESCALERS})
38
39 default: rlink_speed_table.c clean
40
41 %_init.fsm: rlink_init.m4
42 ${M4} -P -DSHIFTER_PRESCALER=`echo "$@" | sed -e's/_.*//'` $< > $@
43
44 %_call.fsm: rlink_call.m4
45 ${M4} -P -DSHIFTER_PRESCALER=`echo "$@" | sed -e's/_.*//'` $< > $@
46
47 %.dtc: %.fsm
48 ${ST7_DTC_AS} -b -o $@ -i $< > /dev/null
49
50 rlink_speed_table.c: ${DTCFILES}
51 ${MAKE_SPEED_TABLE} ${PRESCALERS} > $@ || rm $@
52
53 clean:
54 -rm *.dtc *.fsm
55
56 distclean: clean
57
58 test: default
59 (cd ${TOP} && (rm src/jtag/${INTERFACE_NAME}.o; ${MAKE}))
60 ${OPENOCD} -d0 ${OPENOCD_CONFIG} -c init -c 'poll off'

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)