/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2018-11-27 zylx first version */ #include #include #include #include #include #ifdef BSP_USING_SPI_LCD static int rt_hw_spi_lcd_init(void) { rt_hw_spi_device_attach("spi1", "spi10", GPIOA, GPIO_PIN_4); return RT_EOK; } INIT_PREV_EXPORT(rt_hw_spi_lcd_init); #endif/* BSP_USING_SPI_LCD */