Problem audio speker example

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

Problem audio speker example

1,784件の閲覧回数
bastiabrn
Contributor I

Hi,

 

i'm trying to build the example audio_speaker on USB Host with CodeWarrior 10.2 and MQX 3.8  using K60N512 but it's not compiling correctly.

where is the problem of this example code?

 

thanks in advance for reply

 

 

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

1,495件の閲覧回数
bastiabrn
Contributor I

Hi,

 

thank's for patience.

i've followed this guide http://shenlong.myvnc.com/webhd/download/usi/doc/tools/cw/FSL_MQX_in_CW_10_x.pdf for import and build mqx library, but the problem is still unresolved.

 

what can i do?

 

thanks 

 

0 件の賞賛
返信

1,495件の閲覧回数
bastiabrn
Contributor I

anyone can help me?

0 件の賞賛
返信

1,495件の閲覧回数
bastiabrn
Contributor I

Hi, 

 

thanks to reply and sorry for the inaccuracy of the first post.

When i  try to compile i have 34 errors, the main are that cannot open the library mfs.h, sh_mfs.h and part_mgr.h in the audio_speaker.c. I try to change "mfs.h" to <mfs.h> but it not works.

i don't think that the problem is in the setting of the codewarrior because the other example works well.

i configure build configuration-->set active--> int flash bedug

 

 

thanks in advance for reply

0 件の賞賛
返信

1,495件の閲覧回数
c0170
Senior Contributor III

Hi bastia,

rebuild all libraries needed to run the example. First of all, check if the mfs library has been built in your lib folder for your board and  a compiler. If it can't find headers, there are two possibilities which come to my mind. Lib was not built or the paths are missing.

I usually rebuild the libraries I use before i run the application, to reflect the latest changes made in code.

 

Regards,

MartinK

0 件の賞賛
返信

1,495件の閲覧回数
c0170
Senior Contributor III

Hi bastia,

 

It's really hard to quess what's your compilation error and in which file.

Anyway, Speaker example in host usb folder builds without any error but only the flash target. It does not have adequate size of RAM to run this example. If you run into different problem, describe it more in detail.

 

Regards,

MartinK

0 件の賞賛
返信