summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/standalone/common/Kconfig
blob: 50288894b95f1a6a2e66ad640598ff2ee56510f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
menu "Sdk common configuration"
choice DEBUG_LOG_LEVEL
    prompt "Debug log level"
    default LOG_ERROR
    help
        VERBOS: Print bigger chunks of debugging information
        DEBUG: Print extra information for debugging
        INFO: Print necessary information messages
        WARN: Print error conditions from which recovery measures have been taken
        ERROR: Print critical errors, software module can not recover on its own

    config LOG_VERBOS
        bool "Verbos"
    config LOG_DEBUG
        bool "Debug"
    config LOG_INFO
        bool "Info"
    config LOG_WARN
        bool "Warn"
    config LOG_ERROR
        bool "Error"
    config LOG_NONE
        bool "None"

endchoice # DEBUG_LOG_LEVEL

config LOG_EXTRA_INFO
    bool "Debug log with extra info"
    default n
    help
        Print debug information with source file name and source code line num.

config LOG_DISPALY_CORE_NUM
    bool "Debug display with core"
    default n
    help
        To display CPU core information during debugging

config BOOTUP_DEBUG_PRINTS
    bool
    prompt "Bootup debug"
    default n
    help
        Enable Bootup debug printing



config USE_DEFAULT_INTERRUPT_CONFIG
    bool
    prompt "Use default interrupt configuration"
    default y
    help 
        "If this option is not selected, core0 is used as the main core by default and all interrupt driver modules are initialized. Non-0 core initializes only the necessary interrupt driver modules.  If this option is selected, the developer needs to initiate each module independently  "
    if USE_DEFAULT_INTERRUPT_CONFIG
        choice INTERRUPT_ROLE_SELECT
        prompt "Interrupt role select"
        default INTERRUPT_ROLE_MASTER
        help
            "Select Interrupt role"

        config INTERRUPT_ROLE_MASTER
            bool "Use master role"    
        
        config INTERRUPT_ROLE_SLAVE
            bool "Use slave role"

        endchoice # INTERRUPT_ROLE_SELECT
    endif

endmenu