Page 1 of 1

Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-24 4:45
by SingleBiu
Image

Re: Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-24 6:23
by yangxj121
您好,可以将<asm/types.h>替换为<linux/types.h>

Re: Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-24 7:50
by SingleBiu
yangxj121 wrote: 2025-07-24 6:23 您好,可以将<asm/types.h>替换为<linux/types.h>
Image

Re: Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-24 9:02
by yangxj121
您好,是否编译的是我们官网的.ko文件,其次麻烦确认makefile正确
WXWorkCapture_17533467699721.png

Re: Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-29 5:09
by SingleBiu
yangxj121 wrote: 2025-07-24 9:02 您好,是否编译的是我们官网的.ko文件,其次麻烦确认makefile正确WXWorkCapture_17533467699721.png
官网的交叉编译器路径不存在

Re: Luckfox设备驱动开发缺少<asm/types.h>文件

Posted: 2025-07-29 11:23
by yangxj121
您好,关于官网交叉编译器获取及环境配置,可以参考https://wiki.luckfox.com/zh/Luckfox-Pico/Cross-Compile,确保交叉编译路径与您实际环境中的交叉编译路径一致