Files
GuanxiTong 850fc67138 build(rtos): 适配 AC6 编译器
工程已参考 COD 战队《Keil 使用 FreeRTOS 后 AC6 编译器适配指南》,将 FreeRTOS 的
armcc 端口替换为 GCC 端口:portable/GCC/ARM_CM4F 的 port.c 与 portmacro.h 覆盖到
portable/RVDS/ARM_CM4F。

工程克隆后可直接用 AC6 编译,无需再改动工程文件。

但维护者若需要运行 CubeMX GENERATE,必须先按照文章在自己本机的固件包中做同样替换,
否则生成时会把 AC5 端口拷回工程,编译时重新出现 armcc 语法错误(`__forceinline` 等)。
详见 docs/ac6-migration.md。
2026-11-18 14:07:14 +08:00
..

Each real time kernel port consists of three files that contain the core kernel
components and are common to every port, and one or more files that are 
specific to a particular microcontroller and or compiler.

+ The FreeRTOS/Source directory contains the three files that are common to 
every port - list.c, queue.c and tasks.c.  The kernel is contained within these 
three files.  croutine.c implements the optional co-routine functionality - which
is normally only used on very memory limited systems.

+ The FreeRTOS/Source/Portable directory contains the files that are specific to 
a particular microcontroller and or compiler.

+ The FreeRTOS/Source/include directory contains the real time kernel header 
files.

See the readme file in the FreeRTOS/Source/Portable directory for more 
information.