Commit 5e15e8cb authored by Julio Cesar's avatar Julio Cesar Committed by Fabio Baltieri
Browse files

boards: xtensa: Add support for YD-ESP32 board



Add `yd_esp32` board:

- Model name: YD-ESP32
- Manufacturer: VCC-GND® Studio
- Espressif module: ESP32-WROOM-32E

Signed-off-by: default avatarJulio Cesar <hi@jcsx.dev>
parent 53502cb4
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
# YD-ESP32 board configuration

# Copyright (c) 2023 Julio Cesar <hi@jcsx.dev>
# SPDX-License-Identifier: Apache-2.0

config BOARD_YD_ESP32
	bool "YD-ESP32 Development Board"
	depends on SOC_SERIES_ESP32

choice SOC_PART_NUMBER
	default SOC_ESP32_WROOM_32UE_N4
endchoice
+20 −0
Original line number Diff line number Diff line
# YD-ESP32 board configuration

# Copyright (c) 2023 Julio Cesar <hi@jcsx.dev>
# SPDX-License-Identifier: Apache-2.0

config BOARD
	default "yd_esp32"
	depends on BOARD_YD_ESP32

config ENTROPY_GENERATOR
	default y

config HEAP_MEM_POOL_SIZE
	default 98304 if WIFI
	default 40960 if BT
	default 4096

choice BT_HCI_BUS_TYPE
	default BT_ESP32 if BT
endchoice
+10 −0
Original line number Diff line number Diff line
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0

choice BOOTLOADER
	default BOOTLOADER_MCUBOOT
endchoice

choice BOOT_SIGNATURE_TYPE
	default BOOT_SIGNATURE_TYPE_NONE
endchoice
+9 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

if(NOT "${OPENOCD}" MATCHES "^${ESPRESSIF_TOOLCHAIN_PATH}/.*")
  set(OPENOCD OPENOCD-NOTFOUND)
endif()
find_program(OPENOCD openocd PATHS ${ESPRESSIF_TOOLCHAIN_PATH}/openocd-esp32/bin NO_DEFAULT_PATH)

include(${ZEPHYR_BASE}/boards/common/esp32.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
+62.1 KiB
Loading image diff...
Loading