1# Copyright (c) 2022 ASR Microelectronics (Shanghai) Co., Ltd. All rights reserved. 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") 15 16config("public") { 17 include_dirs = [ "inc/" ] 18} 19 20kernel_module("asr_drivers") { 21 sources = [ 22 "src/duet_board.c", 23 "src/duet_boot.c", 24 "src/duet_dma.c", 25 "src/duet_efuse.c", 26 "src/duet_flash.c", 27 "src/duet_flash_alg.c", 28 "src/duet_gpio.c", 29 "src/duet_i2c.c", 30 "src/duet_pinmux.c", 31 "src/duet_pwm.c", 32 33 # "src/duet_rtc.c", 34 "src/duet_rf_spi.c", 35 "src/duet_timer.c", 36 "src/duet_uart.c", 37 "src/duet_wdg.c", 38 ] 39} 40