5 years, 4 months ago.

What is inside the bin file exactly?

How do we generate bin file? I am using K64F It occurs a fail.txt saying "bad extension file"

Question relating to:

1 Answer

5 years, 4 months ago.

The .bin in the zip file is the old HTTP server with RPC hander compiled for the LPC1768. The mbed libraries have changed significantly since then. Originally it was this code: https://developer.mbed.org/users/MichaelW/code/RPC_HTTP/

A more up to date version of a HTTP server working with RPC is here: https://developer.mbed.org/users/sarahmarshy/code/RPC_HTTP/ To make the JavaScript example work you would need to set up the HTTP server so that it can serve files from a local filesystem and set up the RPC handler.

Further information is here: https://developer.mbed.org/cookbook/Interfacing-Using-RPC