Memtest code moved to 'various' directory

This commit is contained in:
barthess 2015-06-28 17:18:39 +03:00
parent fce100680e
commit 1181dc9c2e
3 changed files with 4 additions and 3 deletions

View File

@ -220,7 +220,7 @@ static void memtest_wrapper(memtest_t *testp,
void (*p_u8)(memtest_t *testp), void (*p_u8)(memtest_t *testp),
void (*p_u16)(memtest_t *testp), void (*p_u16)(memtest_t *testp),
void (*p_u32)(memtest_t *testp)) { void (*p_u32)(memtest_t *testp)) {
switch(testp->width){ switch(testp->width) {
case MEMTEST_WIDTH_32: case MEMTEST_WIDTH_32:
p_u8(testp); p_u8(testp);
p_u16(testp); p_u16(testp);

View File

@ -114,7 +114,7 @@ CSRC = $(STARTUPSRC) \
# C++ sources that can be compiled in ARM or THUMB mode depending on the global # C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting. # setting.
CPPSRC = $(CHCPPSRC) \ CPPSRC = $(CHCPPSRC) \
memtest.cpp $(CHIBIOS)/community/os/various/memtest.cpp
# C sources to be compiled in ARM mode regardless of the global setting. # C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler # NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
@ -142,7 +142,8 @@ ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \ INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \ $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(CHIBIOS)/os/various/cpp_wrappers \ $(CHIBIOS)/os/various/cpp_wrappers \
$(CHIBIOS)/os/various $(CHIBIOS)/os/various \
$(CHIBIOS)/community/os/various
# #
# Project, sources and paths # Project, sources and paths