1# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if USBC_STACK
5
6# Kernel Options due to Low Memory (4k)
7CONFIG_LOG_BUFFER_SIZE=256
8CONFIG_MAIN_STACK_SIZE=640
9CONFIG_IDLE_STACK_SIZE=200
10CONFIG_ISR_STACK_SIZE=512
11CONFIG_USBC_STACK_SIZE=512
12# Prevent Interrupt Vector Table in RAM
13CONFIG_SRAM_VECTOR_TABLE=n
14
15# This board only supports the sink role, so
16# no need to ever implement source for it.
17CONFIG_USBC_CSM_SINK_ONLY=y
18
19endif # USBC_STACK
20