Skip to content

使用ulog组件时编译错误 #5059

@shishirong

Description

@shishirong

芯片 STM32F103
工具链:KEIL MDK
报错信息:

../../../components/utilities/ulog/ulog_def.h(208): error: unknown type name 'size_t'
../../../components/utilities/ulog/ulog.c(119): error: use of undeclared identifier 'NULL'

在ulog_def.h中加上如下的头文件包含后编译通过:

#include <rtdef.h>
#include <stddef.h>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions