你好。是的,UART中断是工作/*缺省链接器脚本,对于正常的可执行文件*/OutPuxField(“Eff32 TrutLtILMIPS”)OutPuthARCH(PIC32 MX)条目(重置)/**提供一个最小的堆栈和堆大小*-Mymi-Stasksize,表示必须为堆栈提供的最小空间。可以使用链接器-DeSym选项从命令行重写。*-MixHeaPixSigabor表示必须为堆提供的最小空间。可以使用链接器-DeSym选项从命令行重写。*/Extn(μmin StasksiSmith-Min HeAPPLE大小)/**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************包含SFR定义。********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************关于中断向量处理的文件/附件(“LBMCHPB外设A”)/ ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************。电路内调试执行大小** GnEnEXPTPADADDR——一般的异常向量*********************/*ReSeTyAdDR=0xBFC000;γBEVYExpPTIAdDR=(0xBFC00+0x380);0x760;所有的C文件将位于*/KSG00BoToMeMe:Ont= 0x9Fc000,长度=0x0/*。这个内存区域是哑*/CONT3:ORACE=0xBFC0。0BF0,长度=0x4配置2:原点=0xbfc00 bf4,长度=0x4配置1:原点=0xbfc00 bf8,长度=0x4配置0:原点=0xbfc00 bfc,长度=0x4kSeG1BooToMeM:原点=0xbfc000,长度=0x300/*c启动代码*/KSEG1XDATAYMEM(W)!X):Oracle=0xA000 000,长度=0x10000个SFRS:原点=0xBF8000,长度=0x100000 Debug gExcel。MEM:原点=0x9FC0490,长度=0x760配置FRS:Orthe= 0xBFC000 BF0,长度=0x10}
以上来自于百度翻译
以下为原文
Hi. Yes the UART interrupt is working
/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf32-tradlittlemips")
OUTPUT_ARCH(pic32mx)
ENTRY(_reset)
/*
* Provide for a minimum stack and heap size
* - _min_stack_size - represents the minimum space that must be made
* available for the stack. Can be overridden from
* the command line using the linker's --defsym option.
* - _min_heap_size - represents the minimum space that must be made
* available for the heap. Can be overridden from
* the command line using the linker's --defsym option.
*/
EXTERN (_min_stack_size _min_heap_size)
/*************************************************************************
* Processor-specific object file. Contains SFR definitions.
*************************************************************************/
INPUT("processor.o")
/*************************************************************************
* Processor-specific peripheral libraries are optional
*************************************************************************/
OPTIONAL("libmchp_peripheral.a")
/*************************************************************************
* For interrupt vector handling
*************************************************************************/
PROVIDE(_vector_spacing = 0x00000001);
_ebase_address = 0x9D000000;
/*************************************************************************
* Memory Address Equates
* _RESET_ADDR -- Reset Vector
* _BEV_EXCPT_ADDR -- Boot exception Vector
* _DBG_EXCPT_ADDR -- In-circuit Debugging Exception Vector
* _DBG_CODE_ADDR -- In-circuit Debug Executive address
* _DBG_CODE_SIZE -- In-circuit Debug Executive size
* _GEN_EXCPT_ADDR -- General Exception Vector
*************************************************************************/
_RESET_ADDR = 0xBFC00000;
_BEV_EXCPT_ADDR = (0xBFC00000 + 0x380);
_DBG_EXCPT_ADDR = (0xBFC00000 + 0x480);
_DBG_CODE_ADDR = 0x9FC00490;
_DBG_CODE_SIZE = 0x760;
_GEN_EXCPT_ADDR = _ebase_address + 0x180;
/*************************************************************************
* Memory Regions
*
* Memory regions without attributes cannot be used for orphaned sections.
* Only sections specifically assigned to these regions can be allocated
* into these regions.
*************************************************************************/
MEMORY
{
kseg0_program_mem (rx) : ORIGIN = 0x9D000000, LENGTH = 0x2000 /* All C Files will be located here */
kseg0_boot_mem : ORIGIN = 0x9FC00000, LENGTH = 0x0 /* This memory region is dummy */
config3 : ORIGIN = 0xBFC00BF0, LENGTH = 0x4
config2 : ORIGIN = 0xBFC00BF4, LENGTH = 0x4
config1 : ORIGIN = 0xBFC00BF8, LENGTH = 0x4
config0 : ORIGIN = 0xBFC00BFC, LENGTH = 0x4
kseg1_boot_mem : ORIGIN = 0xBFC00000, LENGTH = 0x300 /* C Startup code */
kseg1_data_mem (w!x) : ORIGIN = 0xA0000000, LENGTH = 0x10000
sfrs : ORIGIN = 0xBF800000, LENGTH = 0x100000
debug_exec_mem : ORIGIN = 0x9FC00490, LENGTH = 0x760
configsfrs : ORIGIN = 0xBFC00BF0, LENGTH = 0x10
}