Closed mrfussion closed 1 month ago
@mrfussion Hi! Seems like you're building it for esp32. The project was written for esp32-c3 and uses it's specific APIs for usb-serial. That's the error you're seeing is about: missing esp_vfs_dev_usb_serial_jtag_set_rx_line_endings
function. You can remove usb_serial_jtag specific code and make it work with usual UART that is used on ESP32. I don't have time to adapt the code right now, so your options are likely to just use esp32-c3 or to fork and adapt this project. I don't think it can take a lot of time, just grep for function names that contain usb_serial
in their names and either comment them out or replace them with similar functions for uart. I could try fixing it on the weekend so it works for you but I don't have esp32 laying around, only esp32-c3, esp32-s3 and esp32-c6. I hope my suggestions are helpful.
By the way, instead of such a complex process of cloning as you described above, you can just use:
git clone --recursive https://github.com/okhsunrog/can_wizard.git
Hi @okhsunrog, thanks for the quick reply! I'm pretty new to ESP-IDF, so bear with me. I'm using an ESP32 because it's what I had on hand. I'm planning to get an ESP32-C3 soon, but for now I'll give compiling it for ESP32 a shot following your suggestions.
I will take your advice on cloning the project. It looks like a really cool project, I'm excited to see it in action!
@mrfussion after you get esp32-c3 you build it the same way, just use idf.py set-target esp32-c3
I'm glad you like the project, I wrote it a week (non-stop coding, I was really inspired and wanted to create a cool tool for CAN using console
component). You can see a little demo of using this project here: https://www.youtube.com/watch?v=ajKFa0b113o
I'm not actively supporting this project for now, but I'm open to PRs and try to answer to issues. My focus shifted to embedded Rust in my hobby projects, so probably I'm rewrite this it Rust in a few months. I'm thinking about creating a cross-platform GUI with Flutter and adding wireless comms via BLE/TCP instead of a console via serial terminal
@okhsunrog, my initial impression is that it's a great tool! And if you were to implement Wi-Fi or Bluetooth access, I think it would be even more fantastic. I believe that writing it for the Arduino IDE (despite its aesthetics), could give the project the simplicity it currently lacks, making it much easier to compile and significantly more popular. I think it could be a very good tool for in-depth analysis. I would be happy to send you a pull request if I manage to make any progress compiling it for the ESP32, or if I can contribute to the compilation documentation.
I think we can close this as well.
Closing this as solved with https://github.com/okhsunrog/can_wizard/pull/3
Hi! For a few days now, I've been trying to compile this project. I think I've made good progress, but now I'm stuck. I have installed ESP-IDF v5.1.2, Python 3.12.6, working on Mac Sonoma last version.
I'll list the steps I took to get here:
And the output is the following:
I would be most grateful if you could elucidate this matter.