搜索
bottom↓
回复: 0

STM32固件库2.0升3.4的问题

[复制链接]

出0入0汤圆

发表于 2012-12-4 17:45:24 | 显示全部楼层 |阅读模式
我按照资料的说明做了相应的更改,编译通过了。可是我整理了下用到的代码,归到相应的文件夹下,就再也编译不过了,检查好几遍了,求指教。
错误代码如下:


linking...
.\object\GPRS.axf: Error: L6266E: RWPI Section anon$$obj.o(PDT$$ptr) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section system_stm32f10x.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section stm32f10x_rcc.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section main.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section gsm.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section usart_io.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section stm_i2c.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section stm32f10x_it.o(.data) cannot be assigned to non-PI Exec region ER_RW.
.\object\GPRS.axf: Error: L6266E: RWPI Section gsm.o(.bss) cannot be assigned to non-PI Exec region ER_ZI.
.\object\GPRS.axf: Error: L6266E: RWPI Section stm_i2c.o(.bss) cannot be assigned to non-PI Exec region ER_ZI.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function NMI_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function HardFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function MemManage_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function BusFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function UsageFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function SVC_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function DebugMon_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function PendSV_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function EXTI0_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function EXTI1_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function TIM2_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function USART1_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function USART2_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function USART3_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: entry7.o(.ARM.Collect$$$$00000007) cannot use the address of 'RWPI (R9 used as SB)' function main as the image contains 'USESV6 (R9 used as V6)' functions.
.\object\GPRS.axf: Error: L6241E: startup_stm32f10x_md.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function SystemInit as the image contains 'USESV6 (R9 used as V6)' functions.
Target not created

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-23 13:15

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表