File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ from os import getenv
16
+
15
17
from platformio .managers .platform import PlatformBase
16
18
17
19
18
20
class Espressif8266Platform (PlatformBase ):
19
21
22
+ @property
23
+ def package_repositories (self ):
24
+ repositories = super (
25
+ Espressif8266Platform , self ).package_repositories or []
26
+ if getenv ("CI" , "false" ).lower () == "true" :
27
+ repositories = [
28
+ "https://sourceforge.net/projects/platformio-storage/"
29
+ "files/packages/manifest.json"
30
+ ] + repositories
31
+ return repositories
32
+
20
33
def configure_default_packages (self , variables , targets ):
21
34
if not variables .get ("pioframework" ):
22
35
self .packages ['sdk-esp8266' ]['optional' ] = False
You can’t perform that action at this time.
0 commit comments