Code Monkey home page Code Monkey logo

Comments (5)

laukik-hase avatar laukik-hase commented on May 26, 2024

@AliHassanEB For getting started with ESP-IDF, you can refer their official documentation. This repository is compatible with ESP-IDF v4.1, so make sure you have that version installed.

from ota_update_stm32_using_esp32.

AliHassanEB avatar AliHassanEB commented on May 26, 2024

Thank you for replying. I have installed esp-idf by using ESP-IDF Tools Installer. Then opened ESP-IDF Command Prompt (cmd.exe) and wrote the command "cd E:\Data\OTA_update_STM32_using_ESP32\file_serving_stm" . After changing the folder I wrote "idf.py build" but after some compilation, an error popped up "fatal error: stm_flash.h: No such file or directory"

from ota_update_stm32_using_esp32.

AliHassanEB avatar AliHassanEB commented on May 26, 2024

Somehow I think I successfully build and flash the code by rewriting the CMakeLists.txt line "set(EXTRA_COMPONENT_DIRS $ENV{HOME}/projects/OTA_update_STM32_using_ESP32/components" to "set(EXTRA_COMPONENT_DIRS E:/Data/projects/OTA_update_STM32_using_ESP32/components)" and placed my OTA_update_STM32_using_ESP32 folder in a new folder called projects

from ota_update_stm32_using_esp32.

AliHassanEB avatar AliHassanEB commented on May 26, 2024

On the webpage, it is saying "Directory does not exist" and on the monitor.
4179) SPIFFS: spiffs partition could not be found.
(4179) : stm_pro_mode (initSPIFFS:45) Failed to find SPIFFS partition.

from ota_update_stm32_using_esp32.

laukik-hase avatar laukik-hase commented on May 26, 2024

@AliHassanEB First try running all the basic examples on your ESP32 Module to verify the working of all peripherals. Following is a list:

  1. SPIFFS Basic
  2. UART Async Tasks
  3. HTTP File Server

After verifying the working of these examples, you can then move on to flashing our code. For any trouble regarding our code, you can always raise an issue here, but for your ESP-IDF related doubts, you should go to their forum.

from ota_update_stm32_using_esp32.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.