Skip to content

Commit e170b13

Browse files
committed
Merge branch 'release/v3.3.2'
2 parents b8a1469 + 0d2edd0 commit e170b13

File tree

6 files changed

+15
-21
lines changed

6 files changed

+15
-21
lines changed

boards/m5stack-core2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"name": "M5Stack Core2",
2626
"upload": {
2727
"flash_size": "16MB",
28-
"maximum_ram_size": 6553600,
28+
"maximum_ram_size": 4521984,
2929
"maximum_size": 16777216,
3030
"require_upload_port": true,
3131
"speed": 460800

boards/m5stack-fire.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"name": "M5Stack FIRE",
2626
"upload": {
2727
"flash_size": "16MB",
28-
"maximum_ram_size": 6553600,
28+
"maximum_ram_size": 4521984,
2929
"maximum_size": 16777216,
3030
"require_upload_port": true,
3131
"speed": 460800

boards/tinypico.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"extra_flags": "-DARDUINO_TINYPICO -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
88
"f_cpu": "240000000L",
99
"f_flash": "40000000L",
10-
"flash_mode": "qio",
10+
"flash_mode": "dio",
1111
"mcu": "esp32",
1212
"variant": "pico32"
1313
},
@@ -21,7 +21,7 @@
2121
"arduino",
2222
"espidf"
2323
],
24-
"name": "TinyPICO",
24+
"name": "Unexpected Maker TinyPICO",
2525
"upload": {
2626
"flash_size": "4MB",
2727
"maximum_ram_size": 327680,
@@ -30,5 +30,5 @@
3030
"speed": 460800
3131
},
3232
"url": "https://www.tinypico.com",
33-
"vendor": "TinyPICO"
33+
"vendor": "Unexpected Maker"
3434
}

builder/frameworks/_embed_files.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,10 @@
2828

2929

3030
def extract_files(cppdefines, files_type):
31-
files = []
32-
if "build." + files_type in board:
33-
files.extend(
34-
[
35-
join("$PROJECT_DIR", f)
36-
for f in board.get("build." + files_type, "").split()
37-
if f
38-
]
39-
)
31+
result = []
32+
files = env.GetProjectOption("board_build.%s" % files_type, "").splitlines()
33+
if files:
34+
result.extend([join("$PROJECT_DIR", f.strip()) for f in files if f])
4035
else:
4136
files_define = "COMPONENT_" + files_type.upper()
4237
for define in cppdefines:
@@ -58,13 +53,13 @@ def extract_files(cppdefines, files_type):
5853
for f in value.split(":"):
5954
if not f:
6055
continue
61-
files.append(join("$PROJECT_DIR", f))
56+
result.append(join("$PROJECT_DIR", f))
6257

63-
for f in files:
58+
for f in result:
6459
if not isfile(env.subst(f)):
6560
print('Warning! Could not find file "%s"' % basename(f))
6661

67-
return files
62+
return result
6863

6964

7065
def remove_config_define(cppdefines, files_type):

builder/frameworks/espidf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,8 @@ def create_version_file():
838838
version_file = os.path.join(FRAMEWORK_DIR, "version.txt")
839839
if not os.path.isfile(version_file):
840840
with open(version_file, "w") as fp:
841-
fp.write(
842-
get_original_version(platform.get_package_version("framework-espidf"))
843-
)
841+
package_version = platform.get_package_version("framework-espidf")
842+
fp.write(get_original_version(package_version) or package_version)
844843

845844

846845
def generate_empty_partition_image(binary_path, image_size):

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "https://github.com/platformio/platform-espressif32.git"
2020
},
21-
"version": "3.3.1",
21+
"version": "3.3.2",
2222
"frameworks": {
2323
"arduino": {
2424
"package": "framework-arduinoespressif32",

0 commit comments

Comments
 (0)