mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 05:33:24 +00:00
Set chip family to ESP32-S3 for specific models (fix #67)
This commit is contained in:
8
ci.py
8
ci.py
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user