You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
238 lines
5.3 KiB
238 lines
5.3 KiB
CONFIG_USE_BAREMETAL=y
|
|
|
|
#
|
|
# Arch configuration
|
|
#
|
|
CONFIG_TARGET_ARMv8=y
|
|
CONFIG_ARCH_NAME="armv8"
|
|
|
|
#
|
|
# Arm architecture configuration
|
|
#
|
|
CONFIG_ARCH_ARMV8_AARCH64=y
|
|
# CONFIG_ARCH_ARMV8_AARCH32 is not set
|
|
|
|
#
|
|
# Compiler configuration
|
|
#
|
|
CONFIG_ARM_GCC_SELECT=y
|
|
# CONFIG_ARM_CLANG_SELECT is not set
|
|
CONFIG_TOOLCHAIN_NAME="gcc"
|
|
CONFIG_TARGET_ARMV8_AARCH64=y
|
|
CONFIG_ARCH_EXECUTION_STATE="aarch64"
|
|
|
|
#
|
|
# Fpu configuration
|
|
#
|
|
CONFIG_ARM_NEON=y
|
|
# end of Fpu configuration
|
|
|
|
CONFIG_ARM_CRC=y
|
|
CONFIG_ARM_CRYPTO=y
|
|
CONFIG_ARM_FLOAT_POINT=y
|
|
# CONFIG_GCC_CODE_MODEL_TINY is not set
|
|
CONFIG_GCC_CODE_MODEL_SMALL=y
|
|
# CONFIG_GCC_CODE_MODEL_LARGE is not set
|
|
# end of Compiler configuration
|
|
|
|
CONFIG_USE_CACHE=y
|
|
CONFIG_USE_MMU=y
|
|
# CONFIG_BOOT_WITH_FLUSH_CACHE is not set
|
|
# CONFIG_MMU_DEBUG_PRINTS is not set
|
|
CONFIG_FPEN=y
|
|
# end of Arm architecture configuration
|
|
# end of Arch configuration
|
|
|
|
#
|
|
# Soc configuration
|
|
#
|
|
CONFIG_TARGET_PHYTIUMPI=y
|
|
# CONFIG_TARGET_E2000Q is not set
|
|
# CONFIG_TARGET_E2000D is not set
|
|
# CONFIG_TARGET_E2000S is not set
|
|
# CONFIG_TARGET_FT2004 is not set
|
|
# CONFIG_TARGET_D2000 is not set
|
|
CONFIG_SOC_NAME="phytiumpi"
|
|
CONFIG_SOC_CORE_NUM=4
|
|
CONFIG_F32BIT_MEMORY_ADDRESS=0x80000000
|
|
CONFIG_F32BIT_MEMORY_LENGTH=0x80000000
|
|
CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000
|
|
CONFIG_F64BIT_MEMORY_LENGTH=0x800000000
|
|
CONFIG_TARGET_E2000=y
|
|
# CONFIG_USE_SPINLOCK is not set
|
|
CONFIG_DEFAULT_DEBUG_PRINT_UART1=y
|
|
# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set
|
|
# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set
|
|
# end of Soc configuration
|
|
|
|
#
|
|
# Board Configuration
|
|
#
|
|
CONFIG_BOARD_NAME="firefly"
|
|
# CONFIG_USE_SPI_IOPAD is not set
|
|
# CONFIG_USE_GPIO_IOPAD is not set
|
|
# CONFIG_USE_CAN_IOPAD is not set
|
|
# CONFIG_USE_QSPI_IOPAD is not set
|
|
# CONFIG_USE_PWM_IOPAD is not set
|
|
# CONFIG_USE_MIO_IOPAD is not set
|
|
# CONFIG_USE_TACHO_IOPAD is not set
|
|
# CONFIG_USE_UART_IOPAD is not set
|
|
# CONFIG_USE_THIRD_PARTY_IOPAD is not set
|
|
CONFIG_FIREFLY_DEMO_BOARD=y
|
|
|
|
#
|
|
# IO mux configuration when board start up
|
|
#
|
|
# end of IO mux configuration when board start up
|
|
|
|
# CONFIG_CUS_DEMO_BOARD is not set
|
|
|
|
#
|
|
# Build project name
|
|
#
|
|
CONFIG_TARGET_NAME="template"
|
|
# end of Build project name
|
|
# end of Board Configuration
|
|
|
|
#
|
|
# Sdk common configuration
|
|
#
|
|
# CONFIG_LOG_VERBOS is not set
|
|
# CONFIG_LOG_DEBUG is not set
|
|
# CONFIG_LOG_INFO is not set
|
|
# CONFIG_LOG_WARN is not set
|
|
CONFIG_LOG_ERROR=y
|
|
# CONFIG_LOG_NONE is not set
|
|
# CONFIG_LOG_EXTRA_INFO is not set
|
|
# CONFIG_LOG_DISPALY_CORE_NUM is not set
|
|
# CONFIG_BOOTUP_DEBUG_PRINTS is not set
|
|
CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y
|
|
CONFIG_INTERRUPT_ROLE_MASTER=y
|
|
# CONFIG_INTERRUPT_ROLE_SLAVE is not set
|
|
# end of Sdk common configuration
|
|
|
|
#
|
|
# Image information configuration
|
|
#
|
|
# CONFIG_IMAGE_INFO is not set
|
|
# end of Image information configuration
|
|
|
|
#
|
|
# Drivers configuration
|
|
#
|
|
CONFIG_USE_IOMUX=y
|
|
# CONFIG_ENABLE_IOCTRL is not set
|
|
CONFIG_ENABLE_IOPAD=y
|
|
# CONFIG_USE_SPI is not set
|
|
# CONFIG_USE_QSPI is not set
|
|
CONFIG_USE_SERIAL=y
|
|
|
|
#
|
|
# Usart Configuration
|
|
#
|
|
CONFIG_ENABLE_Pl011_UART=y
|
|
# end of Usart Configuration
|
|
|
|
# CONFIG_USE_GPIO is not set
|
|
# CONFIG_USE_ETH is not set
|
|
# CONFIG_USE_CAN is not set
|
|
# CONFIG_USE_I2C is not set
|
|
# CONFIG_USE_TIMER is not set
|
|
# CONFIG_USE_MIO is not set
|
|
# CONFIG_USE_SDMMC is not set
|
|
# CONFIG_USE_PCIE is not set
|
|
# CONFIG_USE_WDT is not set
|
|
# CONFIG_USE_DMA is not set
|
|
# CONFIG_USE_NAND is not set
|
|
# CONFIG_USE_RTC is not set
|
|
# CONFIG_USE_SATA is not set
|
|
# CONFIG_USE_USB is not set
|
|
# CONFIG_USE_ADC is not set
|
|
# CONFIG_USE_PWM is not set
|
|
# CONFIG_USE_IPC is not set
|
|
# CONFIG_USE_MEDIA is not set
|
|
# CONFIG_USE_SCMI_MHU is not set
|
|
# end of Drivers configuration
|
|
|
|
#
|
|
# Third-party configuration
|
|
#
|
|
# CONFIG_USE_LWIP is not set
|
|
CONFIG_USE_LETTER_SHELL=y
|
|
|
|
#
|
|
# Letter shell configuration
|
|
#
|
|
CONFIG_LS_PL011_UART=y
|
|
CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y
|
|
# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set
|
|
# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set
|
|
# end of Letter shell configuration
|
|
|
|
# CONFIG_USE_AMP is not set
|
|
# CONFIG_USE_SDMMC_CMD is not set
|
|
# CONFIG_USE_YMODEM is not set
|
|
# CONFIG_USE_SFUD is not set
|
|
CONFIG_USE_BACKTRACE=y
|
|
# CONFIG_USE_FATFS_0_1_4 is not set
|
|
CONFIG_USE_TLSF=y
|
|
# CONFIG_USE_SPIFFS is not set
|
|
# CONFIG_USE_LITTLE_FS is not set
|
|
# CONFIG_USE_LVGL is not set
|
|
# CONFIG_USE_FREEMODBUS is not set
|
|
# end of Third-party configuration
|
|
|
|
#
|
|
# Build setup
|
|
#
|
|
CONFIG_CHECK_DEPS=y
|
|
CONFIG_OUTPUT_BINARY=y
|
|
|
|
#
|
|
# Optimization options
|
|
#
|
|
# CONFIG_DEBUG_NOOPT is not set
|
|
# CONFIG_DEBUG_CUSTOMOPT is not set
|
|
CONFIG_DEBUG_FULLOPT=y
|
|
# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set
|
|
CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y
|
|
CONFIG_DEBUG_LINK_MAP=y
|
|
# CONFIG_CCACHE is not set
|
|
# CONFIG_ARCH_COVERAGE is not set
|
|
# CONFIG_LTO_FULL is not set
|
|
# end of Optimization options
|
|
|
|
#
|
|
# Debug options
|
|
#
|
|
# CONFIG_WALL_WARNING_ERROR is not set
|
|
# CONFIG_STRICT_PROTOTYPES is not set
|
|
# CONFIG_DEBUG_SYMBOLS is not set
|
|
# CONFIG_FRAME_POINTER is not set
|
|
# CONFIG_OUTPUT_ASM_DIS is not set
|
|
# CONFIG_ENABLE_WSHADOW is not set
|
|
# CONFIG_ENABLE_WUNDEF is not set
|
|
CONFIG_DOWNGRADE_DIAG_WARNING=y
|
|
# end of Debug options
|
|
|
|
#
|
|
# Lib
|
|
#
|
|
CONFIG_USE_COMPILE_CHAIN=y
|
|
# CONFIG_USB_USER_DEFINED is not set
|
|
# end of Lib
|
|
|
|
# CONFIG_ENABLE_CXX is not set
|
|
|
|
#
|
|
# Linker Options
|
|
#
|
|
CONFIG_DEFAULT_LINKER_SCRIPT=y
|
|
# CONFIG_USER_DEFINED_LD is not set
|
|
CONFIG_IMAGE_LOAD_ADDRESS=0x80100000
|
|
CONFIG_IMAGE_MAX_LENGTH=0x1000000
|
|
CONFIG_HEAP_SIZE=1
|
|
CONFIG_STACK_SIZE=0x400
|
|
CONFIG_FPU_STACK_SIZE=0x1000
|
|
# end of Linker Options
|
|
# end of Build setup
|
|
|