Skip to content

Commit f70cc8b

Browse files
committed
hw/xtensa: add ESP32 machine
1 parent 179835a commit f70cc8b

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
@@ -791,6 +791,7 @@ palcode-clipper \
791791
u-boot.e500 u-boot-sam460-20100605.bin \
792792
qemu_vga.ndrv \
793793
edk2-licenses.txt \
794+
esp32-r0-rom.bin \
794795
hppa-firmware.img \
795796
opensbi-riscv32-virt-fw_jump.bin \
796797
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)