mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Remove stackoverflow error, have one CORE_INTERNAL error for catastrophic crash
This commit is contained in:
parent
59f5d6449b
commit
508d41c8c5
10 changed files with 163 additions and 57 deletions
|
|
@ -17,15 +17,15 @@ INC_DIRS=-I$(UNITY_ROOT)/src -I../../uvm32/ -I../../common -Irom
|
|||
.PHONY: rom
|
||||
|
||||
default: $(SRC_FILES1) rom
|
||||
$(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) rom/rom-header.c -o $(TARGET1)
|
||||
- ./$(TARGET1)
|
||||
@$(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) rom/rom-header.c -o $(TARGET1)
|
||||
@- ./$(TARGET1)
|
||||
|
||||
rom:
|
||||
(cd rom && make)
|
||||
@(cd rom && make)
|
||||
|
||||
test/test_runners/${SUITE_NAME}_Runner.c: test/${SUITE_NAME}.c
|
||||
mkdir -p test/test_runners
|
||||
ruby $(UNITY_ROOT)/auto/generate_test_runner.rb test/${SUITE_NAME}.c test/test_runners/${SUITE_NAME}_Runner.c
|
||||
@mkdir -p test/test_runners
|
||||
@ruby $(UNITY_ROOT)/auto/generate_test_runner.rb test/${SUITE_NAME}.c test/test_runners/${SUITE_NAME}_Runner.c
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET1) test/test_runners
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ TOPDIR=../../../
|
|||
PROJECT:=$(shell basename ${PWD})
|
||||
SRCS=${PROJECT}.c ${TOPDIR}/apps/crt0.S
|
||||
all: all_common
|
||||
# Convert ROM to C file and header
|
||||
xxd -i ${PROJECT}.bin > ${PROJECT}-header.c
|
||||
echo "extern unsigned char ${PROJECT}_bin[]; extern int ${PROJECT}_bin_len;" > ${PROJECT}-header.h
|
||||
@# Convert ROM to C file and header
|
||||
@xxd -i ${PROJECT}.bin > ${PROJECT}-header.c
|
||||
@echo "extern unsigned char ${PROJECT}_bin[]; extern int ${PROJECT}_bin_len;" > ${PROJECT}-header.h
|
||||
|
||||
test: test_common
|
||||
clean: clean_common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue