30 lines
705 B
Bash
Executable File
30 lines
705 B
Bash
Executable File
export disable_print=0
|
|
export hw_platform_ver=15
|
|
export gcc=riscv
|
|
export target=kunlun2
|
|
export ftm_build=0
|
|
export opt_build=1
|
|
export flash_build=0
|
|
export cpu1_build=0
|
|
export ai=1
|
|
export mpu_enable=0
|
|
export psram_enable=1
|
|
export HW_CHIP_ID=NA
|
|
export release_build=1
|
|
export fatfs_enable=1
|
|
export product_line=AI
|
|
export hw_board_id=16
|
|
|
|
export PLATFORM=CHIP
|
|
export fpga_image_type=A10 #SOC/AI/BB
|
|
if [[ $PLATFORM = "FPGA" && $fpga_image_type = "BB" ]]; then
|
|
export soft_float_enable=1
|
|
elif [[ $PLATFORM = "FPGA" && $fpga_image_type = "A10" ]]; then
|
|
export soft_float_enable=0
|
|
else
|
|
export soft_float_enable=0
|
|
fi
|
|
|
|
# User specific aliases and functions for kunlun2
|
|
export PATH=/opt/kunlun2/bin/:$PATH
|