提交 0b63d834 编写于 作者: 杨连钊

[bsp][stm32][stm32f103-fire-arbitrary] 优化代码

上级 5795a34d
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
* 2019-01-26 YLZ redefine `struct stm32_drv_can` add member `Rx1Message` * 2019-01-26 YLZ redefine `struct stm32_drv_can` add member `Rx1Message`
* 2019-02-19 YLZ port to BSP [stm32] * 2019-02-19 YLZ port to BSP [stm32]
*/ */
#ifndef __CAN_H__ #ifndef __DRV_CAN_H__
#define __CAN_H__ #define __DRV_CAN_H__
#include "board.h" #include "board.h"
#include <rtdevice.h> #include <rtdevice.h>
#include <rthw.h> #include <rthw.h>
...@@ -49,4 +49,4 @@ extern int rt_hw_can_init(void); ...@@ -49,4 +49,4 @@ extern int rt_hw_can_init(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /*__CAN_H__ */ #endif /*__DRV_CAN_H__ */
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
| 以太网 | 支持 | W5500 | | 以太网 | 支持 | W5500 |
| 电位器 | 支持 | 使用 ADC1 | | 电位器 | 支持 | 使用 ADC1 |
| SD卡 | 即将支持 | | | SD卡 | 即将支持 | |
| CAN | 即将支持 | | | CAN | 支持 | |
| SDRAM | 即将支持 | | | SDRAM | 即将支持 | |
| WIFI ESP8266 | 即将支持 | | | WIFI ESP8266 | 即将支持 | |
| **片上外设** | **支持情况** | **备注** | | **片上外设** | **支持情况** | **备注** |
......
...@@ -275,9 +275,7 @@ menu "On-chip Peripheral Drivers" ...@@ -275,9 +275,7 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_CAN1 config BSP_USING_CAN1
bool "using CAN1" bool "using CAN1"
default n default n
endif
if BSP_USING_CAN
config BSP_USING_CAN2 config BSP_USING_CAN2
bool "using CAN2" bool "using CAN2"
default n default n
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册