TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1310 USE_TIRTOS_ROM

Hi ,

想使用cc1310 ROM内的driver和RTOS,不想将这些编译链接到flash中,应该如何实现呢,有人试过吗?

WH HUANG:


//*****************************************************************************
//
// Support for DriverLib in ROM:
// This section renames all functions that are not "static inline", so that
// calling these functions will default to implementation in flash. At the end
// of this file a second renaming will change the defaults to implementation in
// ROM for available functions.
//
// To force use of the implementation in flash, e.g. for debugging:
// - Globally: Define DRIVERLIB_NOROM at project level
// - Per function: Use prefix "NOROM_" when calling the function
//
//*****************************************************************************

Felix ZF:

默认就是使用ROM内的TI-RTOS

在.cfg文件中

/* ================ ROM configuration ================ *//* * To use BIOS in flash, comment out the code block below. */var ROM = xdc.useModule('ti.sysbios.rom.ROM');ROM.romName = ROM.CC1350;

WH HUANG:

回复 Felix ZF:

DRIVERLIB_NOROM 在项目OPTION里删除后,发现编译后还是大量NOROM 函数,都还在FLASH里。。。奇怪,用的是IAR.

赞(0)
未经允许不得转载:TI中文支持网 » CC1310 USE_TIRTOS_ROM
分享到: 更多 (0)