Skip to content

Commit 0ff3da8

Browse files
committed
hw/xtensa: add ESP32 machine
1 parent a3c1d9a commit 0ff3da8

File tree

6 files changed

+703
-0
lines changed

6 files changed

+703
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,7 @@ palcode-clipper \
847847
u-boot.e500 u-boot-sam460-20100605.bin \
848848
qemu_vga.ndrv \
849849
edk2-licenses.txt \
850+
esp32-r0-rom.bin \
850851
hppa-firmware.img \
851852
opensbi-riscv32-sifive_u-fw_jump.bin opensbi-riscv32-virt-fw_jump.bin \
852853
opensbi-riscv64-sifive_u-fw_jump.bin opensbi-riscv64-virt-fw_jump.bin

default-configs/xtensa-softmmu.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ CONFIG_SEMIHOSTING=y
77
CONFIG_XTENSA_SIM=y
88
CONFIG_XTENSA_VIRT=y
99
CONFIG_XTENSA_XTFPGA=y
10+
CONFIG_ESP32=y

hw/xtensa/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,12 @@ config XTENSA_XTFPGA
1212
select OPENCORES_ETH
1313
select PFLASH_CFI01
1414
select SERIAL
15+
16+
config ESP32
17+
bool
18+
select SSI
19+
select SSI_M25P80
20+
select UNIMP
21+
select OPENCORES_ETH
22+
23+

hw/xtensa/Makefile.objs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ obj-y += xtensa_memory.o
44
obj-$(CONFIG_XTENSA_SIM) += sim.o
55
obj-$(CONFIG_XTENSA_VIRT) += virt.o
66
obj-$(CONFIG_XTENSA_XTFPGA) += xtfpga.o
7+
obj-$(CONFIG_ESP32) += esp32.o

0 commit comments

Comments
 (0)