aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-17stmhal: Fix 64-byte USB packet bug properly.Damien George
A 64-byte packet is now followed by a 0-byte packet if there is nothing more to send. This flushes the USB endpoint.
2014-04-16stmhal: Replace magic number 3 with CDC_IN_EP define.Damien George
2014-04-16Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-04-16stmhal: Improve flash storage cache management.Damien George
Internal flash used for the filesystem is now written (from the cache) only after a 5s delay, or when a file is closed, or when the drive is unmounted from the host. This delay means that multiple writes can accumulate in the cache, and leads to less writes to the flash, making it last longer. It's implemented by a high-priority interrupt that takes care of flash erase and write, and flushing the cache. This is still only an interim solution for the flash filesystem. It eventually needs to be replaced with something that uses less RAM for the cache, something that can use more of the flash, and something that does proper wear levelling.
2014-04-16Merge pull request #503 from lurch/patch-1Paul Sokolovsky
fix tests/bytecode/README to match contents of tests/bytecode/run-tests
2014-04-16fix README to match contents of run-testsAndrew Scheller
2014-04-16stmhal: Add pyb.have_cdc function to check if USB CDC device is enabled.Damien George
2014-04-16stmhal: Fix USB CDC buffer overrun error.Damien George
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.
2014-04-16Merge pull request #497 from lurch/build-32bitDamien George
New config option MICROPY_FORCE_32BIT (defaulted to 0)
2014-04-16tools: Fix up pybcdc.inf generation: new lines and hex digits.Damien George
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.
2014-04-16Merge pull request #498 from lurch/create-headers-from-filesDamien George
Auto-generate the stmhal/pybcdc_inf header file from static files
2014-04-16Merge pull request #499 from lurch/skip-travis-testsDamien George
run-tests can now skip certain tests when run under Travis CI
2014-04-16stmhal: Fix C bindings of I2C.read/write.Damien George
2014-04-16run-tests can now skip certain tests when run under Travis CIAndrew Scheller
See the `skip_travis_tests` variable. Fixes #495 (also tidied up usage of os.path.basename() function)
2014-04-16Auto-generate the stmhal/pybcdc_inf header file from static filesAndrew Scheller
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
2014-04-16New config option MICROPY_FORCE_32BIT (defaulted to 0)Andrew Scheller
Makes it easier for 64-bit unix hosts to build 32-bit unix binaries (for testing)
2014-04-16stmhal: Add I2C functions for pure master read/write.Damien George
2014-04-15py: Add len(bytes).Damien George
2014-04-15py: Add builtin functions bin and oct, and some tests for them.Damien George
2014-04-15Merge pull request #496 from dhylands/fix-debug-usartDamien George
Fix call to enable pyb_usart_global_debug.
2014-04-15Fix call to enable pyb_usart_global_debug.Dave Hylands
2014-04-15Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-04-15stmhal: Fix USB MSC so that it unmounts correctly on Mac OS X.Damien George
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.
2014-04-15stmhal: Add ADC function to read data at a given frequency.Damien George
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).
2014-04-15stmhal: Add I2C.scan method, to scan all devices on the bus.Damien George
Simple way to find the address of an attached I2C device.
2014-04-15stmhal: Add simple README.txt to freshly-created filesystem.Damien George
2014-04-15Merge pull request #493 from aitjcize/patchDamien George
Move entry_table to separated header file.
2014-04-15Rename header file.AZ Huang
2014-04-15travis: Move diffing back to after_failure command.Damien George
Need to click on icon at right to see the output.
2014-04-15py: Fix builtin hex to print prefix.Damien George
I was too hasty. Still a one-liner though.
2014-04-15py: Add hex builtin function.Damien George
A one-liner, added especially for @pfalcon :)
2014-04-15tests: Disable memoryerror.py test, since it fails on travis.Damien George
Would be good to test this, but need to find a way to optionally not running it when on travis.
2014-04-15travis: Diff output, hopefully this works.Damien George
2014-04-15travis: Continue to debug tests output.Damien George
Seems that any commands in after_failure do not have stdout...
2014-04-15travis: More tests output debugging.Damien George
2014-04-15stmhal: Wrap skin-named-usarts in PYBV10 #if.Damien George
2014-04-15travis: More tests debugging.Damien George
2014-04-15travis: Debugging failing tests.Damien George
2014-04-15travis: On fail, cd to tests directory before diffing.Damien George
2014-04-15Merge pull request #490 from redteam316/masterDamien George
Fixed Travis-CI Build Status Link in README.md
2014-04-15Move entry_table to separated header file.AZ Huang
2014-04-15travis: only build unix with gcc-4.7Andrew Scheller
2014-04-15travis: build unix targets firstAndrew Scheller
because @pfalcon says so
2014-04-14Fixed Travis-CI Build Status Link in README.mdJonathan Greig
2014-04-15Merge remote-tracking branch 'upstream/master' into patch-1Andrew Scheller
Conflicts: .travis.yml
2014-04-15.travis.yml: Use gcc-4.7 to avoid broken codegeneration and failed tests.Paul Sokolovsky
2014-04-15Update .travis.ymlAndrew Scheller
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.
2014-04-15Merge pull request #486 from lurch/patch-1Paul Sokolovsky
Update .travis.yml to use python3.3
2014-04-15Update .travis.ymlAndrew Scheller
Seems like I'd inadvertently created invalid YAML!
2014-04-15Update .travis.ymlAndrew Scheller
Add diffing of failure logs