Page 1 of 1

MPLAB C30

PostPosted: Sat Apr 10, 2021 5:43 am
by Patel
I am facing issue while compiling code as the error is as below :
Release build of project `G:\mplab\micro\sampleof microchip\h\mp_program\mp_ajita.mcp' started.
Language tool versions: pic30-as.exe v3.31, pic30-as.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
Sat Apr 10 10:07:14 2021
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-as.exe" -mcpu=30F4011 -x c -c "mp_ajita.c" -o"mp_ajita.o" -g -ffunction-sections -ansi -Wall
C:\Program Files (x86)\Microchip\MPLAB C30\bin\bin/pic30-coff-as.exe: unrecognized option `-mcpu=30F4011'
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `G:\mplab\micro\sampleof microchip\h\mp_program\mp_ajita.mcp' failed.
Language tool versions: pic30-as.exe v3.31, pic30-as.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
Sat Apr 10 10:07:15 2021
----------------------------------------------------------------------
BUILD FAILED