在使用TIRTOS是 加入其它中断时,如 加入串口接收中断,需要注意什么,
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.
.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;