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

Subversion Repositories neo430

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /neo430
    from Rev 130 to Rev 131
    Reverse comparison

Rev 130 → Rev 131

/trunk/doc/NEO430.pdf Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
/trunk/sw/bootloader/Makefile
21,7 → 21,7
# You should have received a copy of the GNU Lesser General Public License along with this #
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html #
# ********************************************************************************************* #
# Stephan Nolting, Hannover, Germany 20.05.2017 #
# Stephan Nolting, Hannover, Germany 05.10.2017 #
#################################################################################################
 
 
29,7 → 29,7
# USER CONFIGURATION
#-------------------------------------------------------------------------------
# Path of compiler binaries:
BIN_PATH = /mnt/c/msp430-gcc-6.2.1.16_linux64/bin
BIN_PATH = /mnt/c/msp430-gcc-6.4.0.32_linux64/bin
 
#-------------------------------------------------------------------------------
# Make defaults
57,7 → 57,7
 
# Remove -g to exclude debugging information
CC_OPTS = -nostartfiles -pipe -fwhole-program -fdata-sections -ffunction-sections -Xlinker --gc-sections -Wl,-static -Wall
CC_OPTS += -lm -Os -mmcu=msp430f133 -T boot_linker_script.x -minrt -Xassembler --mY -mhwmult=none
CC_OPTS += -lm -Os -mcpu=msp430 -T boot_linker_script.x -minrt -Xassembler --mY -mhwmult=none
 
#-------------------------------------------------------------------------------
# Paths
87,7 → 87,7
#-------------------------------------------------------------------------------
# Assemble startup code
crt0.elf: boot_crt0.asm
@$(AS) -g -mY -mmcu=msp430 $< -o $@
@$(AS) -g -mY -mcpu=msp430 $< -o $@
 
# Compile app sources
main.elf: bootloader.c crt0.elf
/trunk/sw/bootloader/make.bat
21,13 → 21,13
@REM # You should have received a copy of the GNU Lesser General Public License along with this #
@REM # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html #
@REM # ********************************************************************************************* #
@REM # Stephan Nolting, Hannover, Germany 20.05.2017 #
@REM # Stephan Nolting, Hannover, Germany 05.10.2017 #
@REM #################################################################################################
 
 
@REM ----------------------USER CONFIGURATION----------------------
@REM Path of MSPGCC binaries:
@set BIN_PATH=C:\msp430-gcc-6.2.1.16_win32\bin
@set BIN_PATH=C:\msp430-gcc-6.4.0.32_win32\bin
@REM --------------------------------------------------------------
 
@REM Tools
43,11 → 43,11
 
@REM Compiler flags
@set CC_OPTS=-nostartfiles -pipe -fwhole-program -fdata-sections -ffunction-sections -Xlinker --gc-sections -Wl,-static -Wall
@set CC_OPTS=%CC_OPTS% -lm -Os -mmcu=msp430f133 -T boot_linker_script.x -minrt -Xassembler --mY -mhwmult=none
@set CC_OPTS=%CC_OPTS% -lm -Os -mcpu=msp430 -T boot_linker_script.x -minrt -Xassembler --mY -mhwmult=none
 
 
@REM Assemble startup code
@%AS% -mmcu=msp430 boot_crt0.asm -mY -o crt0.elf
@%AS% -mcpu=msp430 boot_crt0.asm -mY -o crt0.elf
 
@REM Compile app sources
@%CC% %CC_OPTS% bootloader.c -o main.elf
/trunk/sw/common/Makefile
21,7 → 21,7
# You should have received a copy of the GNU Lesser General Public License along with this #
# source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html #
# ********************************************************************************************* #
# Stephan Nolting, Hannover, Germany 20.05.2017 #
# Stephan Nolting, Hannover, Germany 05.10.2017 #
#################################################################################################
 
 
29,7 → 29,7
# USER CONFIGURATION
#-------------------------------------------------------------------------------
# Path of compiler binaries:
BIN_PATH = /mnt/c/msp430-gcc-6.2.1.16_linux64/bin
BIN_PATH = /mnt/c/msp430-gcc-6.4.0.32_linux64/bin
 
# Compiler effort (-Os = optimize for size)
EFFORT = -Os
54,24 → 54,11
#-------------------------------------------------------------------------------
# Definitions
#-------------------------------------------------------------------------------
#This script is still compatible with the old MSPGCC.
#Use MSPGCC only if you know what you are doing!
#MSPGCC is obsolete!
# This script is still compatible with the old MSPGCC.
# Use MSPGCC only if you know what you are doing!
# MSPGCC is obsolete!
USE_TIMSP430_GCC = true
MULTIPLIER = false
 
# MAC/MUL option (OBSOLETE!!!)
ifeq ($(MULTIPLIER),true)
ifeq ($(USE_TIMSP430_GCC),true)
@echo WARNING! NEO430 hardware multiplier not supported by msp430-elf-gcc!
MCU = msp430f133
else
MCU = msp430f233
endif
else
MCU = msp430f133
endif
 
#-------------------------------------------------------------------------------
# Tools
#-------------------------------------------------------------------------------
129,11 → 116,11
#-------------------------------------------------------------------------------
# Assemble startup code
crt0.elf: $(COMMON_PATH)/crt0.asm
@$(AS) -g -mY -mmcu=$(MCU) $< -o $@
@$(AS) -g -mY -mcpu=msp430 $< -o $@
 
# Compile app sources
main.elf: $(APP_SRC) crt0.elf
@$(CC) $(CC_OPTS) $(EFFORT) -mmcu=$(MCU) $< -T neo430_linker_script.x -o $@ -lm
@$(CC) $(CC_OPTS) $(EFFORT) -mcpu=msp430 -hwmult=none $< -T neo430_linker_script.x -o $@ -lm
@echo Memory utilization:
@$(SIZE) main.elf
 
/trunk/sw/common/compile.bat
21,13 → 21,13
@REM # You should have received a copy of the GNU Lesser General Public License along with this #
@REM # source; if not, download it from https://www.gnu.org/licenses/lgpl-3.0.en.html #
@REM # ********************************************************************************************* #
@REM # Stephan Nolting, Hannover, Germany 20.05.2017 #
@REM # Stephan Nolting, Hannover, Germany 05.10.2017 #
@REM #################################################################################################
 
 
@REM ----------------------USER CONFIGURATION----------------------
@REM Path of compiler binaries:
@set BIN_PATH=C:\msp430-gcc-6.2.1.16_win32\bin
@set BIN_PATH=C:\msp430-gcc-6.4.0.32_win32\bin
 
@REM Compiler effort (-Os = optimize for size)
@set EFFORT=-Os
34,24 → 34,11
@REM --------------------------------------------------------------
 
 
 
@REM This script is still compatible with the old MSPGCC.
@REM Use MSPGCC only if you know what you are doing!
@REM MSPGCC is obsolete!
@set USE_TIMSP430_GCC=true
@set MULTIPLIER=false
 
@REM MAC/MUL option (OBSOLETE!!!)
@if %MULTIPLIER%==true (
@if %USE_TIMSP430_GCC%==true (
@echo WARNING! NEO430 hardware multiplier not supported by msp430-elf-gcc!
@set MCU=msp430f133
) else (
@set MCU=msp430f233
)
) else (
@set MCU=msp430f133
)
 
@REM Compiler tools (obsolete!!!)
@if %USE_TIMSP430_GCC%==false (
78,10 → 65,10
)
 
@REM Assemble start-up code
@%AS% -mmcu=msp430f133 crt0.asm -mY -o crt0.elf
@%AS% -mcpu=msp430 crt0.asm -mY -o crt0.elf
 
@REM Compile
@%CC% %CC_OPTS% %EFFORT% -mmcu=%MCU% %1 -T neo430_linker_script.x -o main.elf -lm
@%CC% %CC_OPTS% %EFFORT% -mcpu=msp430 -hwmult=none %1 -T neo430_linker_script.x -o main.elf -lm
 
@REM Print memory utilization
@echo Memory utilization:

powered by: WebSVN 2.1.0

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