build/openocd: adding Efinix Titanium support

This commit is contained in:
Gwenhael Goavec-Merou 2023-10-17 17:37:34 +02:00
parent aad8311260
commit 7e6418900a
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ class OpenOCD(GenericProgrammer):
3: 0x922, # USER3.
4: 0x923, # USER4.
}[chain]
# Efinix titanium
elif "titanium" in cfg_str:
chain = {
1: 0x08,
}[chain]
# Xilinx 7-Series.
else:
chain = {