Skip to content
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

Master branch. The -s and -t keys do wrong #88

Closed
SinglWolf opened this issue Sep 27, 2022 · 7 comments
Closed

Master branch. The -s and -t keys do wrong #88

SinglWolf opened this issue Sep 27, 2022 · 7 comments

Comments

@SinglWolf
Copy link

Executing the command: ./build.sh -s. Result:

/build.sh: line 162: idf.py: command not found

Executing the command: ./build.sh -c /home/alex/.platformio/packages/framework-arduinoespressif32/ -t esp32 esp32s2. As a result, only SoC esp32 is compiled!
And is deleted in the directory /home/alex/.platformio/packages/framework-arduinoespressif32/tools/ everything except SoC esp32!
I tried to execute the command as indicated in the manual ./build.sh -c /home/alex/.platformio/packages/framework-arduinoespressif32/ -t esp32 esp32-s2. The result is the same.

@me-no-dev
Copy link
Member

Don't know why this was in the docs but it's now fixed: espressif/arduino-esp32@2075bd4

You can use -t only for specific target

@SinglWolf
Copy link
Author

Don't know why this was in the docs but it's now fixed: espressif/arduino-esp32@2075bd4

Sorry for the stupid question.
If you deleted an erroneous entry in the documentation, then the rest of the problems are solved automatically?
And what about the key -c in the command ./build.sh?
And why in the directory /home/alex/.platformio/packages/framework-arduinoespressif32/tools/ other SoC (esp32, esp32s3, esp32c3) are removed when executing the command ./build.sh -c /home/alex/.platformio/packages/framework-arduinoespressif32/ -t esp32s2?
Did you close the issue because I'm boring and annoying you a lot?

@SinglWolf
Copy link
Author

19 days have passed, and my question remains unanswered...

@me-no-dev
Copy link
Member

-c is meant to replace files in a copy of this repository, not in PIO package. If you want to update your PIO package, you will need to replace the files manually. -t specifies which target to build for, so when you specified only one target, all the others were not built and were not in the replaced structure. The copy script removes the whole tools/sdk folder. -c should not be used with -t, unless that is exactly what you intend.

@SinglWolf
Copy link
Author

Executing the command: ./build.sh -s. Result:

/build.sh: line 162: idf.py: command not found

Not a bug, but a feature?

@me-no-dev
Copy link
Member

-s required IDF to be installed and in your PATH

@SinglWolf
Copy link
Author

-s required IDF to be installed and in your PATH

How is that?
The IDF is already installed by the script build.sh.

HamzaHajeir pushed a commit to HamzaHajeir/esp32-arduino-lib-builder that referenced this issue May 21, 2024
* CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
* CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
* esp32 no external RAM use
* add s3 speed & mem variants
* enable experimental
* moved `BOOTLOADER_FLASH_DC_AWARE` to s3 defconfig
* CONFIG_LCD_RGB_RESTART_IN_VSYNC is not set
* rm -rf "$AR_COMPS/arduino/libraries/ESP_NOW"
* OSBITS=`uname -m`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants