当前位置:   article > 正文

Vitis2023.2生成freertos的Platform失败解决方法

Vitis2023.2生成freertos的Platform失败解决方法

报错信息如下: 

ERROR : -- The C compiler identification is GNU 12.2.0
ERROR : System is unknown to cmake, create:
ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
ERROR : -- Detecting C compiler ABI info
ERROR : System is unknown to cmake, create:
ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
ERROR : -- Detecting C compiler ABI info - done
ERROR : -- Check for working C compiler: /opt/Xilinx/Vitis/2023.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-gcc - skipped
ERROR : -- Detecting C compile features
ERROR : -- Detecting C compile features - done
ERROR : -- Detecting CXX compiler ABI info
ERROR : System is unknown to cmake, create:
ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
ERROR : -- Detecting CXX compiler ABI info - done
ERROR : -- Check for working CXX compiler: /opt/Xilinx/Vitis/2023.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-g++ - skipped
ERROR : -- Detecting CXX compile features
ERROR : -- Detecting CXX compile features - done
ERROR : -- Configuring done
ERROR : -- Generating done
ERROR : CMake Warning:
ERROR :   Manually-specified variables were not used by the project
  1. 16:41:49 ERROR : -- The C compiler identification is GNU 12.2.0
  2. 16:41:49 ERROR : System is unknown to cmake, create:
  3. 16:41:49 ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
  4. 16:41:49 ERROR : -- Detecting C compiler ABI info
  5. 16:41:49 ERROR : System is unknown to cmake, create:
  6. 16:41:49 ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
  7. 16:41:49 ERROR : -- Detecting C compiler ABI info - done
  8. 16:41:49 ERROR : -- Check for working C compiler: /opt/Xilinx/Vitis/2023.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-gcc - skipped
  9. 16:41:49 ERROR : -- Detecting C compile features
  10. 16:41:49 ERROR : -- Detecting C compile features - done
  11. 16:41:49 ERROR : -- Detecting CXX compiler ABI info
  12. 16:41:49 ERROR : System is unknown to cmake, create:
  13. 16:41:49 ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
  14. 16:41:49 ERROR : -- Detecting CXX compiler ABI info - done
  15. 16:41:49 ERROR : -- Check for working CXX compiler: /opt/Xilinx/Vitis/2023.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin/arm-none-eabi-g++ - skipped
  16. 16:41:49 ERROR : -- Detecting CXX compile features
  17. 16:41:49 ERROR : -- Detecting CXX compile features - done
  18. 16:41:49 ERROR : -- Configuring done
  19. 16:41:49 ERROR : -- Generating done
  20. 16:41:49 ERROR : CMake Warning:
  21. 16:41:49 ERROR : Manually-specified variables were not used by the project:
  22. 16:41:49 ERROR :
  23. 16:41:49 ERROR : CMAKE_LIBRARY_PATH
  24. 16:41:49 ERROR :
  25. 16:41:49 ERROR :
  26. 16:41:49 ERROR : -- Build files have been written to: /home/projects/AD7760_4ch_Eth_V232/AD7760_4ch_Eth_VUIDE/ad7760_4ch_eth_pl/ps7_cortexa9_0/freertos_ps7_cortexa9_0/bsp/libsrc/build_configs/gen_bsp
  27. 16:41:49 ERROR : System is unknown to cmake, create:
  28. 16:41:49 ERROR : Platform/FreeRTOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
  29. 16:41:49 ERROR : Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org.
  30. 16:41:49 ERROR : CMake Error at libsrc/freertos10_xilinx/src/freertos10_xilinx.cmake:330 (message):
  31. 16:41:49 ERROR : A53, R5 or A72 FreeRTOS need a TTC in the system without it cannot work
  32. 16:41:49 ERROR : Call Stack (most recent call first):
  33. 16:41:49 ERROR : libsrc/freertos10_xilinx/src/CMakeLists.txt:7 (include)
  34. 16:41:49 ERROR :
  35. 16:41:49 ERROR :
  36. 16:41:49 ERROR : Error in generating BSP '/home/projects/AD7760_4ch_Eth_V232/AD7760_4ch_Eth_VUIDE/ad7760_4ch_eth_pl/ps7_cortexa9_0/freertos_ps7_cortexa9_0/bsp'.
  37. 16:41:51 ERROR : Failed to create platform: ad7760_4ch_eth_pl.Error in creating platform 'ad7760_4ch_eth_pl.'
  38. 16:41:51 ERROR : Failed to create platform: ad7760_4ch_eth_pl.Error in creating platform 'ad7760_4ch_eth_pl.'

解决方法

在PS中开启TTC定时器

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/533549
推荐阅读
相关标签
  

闽ICP备14008679号