Skip to content

Commit

Permalink
Small minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrossard committed Jan 15, 2021
1 parent 35ecf00 commit ab2baf3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ tmp/
*.axf
*.S19
*.bin
*.hex
*.dep
*.FLM

Expand Down
2 changes: 1 addition & 1 deletion test/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
("k20dx_mimxrt1050_evk_hyper_if", True, 0x8000, "bin" ),
("k20dx_mimxrt1050_evk_qspi_if", True, 0x8000, "bin" ),
('k20dx_ep_agora_if', True, 0x0000, "bin" ),
('k20dx_ep_kairos_if', True, 0x0000, "bin" ),
('k20dx_ep_kairos_if', True, 0x0000, "bin" ),
("k26f_frdmk32w042_if", False, 0x8000, "bin" ),
("lpc11u35_archble_if", False, 0x0000, "bin" ),
("lpc11u35_archpro_if", False, 0x0000, "bin" ),
Expand Down
4 changes: 2 additions & 2 deletions tools/package_release_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ def package_release_files(source, dest, version, toolchain, release_info, suppor
for fw_name_key in InstructionsText:
if fw_name_key in dest_name.lower():
fw_instuction = InstructionsText[fw_name_key]
break;
break

if extension == 'bin':
update_yml_entries.append({target_name:TargetList([
('name', target_name),
('product_code', "'" + format(product_code, '04x') + "'"),
('fw_name', host_mcu + "_" + base_name + dest_offset_str),
('instructions', fw_instuction)
])});
])})

make_bin_zip(output_dir, build_number + '_release_package_' + subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode().strip() + '.zip')

Expand Down
2 changes: 1 addition & 1 deletion tools/pre_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export TOOLS=../../../tools
export DIR=../../../source/daplink
# Create dsion_git_tmpl.txt ${DIR}\version_git.h

python --version 2> nul
# python --version

# Run python script to delete default version_git.h and create the real one
python ${TOOLS}/pre_build_script.py

0 comments on commit ab2baf3

Please sign in to comment.