Git Product home page Git Product logo

Comments (10)

shmuelzon avatar shmuelzon commented on July 28, 2024

Hey,

I don’t use CMake in this project, only ‘regular’ make.
So, you would need to run: make menuconfig and make. See the README for more info.
Also, please make sure to use the supported ESP-IDF version also documented in the README file, currently 3.2 or 3.2.2.

Let me know if you have any issues with that.

from esp32-ble2mqtt.

europacafe avatar europacafe commented on July 28, 2024

Thanks. I use make menuconfig and got the error:
makefile:12: /make/project.mk: No such file or directory
make: *** No rule to make target `/make/project.mk'. Stop.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on July 28, 2024

It seems that the IDF_PATH environment variable, which points to where the ESP-IDF is installed, isn’t defined.

from esp32-ble2mqtt.

europacafe avatar europacafe commented on July 28, 2024

Thanks. I remove my esp-idf and restart over with 3.2.2. Path is now set properly. I copy your ble2mqtt master folder into /msys32/home/bthoven/esp/ folder. Run command make menuconfig. There was error message: fatal: not a git repository (or any of the parent directories): .git. Though I still saw the menu and can change serial to COM3.
Then make flash, but the same git error display again...though it continued compiling a lot of stuff; but eventually stopped with
......
.....
AR build/xtensa-debug-module/libxtensa-debug-module.a
LD build/ble2mqtt.elf
esptool.py v2.6
make: *** No targets specified and no makefile found. Stop.
make: Entering directory /home/bthoven/esp/esp32-ble2mqtt-master/mkspiffs make: Leaving directory /home/bthoven/esp/esp32-ble2mqtt-master/mkspiffs
make: /home/bthoven/esp/esp32-ble2mqtt-master/mkspiffs/mkspiffs: Command not found
make: *** [Makefile:34: /home/bthoven/esp/esp32-ble2mqtt-master/build/spiffs.bin] Error 127

It seems I'm almost there. Please give suggestion...thanks a lot.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on July 28, 2024

Did you use git to clone the repository? There are submodules that also need to be cloned for everything to work, see the commands in the README.
In addition, I use git to find the version if this app and mkspiffs (which is a submodule) to build the filesystem that holds the configuration.

from esp32-ble2mqtt.

europacafe avatar europacafe commented on July 28, 2024

You are right. I use copy into the /home/bthoven/esp/ folder. I delete it and enter into /home/bthoven/esp/ folder then use git clone command to get the ble2mqtt folder. Enter into the ble2mqtt folder, run make menuconfig and no more GIT error. Set serial port to COM3 save and exit. Then I got error
make: *** No rule to make target 'menuconfig'. Stop.
Is that a problem? But make flash can successfully flash to my ESP32.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on July 28, 2024

I'm not sure I understand. You still see a make: *** No rule to make target 'menuconfig'. Stop. error but the application builds and you were able to flash it? Does it run correctly on the ESP32?

from esp32-ble2mqtt.

europacafe avatar europacafe commented on July 28, 2024

I can see all bluetooth nearby devices in mqtt.fx now. I think it's ok now. Really appreciate you help. As I've never used these kind of command before. Thanks again.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on July 28, 2024

No problem, glad to hear you got it working.
I'll close this issue for now but feel free to open another if something doesn't work.

from esp32-ble2mqtt.

mehmetaydogduu avatar mehmetaydogduu commented on July 28, 2024

Please specify the note in readme. Esp-idf installation is required! See instructions here: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html

from esp32-ble2mqtt.

Related Issues (20)

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.