Skip to content

Added option to build rpc library. closes #1426 #1427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2015
Merged

Added option to build rpc library. closes #1426 #1427

merged 1 commit into from
Nov 20, 2015

Conversation

justbuchanan
Copy link
Contributor

Here's my attempt at fixing #1426, which I filed earlier. This PR adds a --rpc option to build.py and make.py that does the same thing as similar flags for the other libraries.

Here's what I get when I run the build script now:

$ python2 workspace_tools/build.py --mcu=LPC1768 --tool="GCC_ARM" --rpc

[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building library CMSIS (LPC1768, GCC_ARM)
Building library MBED (LPC1768, GCC_ARM)
Building library RPC (LPC1768, GCC_ARM)

Completed in: (0.02)s

Build successes:
  * GCC_ARM::LPC1768

And the outputs in the build dir seem to show that it works:

$ tree build/rpc 
build/rpc
├── Arguments.h
├── mbed_rpc.h
├── parse_pins.h
├── RpcClasses.h
├── RPCFunction.h
├── rpc.h
├── RPCVariable.h
└── TARGET_LPC1768
    └── TOOLCHAIN_GCC_ARM
        └── librpc.a

2 directories, 8 files

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 16, 2015

Hi, can you please sign http://developer.mbed.org/contributor_agreement/?

@justbuchanan
Copy link
Contributor Author

Sure thing, just did!

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 16, 2015

Thanks

LGTM

0xc0170 added a commit that referenced this pull request Nov 20, 2015
Added option to build rpc library. closes #1426
@0xc0170 0xc0170 merged commit 2eb940b into ARMmbed:master Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants