File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 42
42
STACK_SIZE = 0x800
43
43
44
44
DAPLINK_TEMPLATE = \
45
- """/* Flash OS Routines (Automagically Generated)
46
- *
45
+ """/*{%- if algo.flash_info.name %} Flash algorithm for {{ algo.flash_info.name.decode('utf-8') }}
46
+ *{% endif %}
47
47
* DAPLink Interface Firmware
48
48
* Copyright (c) {{year}} {{copyright_owner}}
49
49
* SPDX-License-Identifier: Apache-2.0
@@ -282,8 +282,8 @@ def main():
282
282
'header_size' : HEADER_SIZE ,
283
283
'entry' : args .blob_start ,
284
284
'stack_pointer' : sp ,
285
- 'year' : datetime .now ().year ,
286
- 'copyright_owner' : args .copyright or "Arm Limited" ,
285
+ 'year' : datetime .now ().year if args . copyright else ( "2009-%d" % datetime . now (). year ) ,
286
+ 'copyright_owner' : args .copyright or "Arm Limited, All Rights Reserved " ,
287
287
}
288
288
289
289
text = algo .process_template (tmpl , data_dict )
You can’t perform that action at this time.
0 commit comments