Kconfig 2.6 KB
Newer Older
G
gokemicro 已提交
1 2
mainmenu "RT-Thread Configuration"

misonyo's avatar
misonyo 已提交
3
config BSP_DIR
G
gokemicro 已提交
4 5 6 7
    string
    option env="BSP_ROOT"
    default "."

misonyo's avatar
misonyo 已提交
8
config RTT_DIR
G
gokemicro 已提交
9 10 11 12
    string
    option env="RTT_ROOT"
    default "../.."

misonyo's avatar
misonyo 已提交
13
config PKGS_DIR
G
gokemicro 已提交
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
    string
    option env="PKGS_ROOT"
    default "packages"

source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"


choice
    prompt "Device type"
    default GK7102C
    config SOC_GK7101
        bool "GK7101"
    config SOC_GK7102
        bool "GK7102"
    config SOC_GK7101S
        bool "GK7101S"
    config SOC_GK7102S
        bool "GK7102S"
    config SOC_GK7102C
        bool "GK7102C"
endchoice

choice
    prompt "Board type"
    default GK7102C_EVB
    config BOARD_GK7101_EVB
        bool "GK7101_EVB"
        depends on SOC_GK7101
    config BOARD_GK7101_EVB
        bool "GK7101_EVB"
        depends on SOC_GK7102
    config BOARD_GK7101S_EVB
        bool "GK7101S_EVB"
        depends on SOC_GK7101S
    config BOARD_GK7101S_EVB
        bool "GK7101S_EVB"
        depends on SOC_GK7102S
    config BOARD_GK7102C_EVB
        bool "GK7102C_EVB"
        depends on SOC_GK7102C
endchoice

choice
    prompt "Sensor type"
    default SENSOR_TYPE_SC1135
    config SENSOR_TYPE_SC1135
        bool "SC1135"
    config SENSOR_TYPE_SC1145
        bool "SC1145"
    config SENSOR_TYPE_JXH65
        bool "JXH65"
    config SENSOR_TYPE_OV9750
        bool "OV9750"
    config SENSOR_TYPE_AR0130
        bool "AR0130"
    config SENSOR_TYPE_JXH42
        bool "JXH42"
endchoice

config TUNNING_TOOL_SUPPORT
    bool "Using Tuning Tool"
    default y
    
config RT_USING_DMA_MEM
    bool "Enable DMA Mem"
    default y  

config ARM1176_USE_VFP
    bool "Enable ARM1176 VFP"
    default y  
    
config RT_USING_VFP
    bool "Enable VFP"
    default y  

config RT_USING_CPU_FFS
    bool "Enable CPU FFS"
    default y
      
menu "Goke Peripheral Device Config"
    config RT_USING_ADC
        bool "Enable ADC"
        default y    
 
    config RT_USING_GMAC
        bool "Enable GMAC"
        default y     

    config RT_USING_PWM
        bool "Enable PWM"
        default y    
  
    config RT_USING_GK_DMA
        bool "Enable DMA"
        default y    
        
    config RT_USING_LIBZ
        bool "Enable Zlib for firmware uncompress"
        default y  
        
    config RT_USING_LOGCAPTURE
        bool "Enable DSP Logcaputure"
        default y
        
    config RT_ALIGN_UC_SIZE
        int "Align UC Size"
        default 8
    
    config RT_ALIGN_DSP_SIZE
        int "Align DSP Size"
        default 32
        
    config RT_DEBUG_UC_MEM
        int "Debug UC Memory"
        default 0
    
    config RT_DEBUG_DSP_MEM
        int "Debug DSP Memory"
        default 0
endmenu