summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* Changed the envvar name to MICROPY_MICROPYTHONAndrew Scheller2014-04-17
| | | As discussed in #504
* Stupid typoAndrew Scheller2014-04-16
|
* Allow the uPy used by run-tests to be overriddenAndrew Scheller2014-04-16
| | | | | with MICROPY_MP_PY envvar, in an analogous way to MICROPY_CPYTHON3 envvar. (the reason for this will be made clearer by a later PR)
* stmhal: Add pyb.have_cdc function to check if USB CDC device is enabled.Damien George2014-04-16
|
* stmhal: Fix USB CDC buffer overrun error.Damien George2014-04-16
| | | | | | Need to wait for the low-level USB driver to send the data over the USB in-endpoint before the buffer can be used again. This patch adds a check for this.
* Merge pull request #497 from lurch/build-32bitDamien George2014-04-16
|\ | | | | New config option MICROPY_FORCE_32BIT (defaulted to 0)
| * New config option MICROPY_FORCE_32BIT (defaulted to 0)Andrew Scheller2014-04-16
| | | | | | | | | | Makes it easier for 64-bit unix hosts to build 32-bit unix binaries (for testing)
* | tools: Fix up pybcdc.inf generation: new lines and hex digits.Damien George2014-04-16
| | | | | | | | | | | | | | | | | | Using Python's file open in 'r' mode opens it for text reading, which converts all new lines to \n. Could use 'rb' binary mode, but then don't have access to the string Template replacement functions. Thus, force the output to have '\\r\\n' ending. Also fix regex to match hex digits.
* | Merge pull request #498 from lurch/create-headers-from-filesDamien George2014-04-16
|\ \ | | | | | | Auto-generate the stmhal/pybcdc_inf header file from static files
| * | Auto-generate the stmhal/pybcdc_inf header file from static filesAndrew Scheller2014-04-16
| | | | | | | | | | | | | | | | | | The USB VID&PID are automatically extracted from usbd_desc_cdc_msc.c and inserted into pybcdc_inf.template, ensuring that the same USB IDs get used everywhere
* | | Merge pull request #499 from lurch/skip-travis-testsDamien George2014-04-16
|\ \ \ | | | | | | | | run-tests can now skip certain tests when run under Travis CI
| * | | run-tests can now skip certain tests when run under Travis CIAndrew Scheller2014-04-16
| |/ / | | | | | | | | | | | | See the `skip_travis_tests` variable. Fixes #495 (also tidied up usage of os.path.basename() function)
* / / stmhal: Fix C bindings of I2C.read/write.Damien George2014-04-16
|/ /
* | stmhal: Add I2C functions for pure master read/write.Damien George2014-04-16
| |
* | py: Add len(bytes).Damien George2014-04-15
| |
* | py: Add builtin functions bin and oct, and some tests for them.Damien George2014-04-15
| |
* | Merge pull request #496 from dhylands/fix-debug-usartDamien George2014-04-15
|\ \ | | | | | | Fix call to enable pyb_usart_global_debug.
| * | Fix call to enable pyb_usart_global_debug.Dave Hylands2014-04-15
| |/
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-04-15
|\|
| * Merge pull request #493 from aitjcize/patchDamien George2014-04-15
| |\ | | | | | | Move entry_table to separated header file.
| | * Rename header file.AZ Huang2014-04-15
| | |
| | * Move entry_table to separated header file.AZ Huang2014-04-15
| | |
* | | stmhal: Fix USB MSC so that it unmounts correctly on Mac OS X.Damien George2014-04-15
| | | | | | | | | | | | | | | | | | | | | Mac OS X sends a SCSI command to remove the medium when it unmounts a drive. If this command is not honoured, then OS X will automatically remount the drive, making it impossible to eject. This patch disables the USB MSC when the right SCSI command is sent.
* | | stmhal: Add ADC function to read data at a given frequency.Damien George2014-04-15
| | | | | | | | | | | | | | | | | | Reads ADC values into a bytearray (or similar) at a fixed rate. Needs a better name and improved API. Also fix up DAC dma function (which also needs a better name and API).
* | | stmhal: Add I2C.scan method, to scan all devices on the bus.Damien George2014-04-15
| | | | | | | | | | | | Simple way to find the address of an attached I2C device.
* | | stmhal: Add simple README.txt to freshly-created filesystem.Damien George2014-04-15
|/ /
* | travis: Move diffing back to after_failure command.Damien George2014-04-15
| | | | | | | | Need to click on icon at right to see the output.
* | py: Fix builtin hex to print prefix.Damien George2014-04-15
| | | | | | | | I was too hasty. Still a one-liner though.
* | py: Add hex builtin function.Damien George2014-04-15
| | | | | | | | A one-liner, added especially for @pfalcon :)
* | tests: Disable memoryerror.py test, since it fails on travis.Damien George2014-04-15
| | | | | | | | | | Would be good to test this, but need to find a way to optionally not running it when on travis.
* | travis: Diff output, hopefully this works.Damien George2014-04-15
| |
* | travis: Continue to debug tests output.Damien George2014-04-15
| | | | | | | | Seems that any commands in after_failure do not have stdout...
* | travis: More tests output debugging.Damien George2014-04-15
| |
* | stmhal: Wrap skin-named-usarts in PYBV10 #if.Damien George2014-04-15
| |
* | travis: More tests debugging.Damien George2014-04-15
| |
* | travis: Debugging failing tests.Damien George2014-04-15
| |
* | travis: On fail, cd to tests directory before diffing.Damien George2014-04-15
| |
* | Merge pull request #490 from redteam316/masterDamien George2014-04-15
|\ \ | | | | | | Fixed Travis-CI Build Status Link in README.md
| * | Fixed Travis-CI Build Status Link in README.mdJonathan Greig2014-04-14
| |/
* | travis: only build unix with gcc-4.7Andrew Scheller2014-04-15
| |
* | travis: build unix targets firstAndrew Scheller2014-04-15
| | | | | | because @pfalcon says so
* | Merge remote-tracking branch 'upstream/master' into patch-1Andrew Scheller2014-04-15
|\| | | | | | | | | Conflicts: .travis.yml
| * .travis.yml: Use gcc-4.7 to avoid broken codegeneration and failed tests.Paul Sokolovsky2014-04-15
| |
| * Merge pull request #486 from lurch/patch-1Paul Sokolovsky2014-04-15
| |\ | | | | | | Update .travis.yml to use python3.3
* | | Update .travis.ymlAndrew Scheller2014-04-15
| |/ |/| | | Check that the bare-arm, stmhal and unix-cpy ports at least remain compilable, even if we can only actually run tests against the unix port.
* | Update .travis.ymlAndrew Scheller2014-04-15
| | | | | | Seems like I'd inadvertently created invalid YAML!
* | Update .travis.ymlAndrew Scheller2014-04-15
| | | | | | Add diffing of failure logs
* | Update .travis.ymlAndrew Scheller2014-04-15
| | | | | | Doh, the shebang line for run-tests itself relies on `python3`
* | Update .travis.ymlAndrew Scheller2014-04-15
|/ | | This *might* fix it enough for all tests to run (maybe?)
* pip-micropython: Fix inverted condition.Paul Sokolovsky2014-04-15
|