-
Notifications
You must be signed in to change notification settings - Fork 0
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
Nix fails to set up environment #1
Comments
Python 2 is no longer supported, it seems and I didn't pin the version to a specific version of the Nix packages. I've replaced the instructions with a command that uses a maintained and version pinned build script that does the same that mine used to do. I ran the build and it seems to work but as I no longer have access to the hardware, I cannot actually test it. Hopefully you can confirm that it works! |
Thanks for the quick response. I'm able to build now but it fails when attempting to upload to the ESP32 via the arduino. The connection appears to timeout during the handshake - I can see the RX LED flash a few times on the arduino and then the error below occurs. I have attempted flashing using the ESP32 Flash Download Tool V3.9.3 and that works but I am not sure if I am uploading everything I need to. I set it to send bluetooth-coprocessor.bin to address 0x10000, do I also need to flash any other files also? I presume this is caused by the esptool built from this repo being too old but I cannot identify an exact cause for it to fail uploading.
|
I am not sure about this, as I've only used make flash. sdkconfig and partitions.csv seem relevant to flashing but I don't know how make flash interprets them. If you I had the some problems with flashing but I think it was related to the the Arduino and ESP sharing some wires. That is probably only an issue after flashing the new firmware. The solution to that was to reset the device after starting the flashing program. |
Using --dry-run did allow me to see the final command used by esptool:
I tried uploading the 3 bin files to those 3 locations which seemed to work. However, the example multiplication sketch did not successfully start the BLE module, as far as I could tell. There are too many moving parts and possible sources of errors for me to identify what is not working here. I'm going to attempt to get the latest nina-fw building and if that works port your code across. Otherwise, I may try switching to ESP-AT which does the BLE processing on the ESP32. I'll report back when I get something finally working. |
I could not get this repo working. I was able to get the NimBLE examples building and running fine from the latest ESP-IDF but building this repo with the same framework did not lead to a functioning system. The build and upload passed fine but I did not dig further to debug your code. I ended up switching to ESP-AT which has 90% of the functionality I want and works perfectly. For anyone who comes across this repo looking for a BLE (or Wi-Fi for that matter) solution for the Arduino MKR WiFi 1010 or the Arduino UNO WiFi Rev2 this page documents how to get ESP-AT running on the Nina-W102: https://projects.gepeo.fr/esp32/ |
When attempting to build following the steps in the readme:
Install Nix
Navigate to extras/nina-src
Run nix-shell
Running nix-shell gives the error:
error: cryptography-38.0.1 not supported for interpreter python2.7
I am not familiar with Nix so not sure how to resolve this, any help appreciated to get this building
The text was updated successfully, but these errors were encountered: