2024-05-10 05:07:58 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2024 Cypress Semiconductor Corporation.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
# General configuration
|
|
|
|
CONFIG_CORTEX_M_SYSTICK=y
|
|
|
|
CONFIG_BUILD_OUTPUT_HEX=y
|
|
|
|
CONFIG_BUILD_OUTPUT_BIN=y
|
|
|
|
|
|
|
|
CONFIG_ARM_MPU=y
|
|
|
|
CONFIG_HW_STACK_PROTECTION=y
|
|
|
|
|
|
|
|
# Enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
|
|
|
# Enable UART driver
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
|
|
|
|
# Enable GPIO driver
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
|
|
|
# Enable clock controller
|
|
|
|
CONFIG_CLOCK_CONTROL=y
|
|
|
|
|
|
|
|
# Main Stack Size
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
2024-06-04 08:05:27 +08:00
|
|
|
|
|
|
|
# Enable code/data relocation to move SMIF driver into RAM
|
|
|
|
CONFIG_CODE_DATA_RELOCATION=y
|