mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Basic memory test
This commit is contained in:
parent
6878c5210f
commit
0ded19d04a
4 changed files with 286 additions and 0 deletions
13
apps/memtest/Makefile
Normal file
13
apps/memtest/Makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
TOPDIR=../../
|
||||
PROJECT:=$(shell basename ${PWD})
|
||||
|
||||
HEAP_SIZE=$(shell echo "1024 * 1024 * 32" | bc)
|
||||
OPT=-Os
|
||||
CFLAGS=-DHEAP_SIZE=${HEAP_SIZE}
|
||||
SRCS=${PROJECT}.c ${TOPDIR}/apps/crt0.S barr_memtest.c
|
||||
|
||||
HOST_EXTRA=-e ${HEAP_SIZE} -i 4294967295
|
||||
all: all_common
|
||||
test: test_common
|
||||
clean: clean_common
|
||||
include ${TOPDIR}/apps/makefile.common
|
||||
Loading…
Add table
Add a link
Reference in a new issue