1# Copyright (C) 2024 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 14static_library("hal_iothardware") { 15 sources = [ 16 "hal_iot_gpio.c", 17 "hal_iot_i2c.c", 18 "hal_iot_pwm.c", 19 "hal_iot_sfc.c", 20 "hal_iot_uart.c", 21 "hal_iot_watchdog.c", 22 "hal_reset.c", 23 ] 24 25 defines = [ 26 "CONFIG_UART_SUPPORT_TX", 27 "CONFIG_UART_SUPPORT_RX", 28 ] 29 30 include_dirs = [ 31 "//commonlibrary/utils_lite/include", 32 "//device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal", 33 "//device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/uart", 34 "//device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/gpio", 35 "//device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/i2c", 36 "//device/soc/hisilicon/ws63v100/sdk/drivers/chips/ws63/porting/gpio", 37 "//device/soc/hisilicon/ws63v100/sdk/drivers/chips/ws63/porting/i2c", 38 "//device/soc/hisilicon/ws63v100/sdk/drivers/chips/ws63/porting/uart", 39 "//device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/gpio/v150", 40 "//base/iothardware/peripheral/interfaces/inner_api", 41 "//device/soc/hisilicon/ws63v100/sdk/include", 42 "//device/soc/hisilicon/ws63v100/sdk/middleware/utils/common_headers/native", 43 "//device/soc/hisilicon/ws63v100/sdk/middleware/utils/dfx/dfx_reboot/cpu_utils/public", 44 "//device/soc/hisilicon/ws63v100/sdk/middleware/utils/dfx/dfx_reboot/reboot/shared", 45 ] 46} 47