Closed joyel24 closed 1 year ago
Try adding --no-ccache to the build line *not the double cc I. E. idf.py --no-ccache build
Try adding --no-ccache to the build line *not the double cc I. E. idf.py --no-ccache build
Thanks for your reply. I already did it and I also changed the name of the folder to remove every spaces in the name but idf.py don't want to build it.
OK. I'll do a build and see what files are needed to be able to run the flash without first building tonight. I'll upload them to the site if I can get it to work.
After reading the ESP-IDY getting started guide, https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html it looks like it checks the build file and rebuilds it, if needed, when running the flash command. So it looks like you will probably have to install the required dependencies.
From what I've read further, you may be able to share all the built files, but I have to do some testing to see how well it works.
Also, I build the file each time, as I change the Bluetooth name between the 2 radios, so I know which is which when I connect to my phone.
After reading the ESP-IDY getting started guide, https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html it looks like it checks the build file and rebuilds it, if needed, when running the flash command. So it looks like you will probably have to install the required dependencies.
From what I've read further, you may be able to share all the built files, but I have to do some testing to see how well it works.
Also, I build the file each time, as I change the Bluetooth name between the 2 radios, so I know which is which when I connect to my phone.
konfiglib.KconfigError: kconfigs_projbuild.in:6: '/Users/joel/Downloads/SCRD32' not found (in 'source "/Users/joel/Downloads/SCRD32"'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string
It suggests that there are missing environment variables. As you said, it may also be a dependency that is not satisfied, but no idea which one can it be.
OK, I think I see what is going on. Is your firmware saved in folder /Users/joel/Downloads/SCRD32 firmware official OR is it in /Users/joel/Downloads/SCRD32
There can't be any spaces in the folder names and the path can't have more than 90 characters total. I unzipped my firmware to c:/SCRD32
If you look at the line you pasted it's cutting off the path at the first space
OK, I think I see what is going on. Is your firmware saved in folder /Users/joel/Downloads/SCRD32 firmware official OR is it in /Users/joel/Downloads/SCRD32
There can't be any spaces in the folder names and the path can't have more than 90 characters total. I unzipped my firmware to c:/SCRD32
If you look at the line you pasted it's cutting off the path at the first space
On macos and linux, we are not concerned about the 90 characters total path limitation.
The extracted archive is here: /Users/joel/Downloads/SCRD32
When I list this directory, there is no problem:
For the environment variable, I followed the esp-idf documentation and ran the command as they said '. ./export.sh'
I tried reinstalling esp-idf and updated all git dependancies and it appears to work now. In my fork I updated the building guide Final_Firmware.md: https://github.com/joyel24/SOCORAD32/blob/main/Final_Firmware.md
Can you write instructions to build and flash the firmware on linux or macos ? Or at least can you build it and publish it in the release section and make a simple how to flash in every os... I'm not sure everyone wants to install all dependencies and build their own firmware.
I just installed "ESP-IDF v4.4.4-dirty" confirmed with
idf.py --version
and it fails when trying to build on macos 12.6.