建立F429cube工程编译不过去,请大家帮帮忙

2019-07-20 16:58发布

      按照原子的HAL教程,一步一步的建工程,最后没编译过去,出现了这样的错误,我看坛子上有个网友也遇到了这样的问题,说是把魔术棒C/C++中的两个选项不勾选,我按照他说的做了,还是没编译过去,请各位高手指导一下这是什么原因呢

*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:Keil_v5ARMARMCCBin'
Build target 'Target 1'
linking...
..OBJSuccess.axf: Error: L6266E: RWPI Section anon$$obj.o(PDT$$ptr) cannot be assigned to non-PI Exec region RW_IRAM1.
..OBJSuccess.axf: Error: L6266E: RWPI Section system_stm32f4xx.o(.data) cannot be assigned to non-PI Exec region RW_IRAM1.
..OBJSuccess.axf: Error: L6266E: RWPI Section stm32f4xx_hal.o(.data) cannot be assigned to non-PI Exec region RW_IRAM1.
..OBJSuccess.axf: Error: L6266E: RWPI Section stm32f4xx_hal_timebase_tim_template.o(.bss) cannot be assigned to non-PI Exec region RW_IRAM1.
..OBJSuccess.axf: Error: L6266E: RWPI Section libspace.o(.bss) cannot be assigned to non-PI Exec region RW_IRAM1.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.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.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function SysTick_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function TIM6_DAC_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function SystemInit as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: startup_stm32f429xx.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function __main as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAPeriodElapsedCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAPeriodElapsedCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIMEx_DMACommutationCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMATriggerCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMACaptureCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMACaptureCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..OBJSuccess.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
Finished: 0 information, 0 warning and 31 error messages.
"..OBJSuccess.axf" - 31 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
8条回答
正点原子
1楼-- · 2019-07-20 20:39
帮顶
业未央
2楼-- · 2019-07-20 21:38
正点原子 发表于 2017-2-7 11:42
帮顶

我买的F429的板子在路上了,2.8寸的MCU的屏也可以用吧
yjw069
3楼-- · 2019-07-21 00:22
 精彩回答 2  元偷偷看……
业未央
4楼-- · 2019-07-21 03:08
 精彩回答 2  元偷偷看……
yjw069
5楼-- · 2019-07-21 08:13
业未央 发表于 2017-2-10 09:28
我的板子刚到,原来还没用过。25M的晶振有毛刺吗?

没有,只有32K的才有;手上有板子的话帮忙看看
为我的心
6楼-- · 2019-07-21 10:05
怎么都是来亮板子的, 没遇到过   C99可以打开 确定include路径正确 拷贝来的要重新设置   还有库
题主的问题没遇见过

一周热门 更多>