mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
freertos: always enable static allocation
to use it for newlib locks
This commit is contained in:
@@ -64,8 +64,6 @@ typedef enum {
|
||||
* buffer where this struct is of the exact size required to store a ring
|
||||
* buffer's control data structure.
|
||||
*
|
||||
* @note The CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION option must be enabled for
|
||||
* this structure to be available.
|
||||
*/
|
||||
#if ( configSUPPORT_STATIC_ALLOCATION == 1)
|
||||
typedef struct xSTATIC_RINGBUFFER {
|
||||
@@ -117,9 +115,6 @@ RingbufHandle_t xRingbufferCreateNoSplit(size_t xItemSize, size_t xItemNum);
|
||||
* @param[in] pxStaticRingbuffer Pointed to a struct of type StaticRingbuffer_t
|
||||
* which will be used to hold the ring buffer's data structure
|
||||
*
|
||||
* @note The CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION option must be enabled
|
||||
* for this to be available
|
||||
*
|
||||
* @note xBufferSize of no-split/allow-split buffers MUST be 32-bit aligned.
|
||||
*
|
||||
* @return A handle to the created ring buffer
|
||||
|
Reference in New Issue
Block a user