Using LPCOpen in keil with KEIL USB library

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using LPCOpen in keil with KEIL USB library

1,208件の閲覧回数
dolphinapadana
Contributor I

I'm using lpc1788 and KEIL 5.2.2. I want to use LPCOpen drivers in keil and also use KEIL USB library (and other libraries such as graphics library).

I have problem in the project because of LPCOpen conflicts with keil cmsis header (LPC17X_8X.h) and startup file (system_LPC177x_8x.h).

Does any body use LPCOpen in Keil with keil package libraries?

(Sorry for my bad english)

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

926件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Dolphin Apadana,

The LPC177x and LPC178x CMSIS-Compliant standard peripheral firmware driver library is the choice if you want to the KEIL USB library.

LPC177x and LPC178x CMSIS-Compliant Standard Peripheral Firmware Driver Library (Keil, IAR) | www.LP...

Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

926件の閲覧回数
dolphinapadana
Contributor I

Tank you for your answer.

Because i want to migrate to LPC4357 MCU and because of optimizations in LPCOpen (I like the inline functions) i decide to use LPCOpen.

I use a workaround for my project, I replace all the conflicts of CMSIS library in LPCOpen. for example i replace LPC_GPIO to CHIP_LPC_GPIO

so from this time i use CHIP_LPC_XXX keyword in my code.

The only bad thing is that i should do this work for all the other LPCOpen libraries i will use in future (Like LPC43XX).

0 件の賞賛
返信