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.5 KiB
238 lines
5.5 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"
|
|
CONFIG_ARM_NEON=y
|
|
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_BOOT_WITH_FLUSH_CACHE=y
|
|
# CONFIG_MMU_DEBUG_PRINTS is not set
|
|
# end of Arm architecture configuration
|
|
|
|
CONFIG_MMU_PAGE_SIZE=0x1000
|
|
CONFIG_MAX_XLAT_TABLES=256
|
|
# 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_TARGET_PD2308 is not set
|
|
# CONFIG_TARGET_QEMU_VIRT 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_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="tinymaix"
|
|
# end of Build project name
|
|
# end of Board Configuration
|
|
|
|
#
|
|
# Sdk common configuration
|
|
#
|
|
CONFIG_ELOG_LINE_BUF_SIZE=0x100
|
|
# CONFIG_LOG_VERBOS is not set
|
|
# CONFIG_LOG_DEBUG is not set
|
|
CONFIG_LOG_INFO=y
|
|
# CONFIG_LOG_WARN is not set
|
|
# CONFIG_LOG_ERROR is not set
|
|
# 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
|
|
# CONFIG_INTERRUPT_ROLE_NONE is not set
|
|
# end of Sdk common 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_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
|
|
# CONFIG_USE_I2S is not set
|
|
# CONFIG_USE_I3C is not set
|
|
# end of Drivers configuration
|
|
|
|
#
|
|
# Third-party configuration
|
|
#
|
|
# CONFIG_USE_LWIP is not set
|
|
# CONFIG_USE_LETTER_SHELL is not set
|
|
# CONFIG_USE_AMP is not set
|
|
# CONFIG_USE_YMODEM is not set
|
|
# CONFIG_USE_SFUD is not set
|
|
# CONFIG_USE_FATFS_0_1_4 is not set
|
|
# 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
|
|
# CONFIG_USE_FSL_SDMMC is not set
|
|
# CONFIG_USE_MICROPYTHON is not set
|
|
CONFIG_USE_TINYMAIX=y
|
|
|
|
#
|
|
# TinyMaix configuration
|
|
#
|
|
CONFIG_TINYMAIX_USING_ARCH_CPU=y
|
|
# CONFIG_TINYMAIX_USING_ARCH_ARM_NEON is not set
|
|
CONFIG_TINYMAIX_USING_ARCK_TYPE=0
|
|
CONFIG_TINYMAIX_USING_OPT0=y
|
|
# CONFIG_TINYMAIX_USING_OPT1 is not set
|
|
# CONFIG_TINYMAIX_USING_OPT2 is not set
|
|
CONFIG_TINYMAIX_USING_OPTION_LEVEL=0
|
|
# CONFIG_TINYMAIX_USING_MODULE_INT8 is not set
|
|
CONFIG_TINYMAIX_USING_MODULE_FP32=y
|
|
CONFIG_TINYMAIX_USING_MODULE_TYPE=2
|
|
# end of TinyMaix configuration
|
|
|
|
# CONFIG_USE_CHERRY_USB is not set
|
|
# CONFIG_USE_CMSIS is not set
|
|
# end of Third-party configuration
|
|
|
|
#
|
|
# Build setup
|
|
#
|
|
CONFIG_CHECK_DEPS=y
|
|
CONFIG_OUTPUT_BINARY=y
|
|
|
|
#
|
|
# Optimization options
|
|
#
|
|
CONFIG_DEBUG_NOOPT=y
|
|
# CONFIG_DEBUG_CUSTOMOPT is not set
|
|
# CONFIG_DEBUG_FULLOPT 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_DEBUG_ENABLE_ALL_WARNING is not set
|
|
# 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_USE_NEWLIB is not set
|
|
# CONFIG_USE_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
|
|
# end of Linker Options
|
|
# end of Build setup
|
|
|