Line 43... |
Line 43... |
$(LD_MIPS) -Ttext 0x10000000 -eentry -Map test.map -s -N -o test.axf \
|
$(LD_MIPS) -Ttext 0x10000000 -eentry -Map test.map -s -N -o test.axf \
|
boot.o rtos.o libc.o uart.o rtos_test.o math.o
|
boot.o rtos.o libc.o uart.o rtos_test.o math.o
|
..\tools\convert_bin
|
..\tools\convert_bin
|
@sort test2.map
|
@sort test2.map
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
cp test.bin ..\tools
|
|
|
|
# Build the Plasma RTOS, Plasma TCP/IP stack, and web server for the Plasma CPU
|
# Build the Plasma RTOS, Plasma TCP/IP stack, and web server for the Plasma CPU
|
rtos_tcpip:
|
rtos_tcpip:
|
$(AS_MIPS) -o boot.o ..\tools\boot.asm
|
$(AS_MIPS) -o boot.o ..\tools\boot.asm
|
$(GCC_MIPS) rtos.c
|
$(GCC_MIPS) rtos.c
|
Line 63... |
Line 62... |
boot.o rtos.o libc.o uart.o rtos_test.o math.o tcpip.o \
|
boot.o rtos.o libc.o uart.o rtos_test.o math.o tcpip.o \
|
http.o netutil.o filesys.o
|
http.o netutil.o filesys.o
|
..\tools\convert_bin
|
..\tools\convert_bin
|
@sort test2.map
|
@sort test2.map
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
cp test.bin ..\tools
|
|
|
|
# Build full test application
|
# Build full test application
|
rtosfull:
|
rtosfull:
|
$(AS_MIPS) -o boot.o ..\tools\boot.asm
|
$(AS_MIPS) -o boot.o ..\tools\boot.asm
|
$(GCC_MIPS) rtos.c
|
$(GCC_MIPS) rtos.c
|
Line 88... |
Line 86... |
boot.o rtos.o libc.o uart.o rtos_test.o math.o tcpip.o \
|
boot.o rtos.o libc.o uart.o rtos_test.o math.o tcpip.o \
|
http.o netutil.o filesys.o html.o image.o tictac.o tic3d.o connect4.o
|
http.o netutil.o filesys.o html.o image.o tictac.o tic3d.o connect4.o
|
..\tools\convert_bin
|
..\tools\convert_bin
|
@sort test2.map
|
@sort test2.map
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
@$(DUMP_MIPS) --disassemble test.axf > test.lst
|
cp test.bin ..\tools
|
|
|
|
# Test the RTOS running on a PC
|
# Test the RTOS running on a PC
|
testrtos:
|
testrtos:
|
@$(CC_X86) /c rtos.c
|
@$(CC_X86) /c rtos.c
|
@$(CC_X86) /c libc.c
|
@$(CC_X86) /c libc.c
|