在安装目录下找到目录:
SDK\2018.1\data\embeddedsw\ThirdParty\bsp\freertos10_xilinx_v1_0\data
然后通过两个步骤来完成配置项的增加。
(1) 编辑文件freertos10_xilinx.mld,为配置界面增加项目
用文本编辑器打开freertos10_xilinx.mld文件,通过手动编辑文件添加配置项
如想添加FreeRTOS的configSUPPORT_STATIC_ALLOCATION配置,采取如下步骤:
1. 为这个配置项取一个适当的名字(不冲突),这里取为support_static_allocation
2. 设置好类型,这里为bool,缺省值,描述(随便看得明白即可)等
3. 找一个行当的分组,这里选kernel_behavior类别
BEGIN CATEGORY kernel_behavior
4. 在选中的类别里添加一行,这里为
PARAM name = support_static_allocation, type = bool, default = false, desc = "Support static allocation memory for FreeRT