We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I am a student taking Embedded Systems at a university and I am trying to get my code to compile using uVision. I am using a FreeScale FRDM-KL25Z. When I select rebuild or batch build to try to create all my .o files it states:
Build target 'Target 1' ".\Objects\Lab1.axf" - 0 Error(s), 0 Warning(s). Project build/rebuild aborted.
I am trying to compile both .c and .s files inside Source Group 1, and am not receiving any errors when I "translate" them individually. But the linker and/or compiler is not creating my Lab1.axf file. I suspect it has something to do with the build order of my project. I have closed and reopened uVision several times, and tried renaming main.c to Lab1.c to see if that was causing any errors, which was not the case.
Project Details: From the software packs I am using Freescale -> MKL25z128xxx4 In my Source Group 1 I have 3 files, Lab1.c, as.s, and mycap.s. I selected CMSIS CORE 3.40.0 and Device Startup 1.0.0 when I created the project. In debug I am using Pemicro OSJtag/Multilink/Cyclo. In settings for the debugger my interface is OpenSDA using USB1 OpenSDA In Output I have Create HEX File checked, and selected the Objects folder for my objects Everywhere else in Options I have the defaults set (I made sure to go through and click defaults on everything else)
When I click Flash -> Download it says Error: Flash Download failed - Could not load file (which stems from the .axf file not being generated)
If anyone has any ideas of what I need to do to get this program to finish compiling and create the .axf file it would be much appreciated.