.axf disappearance

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.axf disappearance

722 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gusika on Tue Nov 01 12:30:44 MST 2011
I received the following message:
-----------------------------------------
Building target: hihi.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="hihi.map" -Xlinker --gc-sections -Xlinker --allow-multiple-definition -mcpu=cortex-m0 -mthumb -T hihi.ld -L "C:\hihi\src" -o"hihi.axf"  ./src/cr_startup_lpc12xx.o ./src/main.o  
Finished building target: hihi.axf

make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "hihi.axf"; # arm-none-eabi-objcopy -O binary "hihi.axf" "hihi.bin" ; checksum -p LPC1225_301 -d "hihi.bin";
c:\nxp\LPCXpresso_4.0.6_152\lpcxpresso\tools\bin\arm-none-eabi-size.exe: 'hihi.axf': No such file
make[1]: [post-build] Error 1 (ignored)
-----------------------------------------
how can ? thx, Bela
0 Kudos
4 Replies

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kannanataraj on Thu Feb 14 19:17:18 MST 2013
Right click on project properties
>>Build configuration
>>>>Set active
>>>>>>>>Release

Hope this will help u
0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Nov 02 06:31:49 MST 2011
Perhaps you should post the projects that are failing. I have never had a problem with the wizards or with the examples. It seems like you are adding some code of your own and probably haven't set the project include paths.
0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gusika on Wed Nov 02 03:18:18 MST 2011
From a serious error. There are two operating systems I tried, one worse than the other. From one moment to another, resulting in failure.

w7/x64-re fresh installation: create new workspaces, create new project, LPCXpressoC, select processor, etc. Open main.c file, click Build command is the first error is: "Building file: .. / src / aeabi_romdiv_patch.s" file not found error

VBox/XP/32-re fresh installation: create new workspaces, create new project, LPCXpressoC, select processor, etc. Open main.c file, click on build: the last command is an error: "Performing post-build steps," file not found error
But before it was set up. AXF file!

Simply doing what is impossible in this program.
0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Nov 02 02:48:10 MST 2011
The first thing to do is check where the .axf file has been created on your hard drive by looking in the project explorer view. Normally this will be inside the Debug or Release subdirectory (depending upon whether you are doing a Debug or Release configuration build).

I would also suggest importing some of the standard examples for your part, and checking that they build correctly. If they do, then this would suggest that you have managed to do something "strange" with your own project - so do a compare and constrast.

Regards,
CodeRedSupport
0 Kudos