This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200的SDK例程FreeRTOS demo



在使用TIRTOS是 加入其它中断时,如 加入串口接收中断,需要注意什么,

  • 如果在RTOS中加入中断,需要注意中断过程中的硬件中断(Hwi) 堆栈不要超过程序设定(CCS中工程文件下的  xxx.cmd)

  • 请问XXX.cmd文件主要是干什么的,有介绍的文档吗

  • .cmd 文件是配置MCU的具体参数,比如Flash的使用划分,RAM的起始结束地址,Stack的定义,等信息,直接打开cmd文件就可以直接看到这些信息

    /*
    * ======== MSP_EXP432P401R.cmd ========
    * Define the memory block start/length for the MSP_EXP432P401R M4
    */

    --stack_size=768 /* C stack is also used for ISR stack */

    MEMORY
    {
    MAIN (RX) : origin = 0x00000000, length = 0x00040000
    INFO (RX) : origin = 0x00200000, length = 0x00004000
    SRAM_CODE (RWX): origin = 0x01000000, length = 0x00010000
    SRAM_DATA (RW) : origin = 0x20000000, length = 0x00010000
    }

    /* Section allocation in memory */

    SECTIONS
    {
    .text : > MAIN
    .const : > MAIN
    .cinit : > MAIN
    .pinit : > MAIN

    #ifdef __TI_COMPILER_VERSION__
    #if __TI_COMPILER_VERSION__ >= 15009000
    .TI.ramfunc : {} load=MAIN, run=SRAM_CODE, table(BINIT)
    #endif
    #endif

    GROUP {
    .data
    .bss
    .sysmem
    empty: {
    /* the UNUSED symbols define reusable heap memory */
    __primary_heap_start__ = .;
    __primary_heap_end__ = __stack;
    }
    } > SRAM_DATA

    .stack : > SRAM_DATA (HIGH)
    }

    /* Symbolic definition of the WDTCTL register for RTS */
    WDTCTL_SYM = 0x4000480C;