Description
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:
- clone recursively
- 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
- 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.