module Image

Copyright (C) 2018 Franz Flasch <franz.flasch@gmx.at>

This file is part of REM - Rake for EMbedded Systems and Microcontrollers.

REM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

REM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with REM. If not, see <www.gnu.org/licenses/>.

Copyright (C) 2018 Franz Flasch <franz.flasch@gmx.at>

This file is part of REM - Rake for EMbedded Systems and Microcontrollers.

REM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

REM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with REM. If not, see <www.gnu.org/licenses/>.

Private Instance Methods

do_make_bin() click to toggle source
# File scripts/build_functions/gcc/image.rb, line 23
def do_make_bin
    execute "#{global_config.get_obj_cp} #{global_config.get_obj_copy_flags} -S -O binary #{pkg_deploy_dir}/#{name}.elf #{pkg_deploy_dir}/#{name}.bin"
end
do_make_hex() click to toggle source
# File scripts/build_functions/gcc/image.rb, line 27
def do_make_hex
    execute "#{global_config.get_obj_cp} #{global_config.get_obj_copy_flags} -S -O ihex #{pkg_deploy_dir}/#{name}.elf #{pkg_deploy_dir}/#{name}.hex"
end
do_make_srec() click to toggle source
# File scripts/build_functions/gcc/image.rb, line 31
def do_make_srec
    execute "#{global_config.get_obj_cp} #{global_config.get_obj_copy_flags} -S -O srec #{pkg_deploy_dir}/#{name}.elf #{pkg_deploy_dir}/#{name}.srec"
end