Go to the documentation of this file.
33 #ifndef BSP_BOARD_DEF_H
34 #define BSP_BOARD_DEF_H 1
51 #ifndef bsp_board_starterkit_lpc_1766_stk
52 #define bsp_board_starterkit_lpc_1766_stk 1
57 #define i_MCU_FAMILY LPC17xx
59 #define i_MCU_MODEL 1768
61 #define i_BOARD starterkit_SK-MLPC1768
63 #define i_VENDOR olimex
65 #define i_VERSION 0x01000B
67 #define BSP_BOARD_HAS_ETHERNET 1
68 #define BSP_BOARD_HAS_UART0 1
71 #define BSP_BOARD_HAS_CAN 0
72 #define BSP_BOARD_HAS_USB 1
73 #define BSP_BOARD_HAS_USB_HOST 1
74 #define BSP_BOARD_HAS_USB_DEVICE 1
77 #ifndef BSP_USB_MODE_DEFINED
78 #warning PLEASE set jumpers J3 and J2 on board and selsect BSP_USB_MODE_DEFINED
80 #define BSP_USB_MODE_DEFINED TYPE_HOST_PORT1
84 #define BSP_BOARD_HAS_SDRAM 0
86 #define BSP_BOARD_HAS_SPI 1
87 #define BSP_BOARD_HAS_SPI_VS1002D 1
88 #define BSP_BOARD_HAS_PS2 1
90 #define BSP_BOARD_HAS_SD 0
91 #define BSP_BOARD_HAS_MMC 0
93 #define LPC2xxx_VIC_SETUP 1
94 #define LPC2xxx_CLOCK_SETUP 1
95 #define LPC2xxx_PLL_SETUP 1
97 #define XTAL_HZ 12000000UL
105 #define CLKSRCSEL_Val 1
113 #define PLL_MValue 11
115 #define CCLKCFG_Val 5
116 #define USBCLKCFG_Val 5
140 #define LPC2xxx_FLASH_SETUP 1
143 #define MAMCR_Val LPC_SC_MAM_MODE_FULL
146 #define LPC2xxx_SDRAM_SETUP BSP_BOARD_HAS_SDRAM
154 #define port_spi_chip_select_init()
158 #define port_spi_chip_select(chip_num)
161 #define port_spi_chip_disselect(chip_num)