stm32移植过程中遇到的问题

1.Warning: L6305W: Image does not have an entry point. (Not specified or not set due to multiple choices.)

   在Options for Target选项的Linker---Misc controls加入入口地址:--entry Reset_Handler 

2. Error: L6915E: Library reports error: __use_no_semihosting was requested, but __user_initial_stackheap was referenced

    对于这个问题,我在sct文件中添加了两行就ok了,原因正在查找。ARM_LIB_HEAP  0x2000D000 EMPTY  0x00000200   {}  ARM_LIB_STACK 0x2000E000 EMPTY -0x00000200   {}

    对于后半句,在MDK的编译器手册中找到了

  

猜你喜欢

转载自blog.csdn.net/shizhe0123/article/details/39274399