Re: 關於將Code Size 當 ROM使用
|
||||
---|---|---|---|---|
新會員
|
#pragma code [name]
才對參照:
發表於: 2009/1/16 17:11
|
|||
|
關於將Code Size 當 ROM使用
|
||||
---|---|---|---|---|
新會員
|
想請問一下在MicroChip如何將Code Size來當ROM使用?
謝謝
發表於: 2009/1/12 11:14
|
|||
|
Re: 關於Halting build on first failure as requested.
|
||||
---|---|---|---|---|
新會員
|
果然如大大說的
更新到新的C30 Compile就可以了 感謝您的說明
發表於: 2009/1/9 11:53
|
|||
|
關於Halting build on first failure as requested.
|
||||
---|---|---|---|---|
新會員
|
第一次使用Microchip產品
下載了8.1版tool及使用C30 V1.32版Compile 從官網下載PIC24F系列Sample Code卻無法編譯 請問還要做啥設定嗎? ---------------------------------------------------------------------- Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' started. Preprocessor symbol `__DEBUG' is defined. Thu Jan 08 18:46:10 2009 ---------------------------------------------------------------------- Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "adcDrv1.c" -o"adcDrv1.o" -I"C:\Program Files\Microchip\MPLAB C30\include" -D__DEBUG -g -Wall adcDrv1.c:53:22: p24fxxxx.h: No such file or directory In file included from adcDrv1.c:55: adcDrv1.h:62: warning: '_ADC1Interrupt' is not a valid interrupt vector name adcDrv1.c: In function `initAdc1': adcDrv1.c:67: error: `AD1CON1bits' undeclared (first use in this function) adcDrv1.c:67: error: (Each undeclared identifier is reported only once adcDrv1.c:67: error: for each function it appears in.) adcDrv1.c:75: error: `AD1CON2bits' undeclared (first use in this function) adcDrv1.c:81: error: `AD1CON3bits' undeclared (first use in this function) adcDrv1.c:91: error: `AD1CHS' undeclared (first use in this function) adcDrv1.c:94: error: `AD1PCFG' undeclared (first use in this function) adcDrv1.c:95: error: `AD1PCFGbits' undeclared (first use in this function) adcDrv1.c:99: error: `AD1CSSL' undeclared (first use in this function) adcDrv1.c:101: error: `IFS0bits' undeclared (first use in this function) adcDrv1.c:102: error: `IEC0bits' undeclared (first use in this function) adcDrv1.c:105: error: `ODCAbits' undeclared (first use in this function) adcDrv1.c:106: error: `TRISAbits' undeclared (first use in this function) adcDrv1.c: In function `initTmr3': adcDrv1.c:122: error: `TMR3' undeclared (first use in this function) adcDrv1.c:123: error: `PR3' undeclared (first use in this function) adcDrv1.c:124: error: `IFS0bits' undeclared (first use in this function) adcDrv1.c:125: error: `IEC0bits' undeclared (first use in this function) adcDrv1.c:128: error: `T3CONbits' undeclared (first use in this function) adcDrv1.c: At top level: adcDrv1.c:138: warning: '_ADC1Interrupt' is not a valid interrupt vector name adcDrv1.c:138: warning: `no_auto_psv' attribute directive ignored adcDrv1.c: In function `_ADC1Interrupt': adcDrv1.c:142: error: `ADC1BUF0' undeclared (first use in this function) adcDrv1.c:151: error: `LATA' undeclared (first use in this function) adcDrv1.c:154: error: `IFS0bits' undeclared (first use in this function) Halting build on first failure as requested. ---------------------------------------------------------------------- Debug build of project `E:\Wayne\PIC24F Code\Using Timer3 to Start ADC\CE_ADTMR3.mcp' failed. Preprocessor symbol `__DEBUG' is defined. Thu Jan 08 18:46:10 2009 ---------------------------------------------------------------------- BUILD FAILED
發表於: 2009/1/8 18:16
Edited by B on 2009年01月08日 18:49:59
|
|||
|