重新编译并检查错误是否解决: 在添加了正确的头文件并修正了任何拼写或路径问题后,重新编译你的代码。如果一切设置正确,错误应该会被解决。 遵循这些步骤应该可以帮助你解决 error: unknown type name 'uint16_t' 的问题。如果问题仍然存在,可能需要检查你的编译器设置或考虑是否有其他系统级的问题。
Unknown type name uint16_t during code generation Options SOLVED Jump to solution 05-13-2020 08:24 PM 4,863 Views raywu Contributor I I am using the S32k144 with the toolbox. I am getting this error during code generation. However when I try the GPIO_ISR example pr...
Current unstable branch @ 4a701b3 make fails with: In file included from zipmap.c:83:0: endianconv.h:39:1: error: unknown type name ‘uint16_t’ Adding #include <stdint.h> to the top of src/endianconv.h fixed this for me.