Skip to content

[BUG] Build Fails #127

Closed
Closed
@orlyprofili

Description

@orlyprofili

Describe the bug
building main fails.

System information

  • Hardware board: esp32c3 (also tried different targets)
  • IDE used: vscode w/esp-idf or idf.py in terminal
  • Operating System: macos
  • Code version: main or commit hash fca362f

steps:

  1. clone recursively
  2. set target (tried c3, c6, s3)
    NOTE
    I skipped this step:
    2.3 Provision the ESP32-C3 with the private key, device certificate and CA certificate in Development M

  1. build

get 3 of these in this same file.

MQTTFileDownloader_cbor.c:117:50: error: passing argument 2 of 'cbor_value_get_int' from incompatible pointer type [-Wincompatible-pointer-types]
117 | cborResult = cbor_value_get_int( &value, ( int32_t * ) fileId );
| ^~~~~~~~~~~~~~~~~~~~
| |
| int32_t * {aka long int *}

I don't believe provisioning is a necessary step to successfully building, maybe I'm missing a key point here?

I noticed that main does fail build in the github workflow, but fca362f passed (Sep 9, 2024). This commit still fails for me. Whether building with vscode+esp-idf or using idf.py.

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