Comments (10)
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.
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.
It seems that the IDF_PATH environment variable, which points to where the ESP-IDF is installed, isn’t defined.
from esp32-ble2mqtt.
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.
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.
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.
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.
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.
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.
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)
- Rate limit possible? HOT 3
- Issue trying to write characteristic to ThermoPro TP-25 HOT 8
- Unable to build HOT 6
- Switchbot meter broadcasters HOT 15
- What's the connection flow and how to control it? HOT 2
- /get and /set issues HOT 4
- How to set config.json can receive the encrypted broadcast advertise raw data? HOT 1
- Help needed: Vogel MotionMount not showing HOT 7
- Issuing commands to Opal Ice Maker HOT 3
- Connecting to a custom device is causing stack overflow crash HOT 5
- Setting values is not consitant HOT 10
- Maintain BLE connection on WiFi disconnect HOT 5
- Support repeating UUIDs HOT 7
- Ask for custom code/job HOT 1
- ESP32s3 HOT 5
- Configure Scanning? HOT 3
- BLE Advertisment publishing? HOT 3
- bug in ble2mqtt_task() function HOT 1
- How to Pair? HOT 1
- BLE Scan / certain broadcasters crash device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-ble2mqtt.