-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idf.py build problem #387
Comments
Seems like an issue writing to flash
See if that is the issue. Although maximkulkin does not appear to be a fan of CMake, it is what is going to be Espressif's only supported system moving forward. You can see some of my notes if it helps. https://github.com/mriksman/esp-idf-homekit/wiki. maximkulkin has included my Pull Request to the CMake files he has. |
Thanks for the tip, however I've already set the SPI Flash driver without any change in results.
I've also tried to run I'll be sure to take a look at your wiki. Certainly looks like a good resource. Thanks! |
Maybe it's because idf.py uses a Partition Table? |
I'm not sure what a Partition Table entails exactly. I feel like there's gotta be something I'm missing here either with CMake or idf.py. |
My wiki has details on setting up VSCode and I'm not even sure you should be mixing I have never used |
same question. I set Flash Size 4MB, everything is ok. |
I'm using an esp32 and am trying to use the esp32/button example.
I'm using the currently latest stable esp-idf and toolchain on MacOS 10.15.6.
I've cloned the latest version of this repository and initialised all submodules.
All I have modified is adding a valid
wifi.h
at the repo's root.I've configured the project using both
idf.py menuconfig
andmake menuconfig
by setting a valid serial port as well as allowing dangerous writes in the SPI driver.The project builds fine with both
idf.py build
andmake all
.The project is also flashed without error using
idf.py -p "/dev/tty.SLAB_USBtoUART" flash monitor
andmake flash monitor
.The problem arises at runtime.
The version of the project using
make
has no problems at all.The one build with
idf.py
however is outputting esp-homekit's debug output, although the option was left on false in the menuconfig. While the accessory shows up in the homekit app, the device crashes upon entering the passcode.Some notable output of the version using 'idf.py' is:
at startup:
And later, after finishing pairing step 3/3:
I could provide more output if needed.
Am I missing something with my usage of the
idf.py
or is there some other issue (maybe not even with esp-homekit) here?The text was updated successfully, but these errors were encountered: