• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::

論壇索引


Board index » All Posts (austin1211)




Build Option 設定問題
#71
高級會員
高級會員


請教線上先進,
我在我的專案中使用了一些套件程式,比如TCP/IP等等
我也在我的專案資料夾中建立子資料夾放置一些我的Drivers

但是我也會去修改Driver

我寫程式時會完成依各階段就將專案資料儲存不再動

新增供能會複製就專案成一個新名稱的專案名字

比如
PIC30_1
PIC30_2
PIC30_3 等等

但是每次複製後就要去修改 Build Option 的 Include 路徑
,
我要問的是
設定 Include路徑有沒有變數可以直接取得目前的專案路徑
我就可以不用經常修改 Build Options 設定

謝謝

發表於: 2009/3/26 16:04
Austin
頂部


Re: 使用C30 編譯持出現警告
#72
高級會員
高級會員


感謝 Ryang 前輩
對於 Microchip 的MCU 剛開始用
很多編譯或是使用語法和我之前所學不同
所以還是一頭霧水

感謝您的解答.

發表於: 2009/3/26 15:16
Austin
頂部


使用C30 編譯持出現警告
#73
高級會員
高級會員


各位先進您好,
我使用 MPLAB 8.20a C30 編譯我的程式
我的程式中使用
#include <p30f6010A.h>
#include <timer.h>

void __attribute__ ((__interrupt__)) _T1Interrupt(void)
{
.
.
.
}

void Timers_Initial( void )
{
ConfigIntTimer1( T1_INT_PRIOR_6 & T1_INT_ON ) ;
OpenTimer1( T1_ON & T1_IDLE_STOP & T1_GATE_OFF & T1_PS_1_1 & T1_SOURCE_INT , 65535 ) ;
DisableIntT1 ;
}

以上是使用Microchip的 Library

但是編譯時會出現
The dsPIC language tools key is not in the registry.
pic30-coff-cc1.exe: warning: Options have been disabled due to missing license
MAIN-090308.C: In function '_T1Interrupt':
MAIN-090308.C:165: warning: PSV model not specified for '_T1Interrupt';
assuming 'auto_psv' this may affect latency


請教
有辦法避免嗎????



發表於: 2009/3/26 14:40
Austin
頂部



« 1 ... 5 6 7 (8)



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------