Skip to content

Commit

Permalink
tools: Reworking PSoC6 tools based on makefile changes.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Aug 14, 2023
1 parent 34b6f34 commit 8c12dc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,19 +256,19 @@ function ci_psoc6_setup {

function ci_psoc6_build {
board=$1
docker exec mtb-ci make mpy_mtb_init
docker exec mtb-ci make mtb_init BOARD=${board}
docker exec mtb-ci make submodules
docker exec mtb-ci make BOARD=${board}
docker exec mtb-ci make
}

function ci_psoc6_deploy {
docker exec mtb-ci make mpy_program
docker exec mtb-ci make program
}

function ci_psoc6_flash_multiple_devices {
# hex file including path with respect to micropython root
hex_file=$1
docker exec mtb-ci make program_multi_ext_hex EXT_HEX_FILE=../../${hex_file}
docker exec mtb-ci make program_multi EXT_HEX_FILE=../../${hex_file}
}

function ci_psoc6_run_tests {
Expand Down
2 changes: 1 addition & 1 deletion tools/psoc6/dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function set_mtb_tools_path {

function export_path {
mtb_tools_path=$(set_mtb_tools_path)
export PATH=${mtb_tools_path}/openocd/bin:${mtb_tools_path}/library-manager:${mtb_tools_path}/gcc/bin:$PATH
export PATH=${mtb_tools_path}/openocd/bin:${mtb_tools_path}/library-manager:${mtb_tools_path}/fw-loader/bin/:${mtb_tools_path}/gcc/bin:$PATH
}

function install_udev_rules {
Expand Down

0 comments on commit 8c12dc2

Please sign in to comment.