RT-Thread-Studio / sdk-bsp-ra8d1-vision-board

The Vision-Board development board, based on the Renesas Cortex-M85 architecture RA8D1 chip.
37 stars 28 forks source link

build failed! projects/lvgl/vision_board_rgb_4.3inch_lvgl #26

Closed KunYi closed 7 months ago

KunYi commented 7 months ago

Description: During testing of SDK version v1.0.0, I encountered the following issue:

Problem: Build failure occurred due to the absence of the CMSIS package, specifically the 'arm_math.h' header file

/tmp/sdk-bsp-ra8d1-vision-board/projects/lvgl/vision_board_rgb_4.3inch_lvgl$ scons 
scons: Reading SConscript files ...
Newlib version: 3.3.0
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/board/lvgl/arm-2d/Source/__arm_2d_conversion_helium.o
CC build/board/lvgl/arm-2d/Source/__arm_2d_transform_helium.o
CC build/board/lvgl/arm-2d/Source/arm_2d.o
CC build/board/lvgl/arm-2d/Source/arm_2d_alpha_blending.o
CC build/board/lvgl/arm-2d/Source/arm_2d_async.o
CC build/board/lvgl/arm-2d/Source/arm_2d_conversion.o
CC build/board/lvgl/arm-2d/Source/arm_2d_draw.o
In file included from board/lvgl/arm-2d/Include/arm_2d_types.h:42,
                 from board/lvgl/arm-2d/Include/arm_2d.h:35,
                 from board/lvgl/arm-2d/Source/__arm_2d_conversion_helium.c:33:
board/lvgl/arm-2d/Include/__arm_2d_math.h:78:10: fatal error: arm_math.h: No such file or directory
   78 | #include "arm_math.h"
      |          ^~~~~~~~~~~~
compilation terminated.
CC build/board/lvgl/arm-2d/Source/arm_2d_helium.o
CC build/board/lvgl/arm-2d/Source/arm_2d_transform.o
In file included from board/lvgl/arm-2d/Include/arm_2d_types.h:42,
                 from board/lvgl/arm-2d/Include/arm_2d.h:35,
                 from board/lvgl/arm-2d/Source/__arm_2d_transform_helium.c:35:
board/lvgl/arm-2d/Include/__arm_2d_math.h:78:10: fatal error: arm_math.h: No such file or directory
   78 | #include "arm_math.h"
Rbb666 commented 7 months ago

您好,感谢您的反馈,目前lvgl工程中使用了Helium指令,但目前的gcc的工具链还未支持Helium指令。因此Vision-Board的LVGL-9.0 工程只支持使用armclang(AC6)工具链(MDK>V5.3.8)编译。

KunYi commented 7 months ago

the error message just say missed the file 'arm_math.h' not unsupported , and GCC ARM support Helium instructions, because ARM contribute some patch to support.

And arm_math.h should include CMSIS-DSP or Silicon Vendor CMSIS-Pack when hardware accelerate enabled

Renesas Smart Configuration need enable CMSIS/CMSIS5/DSP item image

Rbb666 commented 7 months ago

the error message just say missed the file 'arm_math.h' not unsupported , and GCC ARM support Helium instructions, because ARM contribute some patch to support.

And arm_math.h should include CMSIS-DSP or Silicon Vendor CMSIS-Pack when hardware accelerate enabled

Renesas Smart Configuration need enable CMSIS/CMSIS5/DSP item image

Thank you for your reply. I will try to adapt the lvgl project to gcc compilation later.

Rbb666 commented 7 months ago

@KunYi hi,lvgl9 already supports the gcc tool chain and adds ci. #35