该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

----------------------------------------------------------------------

Debug build of project `C:\dsPIC\test.mcp' started.

Preprocessor symbol `__DEBUG' is defined.

Mon Jun 23 13:30:35 2014

----------------------------------------------------------------------

Make: The target "C:\dsPIC\kadai00_1.o" is out of date.

Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 -x c -c "kadai00_1.c" -o"kadai00_1.o" -D__DEBUG -g -Wall

kadai00_1.c:4: warning: return type defaults to `int'

kadai00_1.c: In function `main':

kadai00_1.c:6: warning: implicit declaration of function `printf'

kadai00_1.c:7: warning: control reaches end of non-void function

kadai00_1.c:7:2: warning: no newline at end of file

Make: The target "C:\dsPIC\test.cof" is out of date.

Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4012 "kadai00_1.o" -o"test.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",-Tp30F4012.gld,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,-Map="test.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 0xfd0 0x17b8 (6072)

.const 0x10d0 0xa 0xf (15)

.dinit 0x10da 0xbe 0x11d (285)

.isr 0x1198 0x2 0x3 (3)

Total program memory used (bytes): 0x1a61 (6753) 13%

Data Memory Usage

section address alignment gaps total length (dec)

------- ------- -------------- -------------------

.ndata 0x800 0 0x88 (136)

.ndata 0x888 0 0x22 (34)

.ndata 0x8aa 0 0x12 (18)

.ndata 0x8bc 0 0x6 (6)

.nbss 0x8c2 0 0x2 (2)

.ndata 0x8c4 0 0x2 (2)

.nbss 0x8c6 0 0x2 (2)

.dconst 0x8c8 0 0x8 (8)

Total data memory used (bytes): 0xd0 (208) 10%

Dynamic Memory Usage

region address maximum length (dec)

------ ------- ---------------------

heap 0 0 (0)

stack 0x8d0 0x730 (1840)

Maximum dynamic memory (bytes): 0x730 (1840)

C:\Program Files\Microchip\MPLAB C30\bin\pic30-coff-ld.exe Error: A heap is required, but has not been specified

C:\Program Files\Microchip\MPLAB C30\bin\..\lib\libpic30-coff.a(write.o)(.libc+0x16): In function `write':

c:\pic30-build\build_20061107\src\pic30-libs\src\write.c:29: undefined reference to `U2MODEbits'

C:\Program Files\Microchip\MPLAB C30\bin\..\lib\libpic30-coff.a(write.o)(.libc+0x18):c:\pic30-build\build_20061107\src\pic30-libs\src\write.c:30: undefined reference to `U2STAbits'

C:\Program Files\Microchip\MPLAB C30\bin\..\lib\libpic30-coff.a(write.o)(.libc+0x1a):c:\pic30-build\build_20061107\src\pic30-libs\src\write.c:31: undefined reference to `U2TXREG'

C:\Program Files\Microchip\MPLAB C30\bin\..\lib\libpic30-coff.a(write.o)(.libc+0x1c):c:\pic30-build\build_20061107\src\pic30-libs\src\write.c:32: undefined reference to `U2BRG'

Link step failed.

----------------------------------------------------------------------

Debug build of project `C:\dsPIC\test.mcp' failed.

Preprocessor symbol `__DEBUG' is defined.

Mon Jun 23 13:30:37 2014

----------------------------------------------------------------------

BUILD FAILED

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐