Skip to content

Build failed on ESP_IDF #3215

Closed
Closed
@boonkey

Description

@boonkey

Hardware: (irrelevant for this issue)

Board: M5 ESP32CAM
Core Installation/update date: latest
IDE name: IDF-with Arduino
Flash Frequency: 40
Flash size: 4 MB
PSRAM enabled: ?no?
Upload Speed: ?115200?
Computer OS: Ubuntu 18.04.3 LTS

I'm trying to add the HTTPClient header file (and all associated files, libraries, methods, etc.) to M5's WIFI_STA project (link) in order to be able to send GET requests.

I followed the steps in the docs (doc):

  1. cloned the repo into components/ as arduino/
  2. tried to make
    I had the exact same issue as WiFiClientSecure make issue #2154, so I followed the instructions there to solve.
  3. Component Config -> mbedTLS -> TLS Key Exchange Methods -> [*] Enable pre-shared-key ciphersuits [*] Enable PSK based ciphersuite modes
    I now still have building issues, appearing unrelated to the previous one.

LOG:

In file included from /home/user/esp/m5stack-cam-psram/wifi/wifi_sta/main/main.c:18:0: /home/user/esp/m5stack-cam-psram/wifi/wifi_sta/components/arduino/libraries/HTTPClient/src/HTTPClient.h:32:18: fatal error: memory: No such file or directory compilation terminated. /home/user/esp/esp-idf/make/component_wrapper.mk:285: recipe for target 'main.o' failed make[1]: *** [main.o] Error 1 /home/user/esp/esp-idf/make/project.mk:530: recipe for target 'component-main-build' failed make: *** [component-main-build] Error 2
please help me to solve this issue.
Thanks

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