Set chip family to ESP32-S3 for specific models (fix #67)

This commit is contained in:
suchmememanyskill
2024-06-11 20:49:50 +02:00
parent d780c8d55e
commit 4ac87c8ffc

8
ci.py
View File

@@ -10,6 +10,12 @@ CYD_PORTS = [
"esp32-3248S035C-V", "esp32-3248S035C-V",
#"esp32-4827S043R-SD", #"esp32-4827S043R-SD",
] ]
ESP_C3_CHIPS = [
"esp32-8048S043C-SD",
"esp32-4827S043C-SD",
]
BASE_DIR = os.getcwd() BASE_DIR = os.getcwd()
def get_manifest(base_path : str, device_name : str): def get_manifest(base_path : str, device_name : str):
@@ -19,7 +25,7 @@ def get_manifest(base_path : str, device_name : str):
"new_install_prompt_erase": True, "new_install_prompt_erase": True,
"builds": [ "builds": [
{ {
"chipFamily": "ESP32", "chipFamily": "ESP32-S3" if device_name in ESP_C3_CHIPS else "ESP32",
"parts": [ "parts": [
{ {
"path": f"{base_path}/bootloader.bin", "path": f"{base_path}/bootloader.bin",