boards/esp32s2: Remove anything that has to do with QEMU since it's not

supported.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-06-01 13:01:15 +01:00 committed by Xiang Xiao
parent 672b8000f5
commit 2004acdeb1
3 changed files with 0 additions and 13 deletions

View File

@ -2,9 +2,4 @@
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository. # see the file kconfig-language.txt in the NuttX tools repository.
# #
config ESP32S2_QEMU_IMAGE
bool "ESP32S2 binary image for QEMU"
default n
---help---
Create a binary flash image used for QEMU.

View File

@ -42,7 +42,6 @@ context:: $(SCRIPTOUT)
distclean:: distclean::
$(call DELFILE, $(SCRIPTOUT)) $(call DELFILE, $(SCRIPTOUT))
$(call DELFILE, $(TOPDIR)/esp32s2_qemu_img.bin)
DEPPATH += --dep-path board DEPPATH += --dep-path board
VPATH += :board VPATH += :board

View File

@ -69,12 +69,6 @@ ifdef ESPTOOL_BINDIR
FLASH_PT=$(PT_OFFSET) $(PARTITION_TABLE) FLASH_PT=$(PT_OFFSET) $(PARTITION_TABLE)
endif endif
ifeq ($(CONFIG_ESP32S2_QEMU_IMAGE),y)
MK_QEMU_IMG=$(TOPDIR)/tools/esp32s2/mk_qemu_img.sh -b $(BOOTLOADER) -p $(PARTITION_TABLE)
else
MK_QEMU_IMG=
endif
# POSTBUILD -- Perform post build operations # POSTBUILD -- Perform post build operations
define POSTBUILD define POSTBUILD
@ -92,7 +86,6 @@ define POSTBUILD
fi fi
esptool.py -c esp32-s2 elf2image $(ESPTOOL_ELF2IMG_OPTS) -o nuttx.bin nuttx esptool.py -c esp32-s2 elf2image $(ESPTOOL_ELF2IMG_OPTS) -o nuttx.bin nuttx
$(Q) echo "Generated: nuttx.bin (ESP32S2 compatible)" $(Q) echo "Generated: nuttx.bin (ESP32S2 compatible)"
$(Q) $(MK_QEMU_IMG)
endef endef
# ESPTOOL_BAUD -- Serial port baud rate used when flashing/reading via esptool.py # ESPTOOL_BAUD -- Serial port baud rate used when flashing/reading via esptool.py