Remove `mduv380g` target, it is a duplicate of `mduv380`

replace/0e41f318efff2b9036bacd9f770428f1bc6d813d
Federico Amedeo Izzo 2021-03-21 09:20:46 +01:00
rodzic 42153be082
commit e83cc7f849
1 zmienionych plików z 2 dodań i 24 usunięć

Wyświetl plik

@ -275,15 +275,6 @@ foreach k, v : mduv380_def
endif
endforeach
mduv380g_args = []
foreach k, v : mduv380_def
if v == ''
mduv380g_args += '-D@0@'.format(k)
else
mduv380g_args += '-D@0@=@1@'.format(k, v)
endif
endforeach
gd77_args = []
foreach k, v : gd77_def
if v == ''
@ -331,13 +322,6 @@ mduv380_opts = {'sources': mduv380_src,
'-Wl,--print-memory-usage'],
'include_directories': mduv380_inc}
mduv380g_opts = {'sources': mduv380_src,
'c_args': mduv380g_args,
'cpp_args': mduv380g_args,
'link_args' : ['-Wl,-T../platform/mcu/STM32F4xx/linker_script.ld',
'-Wl,--print-memory-usage'],
'include_directories': mduv380_inc}
gd77_opts = {'sources': gd77_src,
'c_args': gd77_args,
'cpp_args': gd77_args,
@ -380,19 +364,13 @@ targets = [
'wrap': 'UV3X0',
'load_addr': '0x0800C000'},
{'name': 'mduv380g',
'opts': mduv380g_opts,
'flashable': true,
'wrap': 'UV3X0',
'load_addr': '0x0800C000'},
{'name': 'gd77',
{'name': 'gd77',
'opts': gd77_opts,
'flashable': true,
'wrap': 'UV3X0',
'load_addr': '0x0800C000'},
{'name': 'dm1801',
{'name': 'dm1801',
'opts': dm1801_opts,
'flashable': true,
'wrap': 'UV3X0',