因为要用到timer1和2的dma功能,32.768晶振要用到,只能把usb换到端口2,
切换的过程中发现编译出来后,都没有链接进去
.text.U2DevEP1_OUT_Deal
0x0000000000000000 0x2e build/usbuser2.o
.text.U2DevEP2_OUT_Deal
0x0000000000000000 0x2e build/usbuser2.o
.text.U2DevEP3_OUT_Deal
0x0000000000000000 0x2c build/usbuser2.o
.text.U2DevEP4_OUT_Deal
0x0000000000000000 0x2e build/usbuser2.o
.text.USB2_DevTransProcess
0x0000000000000000 0x7fe build/usbuser2.o
.rodata.USB2_DevTransProcess
0x0000000000000000 0x58 build/usbuser2.o
使用端口1则正常
.text.DevEP1_OUT_Deal
0x0000000000002b54 0x26 build/usbuser1.o
0x0000000000002b54 DevEP1_OUT_Deal
.text.DevEP2_OUT_Deal
0x0000000000002b7a 0x26 build/usbuser1.o
0x0000000000002b7a DevEP2_OUT_Deal
.text.DevEP3_OUT_Deal
0x0000000000002ba0 0x24 build/usbuser1.o
0x0000000000002ba0 DevEP3_OUT_Deal
.text.DevEP4_OUT_Deal
0x0000000000002bc4 0x26 build/usbuser1.o
0x0000000000002bc4 DevEP4_OUT_Deal
.text.USB_DevTransProcess
0x0000000000002bea 0x75c build/usbuser1.o
0x0000000000002bea USB_DevTransProcess