• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if BOARD_NIOBE407
2config USE_TALKWEB_APPLICATION
3    bool "use talkweb niobe407 application"
4    default n
5    depends on BOARD_NIOBE407
6    help
7        This is a switch for use talkweb niobe407 application.
8        If you want to write your application code, please close it.
9
10choice APPLICATION_CHOOSE_NIOBE407
11    prompt "niobe407 application choose"
12    depends on USE_TALKWEB_APPLICATION
13    default NIOBE407_USE_001_SYSTEM
14    help
15        This is a choose for application name
16    config NIOBE407_USE_001_SYSTEM
17        bool
18        prompt "001_system_helloworld"
19    config NIOBE407_USE_002_SYSTEM
20        bool
21        prompt "002_system_thread"
22    config NIOBE407_USE_003_SYSTEM
23        bool
24        prompt "003_system_timer"
25    config NIOBE407_USE_004_SYSTEM
26        bool
27        prompt "004_system_event"
28    config NIOBE407_USE_005_SYSTEM
29        bool
30        prompt "005_system_mutex"
31    config NIOBE407_USE_006_SYSTEM
32        bool
33        prompt "006_system_semp"
34    config NIOBE407_USE_007_SYSTEM
35        bool
36        prompt "007_system_message"
37    config NIOBE407_USE_101_PERIPHERAL
38        bool
39        prompt "101_peripheral_adc_temperature"
40    config NIOBE407_USE_102_PERIPHERAL
41        bool
42        prompt "102_peripheral_rng_number"
43    config NIOBE407_USE_103_PERIPHERAL
44        bool
45        prompt "103_peripheral_can_send_example"
46    config NIOBE407_USE_201_HDF
47        bool
48        prompt "201_hdf_gpio_key"
49    config NIOBE407_USE_202_HDF
50        bool
51        prompt "202_hdf_spi_flash"
52    config NIOBE407_USE_203_HDF
53        bool
54        prompt "203_hdf_usart_read_write"
55    config NIOBE407_USE_204_HDF
56        bool
57        prompt "204_hdf_i2c"
58    config NIOBE407_USE_205_HDF
59        bool
60        prompt "205_hdf_watchdog"
61    config NIOBE407_USE_206_HDF
62        bool
63        prompt "206_hdf_pwm"
64    config NIOBE407_USE_301_NETWORK
65        bool
66        prompt "301_network_tcpclient"
67    config NIOBE407_USE_302_NETWORK
68        bool
69        prompt "302_network_tcpserver"
70    config NIOBE407_USE_303_NETWORK
71        bool
72        prompt "303_network_udptest"
73    config NIOBE407_USE_308_NETWORK
74        bool
75        prompt "308_network_iperf_server"
76    config NIOBE407_USE_401_FILE
77        bool
78        prompt "401_file_kv_store"
79    config NIOBE407_USE_402_FILE
80        bool
81        prompt "402_file_fs_store"
82    config NIOBE407_USE_501_OPTIMIZATION
83        bool
84        prompt "501_optimization_ccmram_use"
85endchoice
86
87config NIOBE407_APPLICATION_NAME
88    depends on USE_TALKWEB_APPLICATION
89    string
90    default "001_system_helloworld"          if NIOBE407_USE_001_SYSTEM
91    default "002_system_thread"              if NIOBE407_USE_002_SYSTEM
92    default "003_system_timer"               if NIOBE407_USE_003_SYSTEM
93    default "004_system_event"               if NIOBE407_USE_004_SYSTEM
94    default "005_system_mutex"               if NIOBE407_USE_005_SYSTEM
95    default "006_system_semp"                if NIOBE407_USE_006_SYSTEM
96    default "007_system_message"             if NIOBE407_USE_007_SYSTEM
97    default "101_peripheral_adc_temperature" if NIOBE407_USE_101_PERIPHERAL
98    default "102_peripheral_rng_number"      if NIOBE407_USE_102_PERIPHERAL
99    default "103_peripheral_can_example"     if NIOBE407_USE_103_PERIPHERAL
100    default "201_hdf_gpio_key"               if NIOBE407_USE_201_HDF
101    default "202_hdf_spi_flash"              if NIOBE407_USE_202_HDF
102    default "203_hdf_usart"                  if NIOBE407_USE_203_HDF
103    default "204_hdf_i2c"                    if NIOBE407_USE_204_HDF
104    default "205_hdf_watchdog"               if NIOBE407_USE_205_HDF
105    default "206_hdf_pwm"                    if NIOBE407_USE_206_HDF
106    default "301_network_tcpclient"          if NIOBE407_USE_301_NETWORK
107    default "302_network_tcpserver"          if NIOBE407_USE_302_NETWORK
108    default "303_network_udptest"            if NIOBE407_USE_303_NETWORK
109    default "308_network_iperf_server"       if NIOBE407_USE_308_NETWORK
110    default "401_file_kv_store"              if NIOBE407_USE_401_FILE
111    default "402_file_fs_store"              if NIOBE407_USE_402_FILE
112    default "501_optimization_ccmram_use"    if NIOBE407_USE_501_OPTIMIZATION
113
114endif #BOARD_NIOBE407