OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [bin/] [msp430sim] - Diff between revs 192 and 200

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 192 Rev 200
Line 27... Line 27...
#
#
# Author(s):
# Author(s):
#             - Olivier Girard,    olgirard@gmail.com
#             - Olivier Girard,    olgirard@gmail.com
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# $Rev: 192 $
# $Rev: 200 $
# $LastChangedBy: olivier.girard $
# $LastChangedBy: olivier.girard $
# $LastChangedDate: 2013-12-17 21:15:28 +0100 (Tue, 17 Dec 2013) $
# $LastChangedDate: 2015-01-21 23:01:31 +0100 (Wed, 21 Jan 2015) $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
 
 
###############################################################################
###############################################################################
#                            Parameter Check                                  #
#                            Parameter Check                                  #
###############################################################################
###############################################################################
Line 133... Line 133...
sed -i 's/`//g'              ./pmem.h
sed -i 's/`//g'              ./pmem.h
sed -i "s/'//g"              ./pmem.h
sed -i "s/'//g"              ./pmem.h
 
 
# Use MSPGCC preprocessor to extract the Program, Data
# Use MSPGCC preprocessor to extract the Program, Data
# and Peripheral memory sizes
# and Peripheral memory sizes
 
if which msp430-elf-gcc >/dev/null; then
 
    msp430-elf-gcc -E -P -x c ../bin/omsp_config.sh > pmem.sh
 
else
msp430-gcc -E -P -x c ../bin/omsp_config.sh > pmem.sh
msp430-gcc -E -P -x c ../bin/omsp_config.sh > pmem.sh
 
fi
 
 
# Source the extracted configuration file
# Source the extracted configuration file
source pmem.sh
source pmem.sh
 
 
# Compile assembler code
# Compile assembler code

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.