Browsing this Thread:
2 Anonymous Users
|
Re: 關於C30的問題的錯誤訊息
|
|
新會員
Joined
: 2007/8/15 21:58 最後登入時間
: 2007/8/30 14:59
Group:
註冊會員
Level : 1 HP : 0 / 0 MP : 0 / 34 EXP : 2
|
感激你的回覆解決我的問題
發表於: 2007/8/30 15:00
|
|
|
Re: 關於C30的問題的錯誤訊息
|
|
版主
Joined
: 2004/4/30 10:53 最後登入時間
: 2021/11/30 18:11
From CAE, Microchip
Group:
站務管理者 註冊會員
Level : 75 HP : 744 / 1861 MP : 5367 / 111011 EXP : 45
|
Compiler 找不到 PWM 的函數。
記的要把 libp30f4011-coff.a 的檔案加入 Project 裡的 Libeary Files 裡。
發表於: 2007/8/30 9:44
|
|
|
關於C30的問題的錯誤訊息
|
|
新會員
Joined
: 2007/8/15 21:58 最後登入時間
: 2007/8/30 14:59
Group:
註冊會員
Level : 1 HP : 0 / 0 MP : 0 / 34 EXP : 2
|
我在使用C30在Make時會一直出現如下build fail的錯誤不知道 是不是.h檔的問題我用的是p30f4011.h和pwm.h C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.o(.text+0xe): In function `Init_MCPWM': C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.c:55: undefined reference to `ConfigIntMCPWM' C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.o(.text+0x22):C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.c:60: undefined reference to `SetDCMCPWM' C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.o(.text+0x42):C:\Program Files\Microchip\smallsell\Exercise\EX15_1_MCPWM\EX15_1_MCPWM.c:70: undefined reference to `OpenMCPWM' BUILD FAILED: Wed Aug 29 10:32:04 2007
發表於: 2007/8/29 10:43
|
|
You can view topic.
你 不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.