summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/standalone/common/Kconfig
blob: aa2fd1c471cb1f20c0d70119fe3f82cb9974fa50 (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



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 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

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 BOOTUP_DEBUG_PRINTS
    bool
    prompt "Bootup debug"
    default n
    help
        Enable Bootup debug printing