问题解决了,把OS_TICKS_PER_SEC由原来的200改为100就可以了,但我又改回200仍然可以,晕。之后又遇到了新问题,加入fatfs文件系统后,只要调用exfuns_init();//为FATFS相关变量申请内存,就会运行空间不足。原子的综合程序里跑了那么多东西都没问题,我就跑个USB,一个文件系统就不行了,这个怎么破?
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching diskio.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usbd_storage_msd.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usbd_usr.o(.data).
问题解决了,把OS_TICKS_PER_SEC由原来的200改为100就可以了,但我又改回200仍然可以,晕。之后又遇到了新问题,加入fatfs文件系统后,只要调用exfuns_init();//为FATFS相关变量申请内存,就会运行空间不足。原子的综合程序里跑了那么多东西都没问题,我就跑个USB,一个文件系统就不行了,这个怎么破?
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching diskio.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usbd_storage_msd.o(.data).
..OBJUCOS-1.axf: Error: L6406E: No space in execution regions with .ANY selector matching usbd_usr.o(.data).
一周热门 更多>