QuickLogic-Corp / qorc-sdk

Open source FreeRTOS SDK for EOS S3 MCU+eFPGA SoC including gateware, software and documentation under QuickLogic Open Reconfigurable Computing (QORC) Initiative
Apache License 2.0
43 stars 27 forks source link

Environment setup script fails if SDK is checked out using git #114

Closed whatnick closed 2 years ago

whatnick commented 3 years ago

If git protocol is used to checkout the repository the hard-coded remote URL's fail to detect this and environment setup fails. I have this fixed locally with another nested if. Will submit a PR to fix shortly.

coolbreeze413 commented 2 years ago

Reviewed the way we were using the envsetup.sh, and now ensure that the script can be sourced from anywhere, but will always work relative to qorc-sdk dir, hence removing the need for these checks, making it more robust. Please open a new issue if you see problems with the latest master.