Enabled checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11816 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
99ef0b1cb8
commit
169ab2e0d6
|
@ -131,18 +131,24 @@ include $(CHIBIOS)/os/common/ports/ARMCAx-TZ/compilers/GCC/mk/port_generic.mk
|
||||||
#include $(CHIBIOS)/test/rt/rt_test.mk
|
#include $(CHIBIOS)/test/rt/rt_test.mk
|
||||||
#include $(CHIBIOS)/test/oslib/oslib_test.mk
|
#include $(CHIBIOS)/test/oslib/oslib_test.mk
|
||||||
include $(CHIBIOS)/os/various/reledge_bindings/reledge.mk
|
include $(CHIBIOS)/os/various/reledge_bindings/reledge.mk
|
||||||
include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk
|
#include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk
|
||||||
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
|
||||||
|
|
||||||
# Define linker script file here
|
# Define linker script file here
|
||||||
#LDSCRIPT= $(STARTUPLD)/SAMA5D2.ld
|
#LDSCRIPT= $(STARTUPLD)/SAMA5D2.ld
|
||||||
LDSCRIPT= $(STARTUPLD)/SAMA5D2ddr.ld
|
LDSCRIPT= $(STARTUPLD)/SAMA5D2ddr.ld
|
||||||
|
FATFSINC = $(CHIBIOS)/ext/fatfs/src
|
||||||
|
|
||||||
# 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.
|
||||||
CSRC = $(ALLCSRC) /os/various/syscalls.c \
|
CSRC = $(ALLCSRC) \
|
||||||
main.c fat32test.c reledgetest.c redconf.c
|
main.c fat32test.c reledgetest.c redconf.c
|
||||||
|
|
||||||
|
CSRC += $(CHIBIOS)/os/various/syscalls.c
|
||||||
|
CSRC += $(CHIBIOS)/os/various/fatfs_bindings/fatfs_syscall.c
|
||||||
|
CSRC += $(CHIBIOS)/ext/fatfs/src/ff.c
|
||||||
|
CSRC += $(CHIBIOS)/ext/fatfs/src/ffunicode.c
|
||||||
|
|
||||||
# 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 = $(ALLCPPSRC)
|
CPPSRC = $(ALLCPPSRC)
|
||||||
|
|
|
@ -419,7 +419,7 @@
|
||||||
*
|
*
|
||||||
* @note The default is @p FALSE.
|
* @note The default is @p FALSE.
|
||||||
*/
|
*/
|
||||||
#define CH_DBG_ENABLE_ASSERTS FALSE
|
#define CH_DBG_ENABLE_ASSERTS TRUE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Debug option, trace buffer.
|
* @brief Debug option, trace buffer.
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
//0 (SLOT0) or 1 (SLOT1)
|
//0 (SLOT0) or 1 (SLOT1)
|
||||||
#define DEMO_SLOT 0
|
#define DEMO_SLOT 0
|
||||||
//1 for FFLib, 0 for Reliance
|
//1 for FFLib, 0 for Reliance
|
||||||
#define DEMO_FAT 1
|
#define DEMO_FAT 0
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
|
|
||||||
#define BLOCK_CNT_MAX 32u
|
#define BLOCK_CNT_MAX 32u
|
||||||
|
@ -157,6 +157,7 @@ bool sdmmcGetInstance(uint8_t index, SdmmcDriver **sdmmcp)
|
||||||
(void)index;
|
(void)index;
|
||||||
|
|
||||||
*sdmmcp = &SDMMCD1;
|
*sdmmcp = &SDMMCD1;
|
||||||
|
read();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue