git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2171 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
29c73be182
commit
5c37d04ebf
|
@ -170,7 +170,7 @@ struct context {
|
||||||
* @details This macro is used to allocate a static thread working area
|
* @details This macro is used to allocate a static thread working area
|
||||||
* aligned as both position and size.
|
* aligned as both position and size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief IRQ prologue code.
|
* @brief IRQ prologue code.
|
||||||
|
|
|
@ -290,7 +290,7 @@ struct context {
|
||||||
* @details This macro is used to allocate a static thread working area
|
* @details This macro is used to allocate a static thread working area
|
||||||
* aligned as both position and size.
|
* aligned as both position and size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/* Includes the architecture-specific implementation part.*/
|
/* Includes the architecture-specific implementation part.*/
|
||||||
#if defined(CH_ARCHITECTURE_ARM_v6M)
|
#if defined(CH_ARCHITECTURE_ARM_v6M)
|
||||||
|
|
|
@ -192,7 +192,7 @@ struct context {
|
||||||
* @details This macro is used to allocate a static thread working area
|
* @details This macro is used to allocate a static thread working area
|
||||||
* aligned as both position and size.
|
* aligned as both position and size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief IRQ prologue code.
|
* @brief IRQ prologue code.
|
||||||
|
|
|
@ -164,7 +164,7 @@ struct context {
|
||||||
* @details This macro is used to allocate a static thread working area
|
* @details This macro is used to allocate a static thread working area
|
||||||
* aligned as both position and size.
|
* aligned as both position and size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief IRQ prologue code.
|
* @brief IRQ prologue code.
|
||||||
|
|
|
@ -226,7 +226,7 @@ struct context {
|
||||||
* @details This macro is used to allocate a static thread working area
|
* @details This macro is used to allocate a static thread working area
|
||||||
* aligned as both position and size.
|
* aligned as both position and size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief IRQ prologue code.
|
* @brief IRQ prologue code.
|
||||||
|
|
|
@ -139,7 +139,7 @@ struct context {
|
||||||
* Macro used to allocate a thread working area aligned as both position and
|
* Macro used to allocate a thread working area aligned as both position and
|
||||||
* size.
|
* size.
|
||||||
*/
|
*/
|
||||||
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
|
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IRQ prologue code, inserted at the start of all IRQ handlers enabled to
|
* IRQ prologue code, inserted at the start of all IRQ handlers enabled to
|
||||||
|
|
|
@ -107,6 +107,8 @@
|
||||||
receiver in UART_RX_IDLE state, the receive operation continues unless
|
receiver in UART_RX_IDLE state, the receive operation continues unless
|
||||||
explicitly stopped in the error callback handler. This considerably
|
explicitly stopped in the error callback handler. This considerably
|
||||||
simplifies the low level driver code.
|
simplifies the low level driver code.
|
||||||
|
- CHANGE: Removed a spurious trailing ; after the WORKING_AREA() macro
|
||||||
|
declaration in several ports. The ; should go after the macro invocation.
|
||||||
- CHANGE: Modified the STM32 ADC driver to use the new DMA infrastructure.
|
- CHANGE: Modified the STM32 ADC driver to use the new DMA infrastructure.
|
||||||
- CHANGE: Modified the STM32 SPI driver to use the new DMA infrastructure.
|
- CHANGE: Modified the STM32 SPI driver to use the new DMA infrastructure.
|
||||||
- CHANGE: Added DMA cleanup code to the STM32 dmaInit() function.
|
- CHANGE: Added DMA cleanup code to the STM32 dmaInit() function.
|
||||||
|
|
Loading…
Reference in New Issue