metaonly module ti.sysbios.rom.ROM

ROM selection and support module

Configuration settings sourced in ti/sysbios/rom/ROM.xdc
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
module-wide constants & types
    values of type ROM.RomName// 
 
    var obj = new ROM.ExFunc// ;
        obj.generated = Bool  ...
        obj.type = String  ...
        obj.name = String  ...
        obj.args = String  ...
module-wide config parameters
    ROM.constStructAddr//  = Ptr null;
    ROM.dataStructAddr//  = Ptr null;
    ROM.excludeFuncs//  = ROM.ExFunc[] undefined;
    ROM.excludeIncludes//  = String[] undefined;
    ROM.externFuncStructAddr//  = Ptr null;
 
CC26XX DEVICE USERS
To build a TI-RTOS application utilizing the ROM in a CC26xx device, add these lines to your configuration file:
       var ROM = xdc.useModule('ti.sysbios.rom.ROM');
       ROM.romName = ROM.CC2650;
IAR WORKBENCH USERS OF CC26XX DEVICES
IAR Workbench users should use the CC2650.icf file provided in the the following directory relative to the BIOS installation:
     ti/sysbios/rom/cortexm/cc26xx/golden/CC26xx/CC2650.icf
If for some reason you must use your own .icf file, then you are required to copy the contiguous block of 131 lines at the end of the above referenced CC2650.icf file starting with:
    place at address mem:0x0000058c {readonly section .const_xdc_runtime_Error_policy__C};
    place at address mem:0x00000538 {readonly section .const_xdc_runtime_IModule_Interface__BASE__C};
    ...
into your .icf file. Failing to do this will result in your application getting stuck in a forever loop at startup.


CC13XX DEVICE USERS
To build a TI-RTOS application utilizing the ROM in a CC13xx device, add these lines to your configuration file:
       var ROM = xdc.useModule('ti.sysbios.rom.ROM');
       ROM.romName = ROM.CC1350;
IAR WORKBENCH USERS OF CC13XX DEVICES
IAR Workbench users should use the CC1350.icf file provided in the the following directory relative to the BIOS installation:
     ti/sysbios/rom/cortexm/cc13xx/golden/CC13xx/CC1350.icf
If for some reason you must use your own .icf file, then you are required to copy the contiguous block of 131 lines at the end of the above referenced CC1350.icf file starting with:
    place at address mem:0x00001490 {readonly section .const_xdc_runtime_Error_policy__C};
    place at address mem:0x0000143c {readonly section .const_xdc_runtime_IModule_Interface__BASE__C};
    ...
into your .icf file. Failing to do this will result in your application getting stuck in a forever loop at startup.
 
enum ROM.RomName
Configuration settings
values of type ROM.RomName
    const ROM.NO_ROM;
    // Default for NOT building against a ROM
    const ROM.CC2650;
    // Use for all CC26xx devices
    const ROM.CC2640R2F;
    // Use for all CC26xx R2 devices
    const ROM.CC1350;
    // Use for all CC13xx devices
    const ROM.F28004x;
    // Use for all F28004x class devices
    const ROM.CC2652;
    // Use for all CC26xx agama devices
    const ROM.CC2652R2;
    // Use for all CC26xx agama devices
 
 
struct ROM.ExFunc
Configuration settings
var obj = new ROM.ExFunc;
 
    obj.generated = Bool  ...
    obj.type = String  ...
    obj.name = String  ...
    obj.args = String  ...
 
 
config ROM.constStructAddr  // module-wide
Configuration settings
ROM.constStructAddr = Ptr null;
 
 
config ROM.dataStructAddr  // module-wide
Configuration settings
ROM.dataStructAddr = Ptr null;
 
 
config ROM.excludeFuncs  // module-wide
Configuration settings
ROM.excludeFuncs = ROM.ExFunc[] undefined;
 
 
config ROM.excludeIncludes  // module-wide
Configuration settings
ROM.excludeIncludes = String[] undefined;
 
 
config ROM.externFuncStructAddr  // module-wide
Configuration settings
ROM.externFuncStructAddr = Ptr null;
 
 
config ROM.romName  // module-wide

The name of the device being used. Currently only 'ROM.CC2650' and 'ROM.CC1350' are supported

Configuration settings
ROM.romName = ROM.RomName ROM.NO_ROM;
 
generated on Tue, 14 Feb 2017 19:59:44 GMT