Dear all,
Please help me overcome this issue
.
I have encountered an error when building uTaskerv1.4 with KDS 3.
The error says:
makefile:97: recipe for target 'post-build' failedSince this is my first project with uTasker I would like to share the steps I've done:
1. Downloaded and installed KDS version 3.
2. Replaced mbed firmware with PEMicro OpenSDA v2.0 firmware for a FRDM K64F board
I think firmware replacement was ok since I was able to develop from scratch a new application to blink an LED using KDS and successfully flash it and debug it using PEMicro OpenSDA v2.0
3. Unzip uTaskerKinetisV1.4.7 and open it with Visual Studio 2015.
4. In
config.h I commented
KINETIS_KE00 and un-commented
KINETIS_K64. I also enabled Ethernet interface.
5. Build and simulated it under Visual Studio 2015 was ok.
6. Copy the project in a different folder and followed the steps for KDS found on:
http://www.utasker.com/kinetis/compilers.html#KDS- delete .settings folder and all .* files and copy the .settings and all .* files from uTaskerKinetisV1.4.7\Applications\uTaskerV1.4\KinetisDesignStudio\Project_Settings
7. import program
- checked if cortex-m4 is selected
-linker modified to: "${uTaskerLinkerScripts}/K_1M_256.ld"
8. Triggered Built with option : uTaskerV1.4_FLASH
Received the error:
recipe for target 'post-build' failed.
I tried the whole procedure for several times and I got the same error.
Some text that I got within KDS console can be found bellow:
Building target: uTaskerV1.4.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -T "C:/Users/Z210/Desktop/utasker KDS/uTaskerKinetisV1.4.7/Applications/uTaskerV1.4/KinetisCodeWarrior/Linker_Files/K_1M_256.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,"uTaskerV1.4.map" -o "uTaskerV1.4.elf" ./uTasker/utFAT/mass_storage.o ./uTasker/uGLCDLIB/GLCD.o ./uTasker/uGLCDLIB/LCD.o ./uTasker/MODBUS/MODBUS.o ./uTasker/Driver.o ./uTasker/GlobalTimer.o ./uTasker/SSC_drv.o ./uTasker/Tty_drv.o ./uTasker/USB_drv.o ./uTasker/Watchdog.o ./uTasker/can_drv.o ./uTasker/eth_drv.o ./uTasker/iic_drv.o ./uTasker/low_power.o ./uTasker/uFile.o ./uTasker/uMalloc.o ./uTasker/uNetwork.o ./uTasker/uTasker.o ./stack/Ethernet.o ./stack/NetBIOS.o ./stack/arp.o ./stack/dhcp.o ./stack/dns.o ./stack/ftp.o ./stack/ftp_client.o ./stack/http.o ./stack/icmp.o ./stack/igmp.o ./stack/ip.o ./stack/ip_utils.o ./stack/pop3.o ./stack/ppp.o ./stack/smtp.o ./stack/snmp.o ./stack/tcp.o ./stack/telnet.o ./stack/tftp.o ./stack/udp.o ./stack/webutils.o ./stack/zero_config.o ./Hardware/Kinetis/kinetis.o ./Applications/uTaskerV1.4/KeyScan.o ./Applications/uTaskerV1.4/NetworkIndicator.o ./Applications/uTaskerV1.4/application.o ./Applications/uTaskerV1.4/debug.o ./Applications/uTaskerV1.4/modbus_app.o ./Applications/uTaskerV1.4/snmp_mib_handlers.o ./Applications/uTaskerV1.4/usb_application.o ./Applications/uTaskerV1.4/webInterface.o
Finished building target: uTaskerV1.4.elf
make --no-print-directory post-build
"C:/Users/Z210/Desktop/utasker KDS/uTaskerKinetisV1.4.7/Applications/uTaskerV1.4/KinetisDesignStudio/uTaskerV1.4_FLASH/generate.bat
c:/freescale/kds_v3/eclipse/../bin/sh: syntax error: unterminated quoted string
makefile:97: recipe for target 'post-build' failed
make[1]: [post-build] Error 2 (ignored) Invoking: Cross ARM GNU Create Flash Image
arm-none-eabi-objcopy -O ihex "uTaskerV1.4.elf" "uTaskerV1.4.hex"
Finished building: uTaskerV1.4.hex
Invoking: Cross ARM GNU Create Listing
arm-none-eabi-objdump --source --all-headers --demangle --line-numbers --wide "uTaskerV1.4.elf" > "uTaskerV1.4.lst"
Finished building: uTaskerV1.4.lst
Invoking: Cross ARM GNU Print Size
arm-none-eabi-size --format=berkeley "uTaskerV1.4.elf"
text data bss dec hex filename
75107 88 2165 77360 12e30 uTaskerV1.4.elf
Finished building: uTaskerV1.4.siz
18:31:13 Build Finished (took 21s.548ms)