• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Hunan OpenValley Digital Industry Development Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14
15config USE_OPENVALLEY_APPLICATION
16    bool "use openvalley niobeu4 application"
17    default n
18    help
19        This is a switch for use openvalley niobeu4 application.
20        If you want to write your application code, please close it.
21
22choice
23        prompt "niobeu4 application choose"
24        depends on USE_OPENVALLEY_APPLICATION
25        default NIOBEU4_APPLICATION_001
26        help
27            This is a choose for application name
28        orsource "*/.application_config"
29endchoice
30
31config NIOBEU4_APPLICATION_NAME
32    string
33    depends on USE_OPENVALLEY_APPLICATION
34    default "001_quick_start" if NIOBEU4_APPLICATION_001
35    default "002_system_los_thread" if NIOBEU4_APPLICATION_002
36    default "003_system_los_timer" if NIOBEU4_APPLICATION_003
37    default "004_system_los_event" if NIOBEU4_APPLICATION_004
38    default "005_system_los_mutex" if NIOBEU4_APPLICATION_005
39    default "006_system_los_semp" if NIOBEU4_APPLICATION_006
40    default "007_system_los_message" if NIOBEU4_APPLICATION_007
41    default "101_hdf_adc" if NIOBEU4_APPLICATION_101
42    default "102_hdf_gpio" if NIOBEU4_APPLICATION_102
43    default "103_hdf_uart" if NIOBEU4_APPLICATION_103
44    default "104_hdf_watchdog" if NIOBEU4_APPLICATION_104
45    default "105_hdf_pwm" if NIOBEU4_APPLICATION_105
46    default "106_hdf_i2c" if NIOBEU4_APPLICATION_106
47    default "107_hdf_spi" if NIOBEU4_APPLICATION_107
48    default "201_bluetooth" if NIOBEU4_APPLICATION_201
49    default "202_wifi" if NIOBEU4_APPLICATION_202
50