资源简介

基于K210官方KPU例程,自己学习时每行都添加了注释。 并为了适配歪朵拉R3开发板修改了部分IO口映射。 为了适配1.14寸spi屏幕,添加了图像缩放、切割、合成等函数,均测试可用。 有问题可以留言。

资源截图

代码片段和文件信息


  const char features[] = {“\n“
“C_FEATURE:“
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
“1“
#else
“0“
#endif
“c_function_prototypes\n“
“C_FEATURE:“
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
“1“
#else
“0“
#endif
“c_restrict\n“
“C_FEATURE:“
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
“1“
#else
“0“
#endif
“c_static_assert\n“
“C_FEATURE:“
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
“1“
#else
“0“
#endif
“c_variadic_macros\n“

};

int main(int argc char** argv) { (void)argv; return features[argc]; }

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-07-14 10:10  .vscode\
     文件         991  2020-07-13 11:21  .vscode\c_cpp_properties.json
     文件        4143  2020-07-18 18:58  .vscode\cmake-build.bat
     文件           2  2020-07-13 11:21  .vscode\cmake-env.json
     文件         757  2020-07-18 18:58  .vscode\cmake-server.bat
     文件      119215  2020-07-18 18:58  .vscode\compile_commands.backup.json
     文件         385  2020-07-18 18:14  .vscode\settings.json
     目录           0  2020-07-18 18:58  build\
     文件        1484  2020-07-18 18:09  build\cmake_install.cmake
     文件       17239  2020-07-18 18:09  build\CMakeCache.txt
     目录           0  2020-07-18 18:58  build\CMakeFiles\
     目录           0  2020-07-18 18:09  build\CMakeFiles\3.13.2\
     文件        2503  2020-07-18 18:09  build\CMakeFiles\3.13.2\CMakeCCompiler.cmake
     文件        5193  2020-07-18 18:09  build\CMakeFiles\3.13.2\CMakeCXXCompiler.cmake
     文件        2640  2020-07-18 18:09  build\CMakeFiles\3.13.2\CMakeDetermineCompilerABI_C.bin
     文件        2728  2020-07-18 18:09  build\CMakeFiles\3.13.2\CMakeDetermineCompilerABI_CXX.bin
     文件         363  2020-07-18 18:09  build\CMakeFiles\3.13.2\CMakeSystem.cmake
     目录           0  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdC\
     文件        2976  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdC\a.out
     文件       19611  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdC\CMakeCCompilerId.c
     目录           0  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdC\tmp\
     目录           0  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdCXX\
     文件        3040  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdCXX\a.out
     文件       19126  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdCXX\CMakeCXXCompilerId.cpp
     目录           0  2020-07-18 18:09  build\CMakeFiles\3.13.2\CompilerIdCXX\tmp\
     文件          86  2020-07-18 18:58  build\CMakeFiles\cmake.check_cache
     文件         680  2020-07-18 18:09  build\CMakeFiles\CMakeDirectoryInformation.cmake
     文件       54809  2020-07-18 18:09  build\CMakeFiles\CMakeOutput.log
     目录           0  2020-07-18 18:09  build\CMakeFiles\CMakeTmp\
     文件        4584  2020-07-18 18:09  build\CMakeFiles\feature_tests.bin
     文件         722  2020-07-18 18:09  build\CMakeFiles\feature_tests.c
............此处省略337个文件信息

评论

共有 条评论