V1
À la compilation se passe l'erreur
Comment on peut corriger ?
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "adc10.c" -o"adc10.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "capture.c" -o"capture.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "commands.c" -o"commands.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "encoder.c" -o"encoder.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "main.c" -o"main.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "pid.c" -o"pid.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "pwm.c" -o"pwm.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "save-res.c" -o"save-res.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "serial.c" -o"serial.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "test.c" -o"test.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "timer1.c" -o"timer1.o" -g -Wall
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -c "DataEEPROM.s" -o"DataEEPROM.o" -Wa,-g
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 "adc10.o" "capture.o" "commands.o" "encoder.o" "main.o" "pid.o" "pwm.o" "save-res.o" "serial.o" "test.o" "timer1.o" "DataEEPROM.o" -o"dspic-servo.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="D:\ProDspic\firmware\p30f4012.gld",-Map="dspic-servo.map",--report-mem
Program Memory Usage
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.reset 0 0x4 0x6 (6)
.ivt 0x4 0x7c 0xba (186)
.aivt 0x84 0x7c 0xba (186)
.text 0x100 0x3b72 0x592b (22827)
.const 0x3c72 0x612 0x91b (2331)
.dinit 0x4284 0x1b4 0x28e (654)
.isr 0x4438 0x2 0x3 (3)
__FOSC 0xf80000 0x2 0x3 (3)
__FWDT 0xf80002 0x2 0x3 (3)
__FBORPOR 0xf80004 0x2 0x3 (3)
Total program memory used (bytes): 0x665a (26202) 53%
Data EEPROM Memory Usage
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
_00e8acb049c8a0c8 0x7ffc00 0x5e 0x5e (94)
Total data EEPROM used (bytes): 0x5e (94) 9%
Data Memory Usage
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0x8e (142)
.ndata 0x88e 0 0x2 (2)
.nbss 0x890 0 0x2 (2)
.data 0x892 0 0xd0 (208)
.dconst 0x962 0 0x32 (50)
.data 0x994 0 0x9a (154)
.dconst 0xa2e 0 0x8 (8)
.data 0xa36 0 0xa (10)
.bss 0xa40 0 0x2 (2)
.data 0xa42 0 0x2 (2)
.dconst 0xa44 0 0x2 (2)
.data 0xa46 0 0x2 (2)
Total data memory used (bytes): 0x248 (584) 28%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0 0 (0)
stack 0xa48 0x5b8 (1464)
Maximum dynamic memory (bytes): 0x5b8 (1464)
c:\program files\microchip\mplab c30\bin\bin\pic30-coff-ld.exe Error: A heap is required, but has not been specified
Link step failed.
BUILD FAILED: Tue Mar 24 13:58:57 2009