SDK demo project cannot compile

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

SDK demo project cannot compile

1,310件の閲覧回数
laudexter
Contributor I

Hi, 

I followed the installation instructions from, FRDM-KW41Z|Freedom Development Kit|NXP , which was linked to in my quick start guide. however, the wireless example demo codes do not run properly as expected.

When building the ble_thread_router_wireless_uart example project, I get a compilation error, in ble_controller_task.c and app_config.c saying that 2 variables are declared not inside a function.

I haven't even edited the code, so I'm not sure why there is a syntax error.

Can I check if anyone knows what is the problem?

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,182件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Lau,

I compiled the ble_thread_router_wireless_uart project. I didn't find any problem. So maybe you can try to download the SDK package again and recompile it.

Regards

0 件の賞賛
返信

1,182件の閲覧回数
laudexter
Contributor I

Hi Jing Pan,

Thanks for the reply. I have tried re-downloading the SDK from the link provided at FRDM-KW41Z|Freedom Development Kit|NXP , but the same thing still happens.

A similar build error happens when I run any other of the wireless_examples, but the driver_examples and the demo_apps run fine.

I also realized that I could not find a main function in any of my wireless examples. I think that was probably what caused the build error.

Do you have any idea what might have caused this?

Thanks!

0 件の賞賛
返信

1,182件の閲覧回数
laudexter
Contributor I

Hi guys,

I figured out the problem. For whatever reason, the sdk provided at FRDM-KW41Z|Freedom Development Kit|NXP  did not work for me. I had to go to Welcome to MCUXpresso | MCUXpresso Config Tools  and use the SDK builder provided there. That eventually worked.

I hope this helps anyone with similar problems.


0 件の賞賛
返信