git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6557 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2013-12-05 11:27:27 +00:00
parent a2e05803e4
commit 6c57849d53
6 changed files with 29 additions and 6 deletions

View File

@ -48,5 +48,10 @@
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/RT-SPC56EL-EVB"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
</cproject>

View File

@ -73,7 +73,7 @@ PROJECT = ch
CHIBIOS = ../../..
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC56EL/board.mk
include $(CHIBIOS)/os/hal/ports/SPC56ELxx/platform.mk
include $(CHIBIOS)/os/hal/ports/SPC5/SPC56ELxx/platform.mk
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/rt/osal/osal.mk
include $(CHIBIOS)/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk

View File

@ -35,10 +35,16 @@
/* Module constants. */
/*===========================================================================*/
/* The following code is not processed when the file is included from an
asm module.*/
#if !defined(_FROM_ASM_)
#define INTC_MCR *((volatile uint32_t *)0xfff48000)
#define INTC_CPR *((volatile uint32_t *)0xfff48008)
#define INTC_IACKR *((volatile uint32_t *)0xfff48010)
#endif /* !defined(_FROM_ASM_) */
/*===========================================================================*/
/* Module pre-compile time settings. */
/*===========================================================================*/
@ -59,6 +65,10 @@
/* External declarations. */
/*===========================================================================*/
/* The following code is not processed when the file is included from an
asm module.*/
#if !defined(_FROM_ASM_)
#if !defined(__DOXYGEN__)
extern uint32_t _vectors[PPC_NUM_VECTORS];
#endif
@ -71,10 +81,16 @@ extern "C" {
}
#endif
#endif /* !defined(_FROM_ASM_) */
/*===========================================================================*/
/* Module inline functions. */
/*===========================================================================*/
/* The following code is not processed when the file is included from an
asm module.*/
#if !defined(_FROM_ASM_)
static inline void intc_init(void) {
INTC_MCR = 0;
@ -82,6 +98,8 @@ static inline void intc_init(void) {
INTC_IACKR = (uint32_t)_vectors;
}
#endif /* !defined(_FROM_ASM_) */
#endif /* _VECTORS_H_ */
/** @} */

View File

@ -18,7 +18,7 @@
#define _BOARD_H_
/*
* Setup for a generic SPC560Pxx proto board.
* Setup for a generic SPC56ELxx proto board.
*/
/*

View File

@ -19,7 +19,7 @@
*/
/**
* @file PPC/ivor.s
* @file ivor.s
* @brief Kernel ISRs.
*
* @addtogroup PPC_CORE

View File

@ -3,8 +3,8 @@ PORTSRC = ${CHIBIOS}/os/rt/ports/e200/chcore.c
PORTASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC56ELxx/boot.s \
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/ivor.s \
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s \
$(CHIBIOS)/os/rt/ports/e200/compilers/GCC/ivor.s
PORTINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
${CHIBIOS}/os/common/ports/e200/devices/SPC56ELxx \