We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75731c commit 6ffc70dCopy full SHA for 6ffc70d
platform.py
@@ -43,8 +43,12 @@
43
from platformio.package.manager.tool import ToolPackageManager
44
45
# Constants
46
+try:
47
+ with open('/proc/device-tree/model') as f:
48
+ SUBPROCESS_TIMEOUT = 900 if 'raspberry pi' in f.read().lower() else 300
49
+except:
50
+ SUBPROCESS_TIMEOUT = 300
51
RETRY_LIMIT = 3
-SUBPROCESS_TIMEOUT = 300
52
DEFAULT_DEBUG_SPEED = "5000"
53
DEFAULT_APP_OFFSET = "0x10000"
54
tl_install_name = "tool-esp_install"
0 commit comments