10 years, 10 months ago.

Not support for FRDM-K64F?

I tried to compile it for FRDM-K64F, but failed with following error info:

Warning: Missing return statement at end of non-void function "mbed::parse_pins" in "mbed-rpc/parse_pins.cpp", Line: 82, Col: 5 Error: Expected a declaration in "mbed-rpc/parse_pins.cpp", Line: 82, Col: 7 Warning: Parsing restarts here after previous syntax error in "mbed-rpc/parse_pins.cpp", Line: 97, Col: 14 Error: Expected a declaration in "mbed-rpc/parse_pins.cpp", Line: 100, Col: 2

So i checked "parse_pins.cpp", and i found defination for (TARGET_K64F).

Any of you compile it successfully?

Thanks~

Question relating to:

Server that executes RPC commands through HTTP. http, rpc, server

And I then mofidy:

  1. elif defined(TARGET_KL25Z)

to:

  1. elif defined(TARGET_KL25Z) || defined(TARGET_K64F)

it can compile without error.

posted by Peng Cheng 13 Oct 2014

Many programs are predefined for certain platforms which is not good practise , more if it's not stated whihc platform does it support. Feel free to send a pull request, once you add a new one. Document what is supports and how to add a new one. Thanks

The program above was created last year when there was only one platform, it just needs an update to the latest libs and platforms.

posted by Martin Kojtal 13 Oct 2014
Be the first to answer this question.