Skip to content

TinyCBOR headers missing when using espressif/cbor (0.6.0~1) in Arduino SDK #332

@tanakamasayuki

Description

@tanakamasayuki

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Including success

Actual behavior (suspected bug)

Tree

ARDUINO15\INTERNAL\ESP32_ESP32-ARDUINO-LIBS_IDF-RELEASE_V5.5-8410210C-V2_8EC78CD8F8\ESP32\INCLUDE\ESPRESSIF__CBOR
└─port
    └─include
            cbor.h

cbor.h

#include "../../tinycbor/src/cbor.h"
#include "../../tinycbor/src/cborjson.h"

It is a relative PATH, so it does not appear in -I.

GitHub

https://github.com/espressif/idf-extra-components/tree/master/cbor

tinycbor is downloaded but not copied.

Error logs or terminal output

esp32/include/espressif__cbor/port/include/cbor.h:1:10: fatal error: ../../tinycbor/src/cbor.h: No such file or directory
    1 | #include "../../tinycbor/src/cbor.h"

Steps to reproduce the behavior

#include <cbor.h>

Project release version

3.3.4

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu 24.04

Shell

Bash

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions