Skip to content

FreeRTOS stream buffer missing #6648

@aheinous

Description

@aheinous

Board

ESP32 Dev module

Device Description

Select Espressif ESP32 Dev Module when creating a new project.

Hardware Configuration

NA

Version

v2.0.2

IDE Name

VSCode - PlatformIO

Operating System

macOS 12.1

Flash frequency

NA

PSRAM enabled

no

Upload speed

NA

Description

StreamBufferHandle_t etc. are no where to be found despite appearing in the Espressif documentation

Sketch

#include <Arduino.h>

#include "FreeRTOS.h"


// these includes can't be found
// #include "stream_buffer.h"
// #include "freertos/stream_buffer.h"


StreamBufferHandle_t x;

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

Debug Message

src/main.cpp:5:1: error: 'StreamBufferHandle_t' does not name a type
 StreamBufferHandle_t x;

Other Steps to Reproduce

Start a new PlatformIO project.
Choose Espressif ESP32 Dev Module, and Arduino Framework.
Code above won't compile.

Note: stream_buffer.h exists at .platformio/packages/framework-espidf/components/freertos/include/freertos/stream_buffer.h

However #include FreeRTOS.h maps to something from a BLE library .platformio/packages/framework-arduinoespressif32/libraries/BLE/src/FreeRTOS.h
and #include "freertos/FreeRTOS.h" maps to .platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos/freertos/FreeRTOS.h

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions