31 lines
743 B
Bash
31 lines
743 B
Bash
|
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 mpu_enable=0
|
||
|
export cco=1
|
||
|
export psram_enable=1
|
||
|
export HW_CHIP_ID=NA
|
||
|
export release_build=0
|
||
|
export gdb_debug_enable=1
|
||
|
export fatfs_enable=0
|
||
|
export product_line=PLC
|
||
|
export hw_board_id=13
|
||
|
|
||
|
export PLATFORM=CHIP
|
||
|
export fpga_image_type=SOC #SOC/AI/BB/A10/AUDIO
|
||
|
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=1
|
||
|
else
|
||
|
export soft_float_enable=0
|
||
|
fi
|
||
|
|
||
|
# User specific aliases and functions for kunlun2
|
||
|
export PATH=/opt/kunlun2/bin/:$PATH
|