mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
feat(tools): enable PSRAM by default in "idf.py qemu" for ESP32-S3
This commit is contained in:
@@ -104,7 +104,7 @@ QEMU_TARGETS: Dict[str, QemuTarget] = {
|
|||||||
'esp32s3',
|
'esp32s3',
|
||||||
'qemu-system-xtensa',
|
'qemu-system-xtensa',
|
||||||
'qemu-xtensa',
|
'qemu-xtensa',
|
||||||
'-M esp32s3',
|
'-M esp32s3 -m 32M',
|
||||||
# Chip revision 0.3
|
# Chip revision 0.3
|
||||||
binascii.unhexlify(
|
binascii.unhexlify(
|
||||||
'00000000000000000000000000000000000000000000000000000000000000000000000000000c00'
|
'00000000000000000000000000000000000000000000000000000000000000000000000000000c00'
|
||||||
@@ -273,6 +273,10 @@ def action_extensions(base_actions: Dict, project_path: str) -> Dict:
|
|||||||
'-global', f'driver=timer.{target}.timg,property=wdt_disable,value=true',
|
'-global', f'driver=timer.{target}.timg,property=wdt_disable,value=true',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Quad PSRAM should work by default; octal requires a flag
|
||||||
|
if get_sdkconfig_value(project_desc['config_file'], 'CONFIG_SPIRAM_MODE_OCT'):
|
||||||
|
qemu_args += ['-global', 'driver=ssi_psram,property=is_octal,value=true']
|
||||||
|
|
||||||
if '-nic' not in qemu_extra_args:
|
if '-nic' not in qemu_extra_args:
|
||||||
qemu_args += ['-nic', 'user,model=open_eth']
|
qemu_args += ['-nic', 'user,model=open_eth']
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user