ArmClang Supported on RT-Thread V4.1.0

Created at 2022-06-22 14:28:19

ArmClang Support

In the release of RT-Thread 4.1.0, Arm Compiler 6 was added, allowing users to modify the rtconfig.py to specify the compiler while building mdk5 projects.

  • ArmClang supports more architectures compared to Armcc, Armcc supports armv7 architectures, armclang supports Armv6, Armv7, Armv8 and future Arm’s new processors.
  • ArmClang compiles faster than Armcc under the same project.

User Guide

  • Open any project in the rt-thread/bsp directory, we’re taking stm32h750-artpi-h750 as an example.
  • Open the rtconfig.py file and modify the PLATFORM to armclang.

MBXY-CR-f5f5d95f33fdc9252774acb084bc0a34.png

  • Open the keil template project, modify the compiler to ArmClang, Ctrl+S save settings

MBXY-CR-b6175d6a303cf2894eb02b3407dc25c6.png

MBXY-CR-ba3d319514549f1db251055deb8720f0.png

Reference

  • Arm Compiler armclang Reference Guide Version 6.9

https://developer.arm.com/documentation/100067/0609/

更多

Follower
0
Views
1.3k
0 Answer
There is no answer, come and add the answer

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share