Hello,
Please incrementally bring additional components (e.g. xmodem) one-by-one into minimal application. This would allow to understand issue quickly. If problem persists please help to share minimal application and I will take a look.
Mahavir
Search found 49 matches
- Tue Jan 26, 2021 6:22 am
- Forum: ESP-IDF
- Topic: Face issues in SDK file compilation, which shows issues in include stdio.h header file in the esp_timer.h file
- Replies: 3
- Views: 285
- Tue Jan 26, 2021 5:47 am
- Forum: ESP-IDF
- Topic: ESP32 OTA Anti-Rollback with Factory Partition.
- Replies: 6
- Views: 579
Re: ESP32 OTA Anti-Rollback with Factory Partition.
Hello, Your understanding is correct. Bootloader tries to boot from `factory` partition as fallback method if bootup from other partition fails due to various reasons. In addition, `factory` partition is non-upgradable entity, because unlike firmware it does not have identical partition to handle po...
- Wed Jan 20, 2021 3:37 pm
- Forum: ESP-IDF
- Topic: kconfig values not recognised in components
- Replies: 3
- Views: 298
Re: kconfig values not recognised in components
Hi @RichPiano
For #1, do you have `#include "sdkconfig.h"` added in your source file?
For #2 and #3, please refer to documentation at https://docs.espressif.com/projects/esp ... -component
For #1, do you have `#include "sdkconfig.h"` added in your source file?
For #2 and #3, please refer to documentation at https://docs.espressif.com/projects/esp ... -component
- Wed Jan 20, 2021 3:09 pm
- Forum: ESP-IDF
- Topic: Face issues in SDK file compilation, which shows issues in include stdio.h header file in the esp_timer.h file
- Replies: 3
- Views: 285
Re: Face issues in SDK file compilation, which shows issues in include stdio.h header file in the esp_timer.h file
../components/xmodem/src/xmodem.c:61:1: error: unknown type name 'FILE' FILE *fd_xmodem; ^~~~ ../components/xmodem/src/xmodem.c:61:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../components/xmodem/src/xmodem.c:39:1: Can you please try adding `#include <s...
- Tue Dec 22, 2020 4:22 pm
- Forum: ESP-IDF
- Topic: Ensuring custom app desc is included
- Replies: 3
- Views: 480
Re: Ensuring custom app desc is included
Aha, you had this in cpp file, sorry missed out on that point. Your change looks correct then.
- Tue Dec 22, 2020 3:55 am
- Forum: ESP-IDF
- Topic: Support of TLS V1.3?
- Replies: 7
- Views: 1001
Re: Support of TLS V1.3?
Reference pointer I had provided was actually component hosted in an independent repository and used as git submodule within main IDF repository. Alternatively you may also use `EXTRA_COMPONENT_DIRS` to specify path to extra components and that way they can be easily shared among projects or applica...
- Mon Dec 21, 2020 1:38 pm
- Forum: ESP-IDF
- Topic: Support of TLS V1.3?
- Replies: 7
- Views: 1001
Re: Support of TLS V1.3?
You can put it as submodule within `components` directory of your project/application.
For example: https://github.com/espressif/esp-idf/tr ... components
For example: https://github.com/espressif/esp-idf/tr ... components
- Mon Dec 21, 2020 1:29 pm
- Forum: ESP-IDF
- Topic: Copy components in new dir when building
- Replies: 1
- Views: 219
Re: Copy components in new dir when building
Hi Tibi Documentation pointer at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#multiple-components-with-the-same-name can be helpful for you. Idea here is to duplicate component within your project under `components` directory, and it shall take preference ...
- Mon Dec 21, 2020 1:21 pm
- Forum: ESP-IDF
- Topic: Compilation error from inside ESP-IDF
- Replies: 1
- Views: 267
Re: Compilation error from inside ESP-IDF
@mccesp32
Can you please try removing `--save-temps` CFLAG from project build:
https://github.com/jeremyjh/ESP32_TFT_l ... akefile#L8?
Can you please try removing `--save-temps` CFLAG from project build:
https://github.com/jeremyjh/ESP32_TFT_l ... akefile#L8?
- Mon Dec 21, 2020 1:15 pm
- Forum: ESP-IDF
- Topic: Ensuring custom app desc is included
- Replies: 3
- Views: 480
Re: Ensuring custom app desc is included
It should be symbol name, so in your case it will translate to:
Please put this in external component `CMakeLists.txt`.
Code: Select all
target_link_libraries(${COMPONENT_TARGET} "-u foo_app_desc")