• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 HiHope Open Source Organization .
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
14import("//kernel/liteos_m/liteos.gni")
15module_name = get_path_info(rebase_path("."), "name")
16kernel_module(module_name) {
17  sources = [
18    "7816/wm_7816.c",
19    "adc/wm_adc.c",
20    "cpu/wm_cpu.c",
21    "dma/wm_dma.c",
22    "efuse/wm_efuse.c",
23    "flash/wm_fls.c",
24    "flash/wm_fls_gd25qxx.c",
25    "gpio/wm_gpio.c",
26    "gpio/wm_gpio_afsel.c",
27    "i2c/wm_i2c.c",
28    "i2s/wm_i2s.c",
29    "internalflash/wm_internal_fls.c",
30    "io/wm_io.c",
31    "irq/wm_irq.c",
32    "pmu/wm_pmu.c",
33    "psram/wm_psram.c",
34    "pwm/wm_pwm.c",
35    "rtc/wm_rtc.c",
36    "sasc/wm_sasc.c",
37    "spi/wm_hostspi.c",
38    "timer/wm_timer.c",
39    "uart/wm_uart.c",
40    "watchdog/wm_watchdog.c",
41  ]
42  include_dirs = [ "spi" ]
43}
44