См. документацию.
33 #ifndef BSP_BOARD_DEF_H
34 #define BSP_BOARD_DEF_H 1
51 #ifndef bsp_board_generic
52 #define bsp_board_generic 1
61 #define i_BOARD GENERIC_BOARD
63 #define i_VENDOR GENERIC_VERNDOR
65 #define i_VERSION 0x010100
67 #define BSP_BOARD_HAS_SDRAM 0
69 #define BSP_BOARD_HAS_ETHERNET 0
70 #define BSP_BOARD_HAS_UART0 1
71 #define BSP_BOARD_HAS_UART1 0
72 #define BSP_BOARD_HAS_UART2 0
73 #define BSP_BOARD_HAS_CAN 0
74 #define BSP_BOARD_HAS_USB_HOST 0
76 #define BSP_BOARD_HAS_SD 0
78 #define BSP_BOARD_HAS_I2C 0
79 #define BSP_BOARD_HAS_I2C_PCA9532 0
81 #define BSP_BOARD_HAS_SPI 0
82 #define BSP_BOARD_HAS_SPI_TSC2046 0
85 #define XTAL_HZ 8000000UL
87 #define CLKSRCSEL_Val CLKSRCSEL_XTAL
95 #define port_spi_chip_select_init()
99 #define port_spi_chip_select(chip_num)
102 #define port_spi_chip_disselect(chip_num)