-
`
static rt_err_t _cdc_get_line_coding(udevice_t device, ureq_t setup)
{
struct ucdc_line_coding data;
rt_uint16_t size;
RT_ASSERT(device != RT_NULL);
RT_ASSERT(setup != RT_NUL…
-
创建设备附加user_data时,rt_device_create()只为user_data分配了空间,但是并没有对user_data指针进行初始化,导致使用user_data数据时读写异常,需要额外再设备驱动初始化时对其进行赋值,造成一定的困扰。
-
**Describe**
The [doc](https://docs.rs/stm32f1xx-hal/0.10.0/stm32f1xx_hal/usb/struct.Peripheral.html) says `usb::Peripheral` has implemented [UsbPeripheral](https://docs.rs/stm32-usbd/0.6.0/x86_64-u…
-
您好,感谢 **at_device**。
我在使用 ec200t 时遇到一个问题,模块 at 命令初始化之后一直打印 **the power is off.**,间隔为 `EC200X_LINK_DELAY_TIME`。
```C
static int ec200x_check_link_status(struct at_device *device)
{
at_resp…
-
## Issue Details
This compilation error is the results of a combination of things.
First, the code used to work ~2 years ago. I don't know when it broke.
Secondly, on Windows "int", "long int", a…
-
```
rt:ERROR pxUtil.cpp:943 -- Thread-5572: FATAL: Invalid arguments - imageData = NULL
rt:ERROR pxUtil.cpp:692 -- Thread-5572: NULL buffer passed into pxLoadJPGImageTurbo
rt:ERROR pxUtil.cpp:760 -…
-
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\main.o
In…
-
相关代码:
```
void rt_timer_init(rt_timer_t timer,
const char *name,
void (*timeout)(void *parameter),
void *parameter,
…
-
This is the error that i get, can you please advise me what to do?:
```
:0:0: note: this is the location of the previous definition
In file included from ./include/linux/workqueue.h:9:0,
…
-
### 初始化函数rt_stm32_eth_init
rt_stm32_eth_init初始化EthHandle时的代码如下:
```c
__HAL_RCC_ETH_CLK_ENABLE();
phy_reset();
/* ETHERNET Configuration */
EthHandle.Instance = ETH;
EthH…