Skip to content

Commit dabbde4

Browse files
authored
penv setup moved in platform (#296)
1 parent 85062ff commit dabbde4

File tree

9 files changed

+897
-233
lines changed

9 files changed

+897
-233
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Prerequisites:
2929
The Wiki is AI generated and insane detailed and accurate.
3030

3131
### Stable Arduino
32-
currently espressif Arduino 3.3.1 and IDF 5.5.1
32+
currently espressif Arduino 3.3.2 and IDF 5.5.1.250929
3333

3434
```ini
3535
[env:stable]

builder/frameworks/arduino.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
http://arduino.cc/en/Reference/HomePage
2323
"""
2424

25+
import hashlib
2526
import os
26-
import sys
2727
import shutil
28-
import hashlib
28+
import sys
2929
import threading
3030
from contextlib import suppress
3131
from os.path import join, exists, isabs, splitdrive, commonpath, relpath
@@ -886,7 +886,7 @@ def get_frameworks_in_current_env():
886886
if flag_custom_sdkconfig and not flag_any_custom_sdkconfig:
887887
call_compile_libs()
888888

889-
# Main logic for Arduino Framework
889+
# Arduino framework configuration and build logic
890890
pioframework = env.subst("$PIOFRAMEWORK")
891891
arduino_lib_compile_flag = env.subst("$ARDUINO_LIB_COMPILE_FLAG")
892892

builder/frameworks/component_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import shutil
1313
import re
1414
import yaml
15-
from yaml import SafeLoader
1615
from pathlib import Path
1716
from typing import Set, Optional, Dict, Any, List, Tuple, Pattern
17+
from yaml import SafeLoader
1818

1919

2020
class ComponentManagerConfig:
@@ -252,7 +252,7 @@ def _get_or_create_component_yml(self) -> str:
252252
Returns:
253253
Absolute path to the component YAML file
254254
"""
255-
# Try Arduino framework first
255+
# Check Arduino framework directory first
256256
afd = self.config.arduino_framework_dir
257257
framework_yml = str(Path(afd) / "idf_component.yml") if afd else ""
258258
if framework_yml and os.path.exists(framework_yml):

0 commit comments

Comments
 (0)