Commit 36c9fdcb authored by Jonathan Rico's avatar Jonathan Rico Committed by Anas Nashif
Browse files

boards: Add support for 01space esp32c3 0.42 oled

From https://github.com/01Space/ESP32-C3-0.42LCD/



Adapted from the XIAO ESP32C3 board.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent 05c97732
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
# Copyright 2022 Google LLC
# SPDX-License-Identifier: Apache-2.0

config HEAP_MEM_POOL_ADD_SIZE_BOARD
	int
	default 65535 if WIFI && BT
	default 51200 if WIFI
	default 40960 if BT
	default 4096
+5 −0
Original line number Diff line number Diff line
# Copyright 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

config BOARD_ESP32C3_042_OLED
	select SOC_ESP32C3_FX4
+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)
+5 −0
Original line number Diff line number Diff line
board:
  name: esp32c3_042_oled
  vendor: 01space
  socs:
  - name: esp32c3
Loading