См. документацию.
33 #ifndef BSP_BOARD_DEF_H
34 #define BSP_BOARD_DEF_H 1
51 #ifndef bsp_board_olimex_lpc_1766_stk
52 #define bsp_board_olimex_lpc_1766_stk 1
57 #define i_MCU_FAMILY LPC17xx
59 #define i_MCU_MODEL 1766
61 #define i_BOARD olimex_lpc_1766_stk
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 1
72 #define BSP_BOARD_HAS_USB 1
73 #define BSP_BOARD_HAS_USB_HOST 2
74 #define BSP_BOARD_HAS_USB_DEVICE 1
76 #define BSP_BOARD_HAS_SDRAM 1
78 #define BSP_BOARD_HAS_SPI 1
79 #define BSP_BOARD_HAS_SPI_VS1002D 1
80 #define BSP_BOARD_HAS_PS2 1
82 #define BSP_BOARD_HAS_SD 1
83 #define BSP_BOARD_HAS_MMC 1
85 #define LPC2xxx_VIC_SETUP 1
86 #define LPC2xxx_CLOCK_SETUP 1
87 #define LPC2xxx_PLL_SETUP 1
89 #define XTAL_HZ 12000000UL
97 #define CLKSRCSEL_Val 1
105 #define PLL_MValue 11
107 #define CCLKCFG_Val 5
108 #define USBCLKCFG_Val 5
132 #define LPC2xxx_FLASH_SETUP 1
135 #define MAMCR_Val LPC_SC_MAM_MODE_FULL
138 #define LPC2xxx_SDRAM_SETUP BSP_BOARD_HAS_SDRAM
146 #define port_spi_chip_select_init()
150 #define port_spi_chip_select(chip_num)
153 #define port_spi_chip_disselect(chip_num)