Skip to content

Commit d1e2b4d

Browse files
sylvioalvesnordicjm
authored andcommitted
boards: xtensa: esp32s3_luatos_core: Convert to v2
Converts the board to hwmv2 Signed-off-by: Sylvio Alves <[email protected]>
1 parent a390660 commit d1e2b4d

26 files changed

+273
-59
lines changed

boards/boards_legacy/xtensa/esp32s3_luatos_core/Kconfig.board

Lines changed: 0 additions & 15 deletions
This file was deleted.

boards/boards_legacy/xtensa/esp32s3_luatos_core/Kconfig.defconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_ESP32S3_LUATOS_CORE
5+
select SOC_ESP32S3_PROCPU if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU_USB
6+
select SOC_ESP32S3_APPCPU if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU_USB
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# ESP32S3 Core board configuration
2+
3+
# Copyright (c) 2023 YuLong Yao <[email protected]>
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU_USB
7+
8+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
9+
int
10+
default 65535 if WIFI && BT
11+
default 51200 if WIFI
12+
default 40960 if BT
13+
default 4096
14+
15+
choice BT_HCI_BUS_TYPE
16+
default BT_ESP32 if BT
17+
endchoice
18+
19+
endif # BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU_USB
20+
21+
if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU_USB
22+
23+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
24+
default 256
25+
26+
endif # BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU_USB
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2023 YuLong Yao <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_ESP32S3_LUATOS_CORE
5+
select SOC_ESP32S3_MINI_N8
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
board:
2+
name: esp32s3_luatos_core
3+
vendor: luatos
4+
socs:
5+
- name: esp32s3
6+
variants:
7+
- name: usb
8+
cpucluster: procpu
9+
- name: usb
10+
cpucluster: appcpu

0 commit comments

Comments
 (0)