我正在将代码合并为一个基本的 DFU 结构、UART 接口,
,当我移动我的代码并替换"Blinky" 的 main.c 时。
编译器错误信息将显示如下。
但如果我屏蔽 UART 异步 RX 读取和 cJSON. 编纂者可以通过
请教
谢谢
/Applica
tions/ModusToolbox/tools_3.2/gcc/bin/.../lib/gcc/arm-none-eabi/11.3.1/.../..../....././arm-none-eabi/bin/ld: 地址 0x100301c4 of /Users/andyjery/mtw1/DFU_EV2_PowerKit/blinky_cm4/build/APP_CY8CKIT-062S4/Debug/blinky_cm4.elf section `.text' is not within region `flash_app1'.
/Applications/ModusToolbox/tools_3.2/gcc/bin/.../lib/gcc/arm-none-eabi/11.3.1/.../..../...../arm-none-eabi/bin/ld:/Users/andyjery/mtw1/DFU_EV2_PowerKit/blinky_cm4/build/APP_CY8CKIT-062S4/Debug/blinky_cm4.elf section `.ARM.exidx'不适合区域 "flash_app1"。
/Applications/ModusToolbox/tools_3.2/gcc/bin/.../lib/gcc/arm-none-eabi/11.3.1/.../..../....././arm-none-eabi/bin/ld: 地址 0x100301c4 of /Users/andyjery/mtw1/DFU_EV2_PowerKit/blinky_cm4/build/APP_CY8CKIT-062S4/Debug/blinky_cm4.elf section `.text' is not within region `flash_app1'.
/Applications/ModusToolbox/tools_3.2/gcc/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../arm-none-eabi/bin/ld: section .cy_app_signature LMA [000000001002fffc,000000001002ffff] 与 .text 部分重叠 LMA [0000000010020000,00000000100301c3]
/Applications/ModusToolbox/tools_3.2/gcc/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../arm-none-eabi/bin/ld: `flash_app1'区域溢出 0 个字节
collect2: error: ld returned 1 exit status
make[4]:*** [/Users/andyjery/mtw1/DFU_EV2_PowerKit/blinky_cm4/build/APP_CY8CKIT-062S4/Debug/blinky_cm4.elf] *** 错误 1
make[3]:*** [secondstage_build] 错误 2
make[2]:*** [build] 错误 2
make[1]:*** [build_application_bootstrap] 错误 2
make:*** [secondstage_build] 错误 2