-13
@@ -12,24 +12,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from os import getenv
|
||||
|
||||
from platformio.managers.platform import PlatformBase
|
||||
|
||||
|
||||
class Espressif32Platform(PlatformBase):
|
||||
|
||||
@property
|
||||
def package_repositories(self):
|
||||
repositories = super(
|
||||
Espressif32Platform, self).package_repositories or []
|
||||
if getenv("CI", "false").lower() == "true":
|
||||
repositories = [
|
||||
"https://sourceforge.net/projects/platformio-storage/"
|
||||
"files/packages/manifest.json"
|
||||
] + repositories
|
||||
return repositories
|
||||
|
||||
def configure_default_packages(self, variables, targets):
|
||||
if "buildfs" in targets:
|
||||
self.packages['tool-mkspiffs']['optional'] = False
|
||||
|
||||
Reference in New Issue
Block a user