A small script to demonstrate the usage of the mbed build service.
Example for using the mbed compile API
Prerequisites
- An account at developer.mbed.org (you will be asked for your password in order to compile) Get an account
- Python
- Python requests
On MacOS X you can install python requests as follows
install python requests on OS X
sudo easy_install requests
Usage
usage example for mbed API
python mbedapi.py --repo http://developer.mbed.org/users/dan/code/pubtest/ --user JonnyA --api http://developer.mbed.org --platform mbed-LPC1768 --destdir /tmp/ --debug 2
History
Add task_id parameter to binary download
2015-07-03, by stevep [Fri, 03 Jul 2015 15:58:46 +0100] rev 3
Add task_id parameter to binary download
Update URLs to point to developer.mbed.org
2015-03-02, by Jonathan Austin [Mon, 02 Mar 2015 15:25:34 +0000] rev 2
Update URLs to point to developer.mbed.org
Data gets lost in the redirect from mbed.org-> developer.mbed.org,
which leaves authentication failing:
DEBUG:root:Authorization Required
...
Exception: Error while talking to the mbed API
This change returns the example script to working state.
added symbols support
2014-05-23, by Dan Ros [Fri, 23 May 2014 11:26:06 +0100] rev 1
added symbols support
Added file
2014-05-13, by $SUDO_USER [Tue, 13 May 2014 17:05:58 +0100] rev 0
Added file