[bsp][stm32][stm32f103-fire-arbitrary] 优化代码
This commit is contained in:
parent
5795a34d18
commit
0b63d83485
@ -10,8 +10,8 @@
|
||||
* 2019-01-26 YLZ redefine `struct stm32_drv_can` add member `Rx1Message`
|
||||
* 2019-02-19 YLZ port to BSP [stm32]
|
||||
*/
|
||||
#ifndef __CAN_H__
|
||||
#define __CAN_H__
|
||||
#ifndef __DRV_CAN_H__
|
||||
#define __DRV_CAN_H__
|
||||
#include "board.h"
|
||||
#include <rtdevice.h>
|
||||
#include <rthw.h>
|
||||
@ -49,4 +49,4 @@ extern int rt_hw_can_init(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /*__CAN_H__ */
|
||||
#endif /*__DRV_CAN_H__ */
|
||||
|
@ -45,7 +45,7 @@
|
||||
| 以太网 | 支持 | W5500 |
|
||||
| 电位器 | 支持 | 使用 ADC1 |
|
||||
| SD卡 | 即将支持 | |
|
||||
| CAN | 即将支持 | |
|
||||
| CAN | 支持 | |
|
||||
| SDRAM | 即将支持 | |
|
||||
| WIFI ESP8266 | 即将支持 | |
|
||||
| **片上外设** | **支持情况** | **备注** |
|
||||
|
@ -275,9 +275,7 @@ menu "On-chip Peripheral Drivers"
|
||||
config BSP_USING_CAN1
|
||||
bool "using CAN1"
|
||||
default n
|
||||
endif
|
||||
|
||||
if BSP_USING_CAN
|
||||
|
||||
config BSP_USING_CAN2
|
||||
bool "using CAN2"
|
||||
default n
|
||||
|
Loading…
x
Reference in New Issue
Block a user