Fixed bug #600.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8017 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
bc9dcab2c8
commit
37a6ee0c67
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -114,7 +114,7 @@ ASMSRC = $(PORTASM)
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
$(CHIBIOS)/os/various
|
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
|
||||||
|
|
||||||
#
|
#
|
||||||
# Project, sources and paths
|
# Project, sources and paths
|
||||||
|
|
|
@ -210,8 +210,6 @@ else
|
||||||
@$(OD) $(ODFLAGS) $< > $@
|
@$(OD) $(ODFLAGS) $< > $@
|
||||||
@echo
|
@echo
|
||||||
@$(SZ) $<
|
@$(SZ) $<
|
||||||
@echo
|
|
||||||
@echo Done
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.list: %.elf $(LDSCRIPT)
|
%.list: %.elf $(LDSCRIPT)
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -41,6 +41,11 @@
|
||||||
#define INTC_EOIR_ADDR (INTC_BASE + 0x30)
|
#define INTC_EOIR_ADDR (INTC_BASE + 0x30)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief INTC priority levels.
|
||||||
|
*/
|
||||||
|
#define INTC_PRIORITY_LEVELS 16U
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module pre-compile time settings. */
|
/* Module pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -289,6 +289,18 @@ struct port_intctx {
|
||||||
*/
|
*/
|
||||||
#define PORT_FAST_IRQ_HANDLER(id) void id(void)
|
#define PORT_FAST_IRQ_HANDLER(id) void id(void)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Priority level verification macro.
|
||||||
|
*/
|
||||||
|
#define PORT_IRQ_IS_VALID_PRIORITY(n) \
|
||||||
|
(((n) >= 0U) && ((n) < INTC_PRIORITY_LEVELS))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Priority level verification macro.
|
||||||
|
*/
|
||||||
|
#define PORT_IRQ_IS_VALID_KERNEL_PRIORITY(n) \
|
||||||
|
(((n) >= 0U) && ((n) < INTC_PRIORITY_LEVELS))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Performs a context switch between two threads.
|
* @brief Performs a context switch between two threads.
|
||||||
* @details This is the most critical code in any port, this function
|
* @details This is the most critical code in any port, this function
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
*/
|
*/
|
||||||
#if !defined(FALSE) || defined(__DOXYGEN__)
|
#if !defined(FALSE) || defined(__DOXYGEN__)
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -330,6 +330,18 @@ struct context {
|
||||||
*/
|
*/
|
||||||
#define PORT_FAST_IRQ_HANDLER(id) void id(void)
|
#define PORT_FAST_IRQ_HANDLER(id) void id(void)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Priority level verification macro.
|
||||||
|
*/
|
||||||
|
#define PORT_IRQ_IS_VALID_PRIORITY(n) \
|
||||||
|
(((n) >= 0U) && ((n) < INTC_PRIORITY_LEVELS))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Priority level verification macro.
|
||||||
|
*/
|
||||||
|
#define PORT_IRQ_IS_VALID_KERNEL_PRIORITY(n) \
|
||||||
|
(((n) >= 0U) && ((n) < INTC_PRIORITY_LEVELS))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Performs a context switch between two threads.
|
* @brief Performs a context switch between two threads.
|
||||||
* @details This is the most critical code in any port, this function
|
* @details This is the most critical code in any port, this function
|
||||||
|
|
|
@ -98,7 +98,7 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
|
||||||
/**
|
/**
|
||||||
* @brief Optimized thread function declaration macro.
|
* @brief Optimized thread function declaration macro.
|
||||||
*/
|
*/
|
||||||
#define PORT_THD_FUNCTION(tname, arg) msg_t tname(void *arg)
|
#define PORT_THD_FUNCTION(tname, arg) void tname(void *arg)
|
||||||
|
|
||||||
#endif /* _CHTYPES_H_ */
|
#endif /* _CHTYPES_H_ */
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,11 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 3.0.0p6 ***
|
*** 3.0.0p6 ***
|
||||||
|
- NIL: Added INTC priorities check to the e200z port.
|
||||||
|
- RT: Added INTC priorities check to the e200z port.
|
||||||
|
- DEM: Fixed missing paths in e200z demos (bug #600).
|
||||||
- HAL: Added support for extra DMA channels in STM32F072 devices.
|
- HAL: Added support for extra DMA channels in STM32F072 devices.
|
||||||
- HAL: Fixed error in platofm_f105_f107.mk file (bug #599).
|
- HAL: Fixed error in platform_f105_f107.mk file (bug #599).
|
||||||
- HAL: Fixed issue in DMA drivers when channels share ISRs (bug #597).
|
- HAL: Fixed issue in DMA drivers when channels share ISRs (bug #597).
|
||||||
|
|
||||||
*** 3.0.0p5 ***
|
*** 3.0.0p5 ***
|
||||||
|
|
Loading…
Reference in New Issue