Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 1 month ago.
Keil uVision compilation problem
Hi, this is Akif, I have a problem with Keil uVision v5.26.2. Exported default blinky project using f303k8 for Keil. When I try to compile the project, Keil gives me an error as follows,
.\BUILD\f072.axf: error: L6031U: Could not open scatter description file /filer/web_data/repo_builds/4/333/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/stm32f072rb.sct: No such file or directory
I tried a different boards (f401re and f072), exporting an example project and compiling it, but no luck.
Best regards and thanks in advance.
Question relating to:
3 Answers
5 years, 5 months ago.
WTF? 7 months passed and nothing done. The same error: .\BUILD\HSP_PMIC_Demo.axf: error: L6031U: Could not open scatter description file /filer/web_data/repo_builds/4/291/TARGET_MAX32620HSP/TOOLCHAIN_ARM_STD/MAX32620.sct: No such file or directory
6 years, 1 month ago.
Hi Akif,
Unfortunately you have hit a defect that we have raised with the tools team. The project is referencing a scatterfile that wasn't generated by the exporter so you will have to set this manually through the uVision project properties as shown in the attachment. If you don't see the proper file generated (link_script.sct
) in the project root folder, you will have to select the one for your target from the Mbed folder (under mbed-os\targets\TARGET_STM\TARGET_STM32F0 \TARGET_NUCLEO_F072RB\device\TOOLCHAIN_ARM_STD
).
We apologize for the inconvenience and will get this fixed soon.
Regards,
Ralph, Team Mbed
5 years, 9 months ago.
this is not solving the problem..... after changing the path in linker to C:\Users\LNMIIT\Downloads\mbed_blinky_uvision5_lpc4088\mbed_blinky\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD
I am getting * Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'mbed_blinky' linking... .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(7): error: L6226E: Missing base address for region extern. .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(7): error: L6292E: Ignoring unknown attribute 'C' specified for region extern. .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(10): error: L6226E: Missing base address for region uint32_t. .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(10): error: L6292E: Ignoring unknown attribute 'reserved_stack_size' specified for region uint32_t. .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h: Error: L6630E: Invalid token start expected number or ( but found ) at position 32 on line 10 .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(13): error: L6228E: Expected '{', found '}...'. .\mbed\TARGET_LPC4088\TARGET_NXP\TARGET_LPC408X\device\TOOLCHAIN_ARM_STD\sys_helper.h(13): error: L6228E: Expected '}', found 'EOF'. Not enough information to list image symbols. Not enough information to list the image map. Finished: 2 information, 0 warning and 7 error messages. ".\BUILD\mbed_blinky.axf" - 7 Error(s), 0 Warning(s). Target not created.