mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/platform_devices.h
- Revision:
- 189:f392fc9709a3
- Parent:
- 186:707f6e361f3e
--- a/targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/platform_devices.h Thu Nov 08 11:46:34 2018 +0000 +++ b/targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/platform_devices.h Wed Feb 20 22:31:08 2019 +0000 @@ -20,80 +20,108 @@ /* ======= Configures the peripheral set ======= */ #include "device_cfg.h" -/* ======= Includes generic driver headers ======= */ -#include "timer_cmsdk_drv.h" -#include "arm_gpio_drv.h" -#include "arm_mps2_io_drv.h" -#include "spi_pl022_drv.h" -#include "arm_uart_drv.h" - /* ======= Defines peripheral configuration structures ======= */ /* ARM CMSDK Timer driver structures */ #ifdef ARM_CMSDK_TIMER0 +#include "timer_cmsdk_drv.h" extern struct timer_cmsdk_dev_t CMSDK_TIMER0_DEV; #endif #ifdef ARM_CMSDK_TIMER1 +#include "timer_cmsdk_drv.h" extern struct timer_cmsdk_dev_t CMSDK_TIMER1_DEV; #endif +/* ARM CMSDK Dual Timer driver structure */ +#ifdef ARM_CMSDK_DUALTIMER +#include "dualtimer_cmsdk_drv.h" +extern struct dualtimer_cmsdk_dev_t CMSDK_DUALTIMER_DEV; +#endif + +/* RTC PL031 */ +#ifdef RTC_PL031 +#include "rtc_pl031_drv.h" +extern struct rtc_pl031_dev_t RTC_PL031_DEV; +#endif + /* ARM GPIO driver structures */ #ifdef ARM_GPIO0 +#include "arm_gpio_drv.h" extern struct arm_gpio_dev_t ARM_GPIO0_DEV; #endif #ifdef ARM_GPIO1 +#include "arm_gpio_drv.h" extern struct arm_gpio_dev_t ARM_GPIO1_DEV; #endif #ifdef ARM_GPIO2 +#include "arm_gpio_drv.h" extern struct arm_gpio_dev_t ARM_GPIO2_DEV; #endif #ifdef ARM_GPIO3 +#include "arm_gpio_drv.h" extern struct arm_gpio_dev_t ARM_GPIO3_DEV; #endif /* ARM MPS2 IO FPGAIO driver structures */ #ifdef ARM_MPS2_IO_FPGAIO +#include "arm_mps2_io_drv.h" extern struct arm_mps2_io_dev_t ARM_MPS2_IO_FPGAIO_DEV; #endif /* ARM MPS2 IO SCC driver structures */ #ifdef ARM_MPS2_IO_SCC +#include "arm_mps2_io_drv.h" extern struct arm_mps2_io_dev_t ARM_MPS2_IO_SCC_DEV; #endif /* ARM SPI driver structures */ #ifdef ARM_SPI0 +#include "spi_pl022_drv.h" extern struct spi_pl022_dev_t SPI0_PL022_DEV; #endif #ifdef ARM_SPI1 +#include "spi_pl022_drv.h" extern struct spi_pl022_dev_t SPI1_PL022_DEV; #endif #ifdef ARM_SPI2 +#include "spi_pl022_drv.h" extern struct spi_pl022_dev_t SPI2_PL022_DEV; #endif #ifdef ARM_SPI3 +#include "spi_pl022_drv.h" extern struct spi_pl022_dev_t SPI3_PL022_DEV; #endif #ifdef ARM_SPI4 +#include "spi_pl022_drv.h" extern struct spi_pl022_dev_t SPI4_PL022_DEV; #endif /* ARM UART driver structures */ #ifdef ARM_UART0 +#include "arm_uart_drv.h" extern struct arm_uart_dev_t ARM_UART0_DEV; #endif #ifdef ARM_UART1 +#include "arm_uart_drv.h" extern struct arm_uart_dev_t ARM_UART1_DEV; #endif #ifdef ARM_UART2 +#include "arm_uart_drv.h" extern struct arm_uart_dev_t ARM_UART2_DEV; #endif #ifdef ARM_UART3 +#include "arm_uart_drv.h" extern struct arm_uart_dev_t ARM_UART3_DEV; #endif #ifdef ARM_UART4 +#include "arm_uart_drv.h" extern struct arm_uart_dev_t ARM_UART4_DEV; #endif +#ifdef SMSC9220_ETH +#include "smsc9220_eth_drv.h" +extern struct smsc9220_eth_dev_t SMSC9220_ETH_DEV; +#endif + #endif /* __ARM_LTD_PLATFORM_DEVICES_H__ */