См. документацию.
33 #ifndef BSP_BOARD_DEF_H
34 #define BSP_BOARD_DEF_H 1
51 #ifndef bsp_board_generic
52 #define bsp_board_generic 1
57 #define i_MCU_FAMILY STM32F10x
59 #define i_MCU_MODEL stm32f10x_md_vl
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 0
75 #define BSP_BOARD_HAS_USB_HOST 0
76 #define BSP_BOARD_HAS_USB_OTG 0
77 #define BSP_BOARD_HAS_USB_DEVICE 0
79 #define BSP_BOARD_HAS_SD 0
80 #define BSP_BOARD_HAS_MMC 0
82 #define BSP_BOARD_HAS_I2C 0
83 #define BSP_BOARD_HAS_I2C_PCA9532 0
85 #define BSP_BOARD_HAS_SPI 0
86 #define BSP_BOARD_HAS_SPI_TSC2046 0
94 #define port_spi_chip_select_init()
95 #define port_spi_chip_select(chip_num)
96 #define port_spi_chip_disselect(chip_num)