-
Notifications
You must be signed in to change notification settings - Fork 46
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
Ninja build fails on subcommand + Question about physical buttons #121
Comments
i'll poke around, as i have no clue: did you reinstall all the dependency, after you reinstalled esp-idf? |
according to your second question: as it is dependend on the device i would add the button handling in "targets/esp32/main/main.cpp". |
Hi, thats a very interesting project, I'd love to help out with getting it running! Are you using esp-idf 4.4? you could probably take a look at how github actions builds it. |
you can control cspot by using the spirccontroller and code the buttons in main.cpp file. However, for your project you might want to checkout feelfreelinux/euphonium, which is a audio platform that already includes cspot inside :) |
Good evening! After reinstalling esp-idf I also reinstalled the dependencies. I tried both ESP-IDF 4.4 and 4.4.1 Thank you @feelfreelinux ! I will take a look at github actions and definitely check out euphonium. I hope to get this running very soon so I can focus on the buttons. Edit Can someone explain me why cmake would copy files from my /usr/bin directory or is this normal behaviour?
Edit 2 Forked the repo and tried compiling using GitHub Actions, also throws an error around the same percentage
I guess Cmake just hates me or something |
ESP-IDF compiling via GitHub actions did work. Not completely sure about how to configure the ESP since menuconfig won't work this way (I think) My guess would be write a custom workflow that pulls a sdkconfig file prior to compiling. Flashed the binary to a ESP32 I had laying around but that ESP32 does not meet CSpots requirements. Ordered an Audio kit yesterday so I guess I have to be patient. |
just an educated guess: your cmake version doesn't fit. why i think it's cmake: so i think cmake kicked some old policies... as an answer to your question: |
accidently i stumbled upon the Dockerfile. There is a fix(?) in line 21: but i don't see where this command would change anything... |
I am running cmake 3.18.4, but according to APT that is the latest version. I'll look into it, thank you! @feelfreelinux Another question regarding to the physical buttons. I am planning to run Euphonium on my speaker, does Euphonium has a universal button control class for Bluetooth and Spotify, or do I need to modify all plugins to work with the buttons of my Citation speaker? |
i can see clearer now: the github action uses cmake from within the container espressif/idf:release-v4.4. it uses cmake in version 3.20.3 But i now have tested a new way to compile cspot in a safe manner using docker:
the following commands have to run inside the container / interactive shell
|
@nvschilleman did you manage to compile cspot? |
Sorry for the late response, but no. Swapped to Euphonium but I dont manage to get sound out of my Audio Kit board |
I am currently in the process of upcycling a broken Harman Karman Citation 100 speaker. The mainboard is fried but the speaker and power supply are working. I saw your project and decided to put an ESP32 in it with a DAC and extra amplifier board.
I am stuck building the firmware on my PC. I am running Debian 11, protobuf and grpcio-tools are installed in the .espressif python environment. Retried installing esp-idf from scratch, but that wasn't any help.
My logs show the following:
I am out of ideas to get this to work, so any help would be greatly appreciated!
Question about physical buttons
I would really like to have the original control buttons of the Citation speaker working with cspot. I took apart the speaker and noticed an UART bus on the control panel, hooked this up to a USB-To-TTL converter, worked on the first try, a serial monitor shows which button is pressed and released.
Would there be a easy way to implement this in CSpot? I already took a look at some source files and my guess would be to modify the Player.h file, but maybe i am overseeing something. I am not a professional programmer, and my C skills aren't noteworthy. I know my way around PHP and Python, with some tinkering I am convinced I will get it to work.
Cheers!
The text was updated successfully, but these errors were encountered: