| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-10-04 | Merge pull request #889 from Vogtinator/master | Damien George | |
| Implement missing ARM emitter functions for viper | |||
| 2014-10-04 | Implement missing ARM emitter functions for viper | Fabian Vogt | |
| 2014-10-03 | py: Fix unix-cpy to compile with uint->mp_uint_t changes. | Damien George | |
| 2014-10-03 | py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. | Damien George | |
| This should pretty much resolve issue #50. | |||
| 2014-10-03 | py: Use UINT_FMT instead of %d. | Damien George | |
| 2014-10-03 | py: Convert [u]int to mp_[u]int_t where appropriate. | Damien George | |
| Addressing issue #50. | |||
| 2014-10-02 | drivers: Add NRF24L01 driver (written in pure Python). | Damien George | |
| Comes with test script. Copy both files to pyboard and run "import nrf24l01test". | |||
| 2014-10-02 | tests: Add simple CAN test. | Damien George | |
| 2014-10-02 | stmhal: Add basic CAN bus support. | Damien George | |
| 2014-10-02 | stmhal: Set is_enabled=false when creating UART object; fix doc typo. | Damien George | |
| 2014-10-02 | stmhal: Update help text. | Damien George | |
| Remove reference to pyb.gc; add reference to pyb.millis. There are lots of functions not listed when you run help(), but it would be too much to list them all, so we list only some basic, useful ones. Addresses issue #846. | |||
| 2014-10-01 | Enable device keyword option when running pyboard.py --tests and run-tests ↵ | blmorris | |
| --pyboard | |||
| 2014-10-01 | unix: Do a proper clean-up on sys.exit/SystemExit. | Damien George | |
| Addresses issue #859. | |||
| 2014-10-01 | Proposed fix for USB Mass Storage. | Dave Hylands | |
| 2014-09-30 | tools: Add network build to auto-build script. | Damien George | |
| 2014-09-30 | stmhal: Enable patch_program in cc3k driver, with key. | Damien George | |
| 2014-09-30 | stmhal: Fix wiznet5k init of SPI bus. | Damien George | |
| 2014-09-30 | drivers, cc3000: Wrap exported functions in a macro for renaming. | Damien George | |
| 2014-09-30 | drivers, wiznet5k: Wrap exported functions in a macro for renaming. | Damien George | |
| 3rd party drivers should not export generic names like "close". | |||
| 2014-09-30 | stmhal: Add network and usocket module. | Damien George | |
| As per issue #876, the network module is used to configure NICs (hardware modules) and configure routing. The usocket module is supposed to implement the normal Python socket module and selects the underlying NIC using routing logic. Right now the routing logic is brain dead: first-initialised, first-used. And the routing table is just a list of registered NICs. cc3k and wiznet5k work, but not at the same time due to C name clashes (to be fixed). Note that the usocket module has alias socket, so that one can import socket and it works as normal. But you can also override socket with your own module, using usocket at the backend. | |||
| 2014-09-30 | stmhal: For spi_init, add argument to select if NSS pin is enabled. | Damien George | |
| Most of the time you don't use the NSS pin of the SPI bus, and so it shouldn't be enabled by default (this gave some bugs in the past). | |||
| 2014-09-30 | py: Remove IOError since it's deprecated; use OSError instead. | Damien George | |
| In CPython IOError (and EnvironmentError) is deprecated and aliased to OSError. All modules that used to raise IOError now raise OSError (or a derived exception). In Micro Python we never used IOError (except 1 place, incorrectly) and so don't need to keep it. See http://legacy.python.org/dev/peps/pep-3151/ for background. | |||
| 2014-09-29 | py: Allow x86-64 to mov r16 to rm16 with extended src reg. | Damien George | |
| Fixes bug with x86-64 viper ptr16. | |||
| 2014-09-29 | py: Fix viper store on x86; add tests for viper ptr16. | Damien George | |
| 2014-09-29 | py: Add casting to viper; add native mem stores to viper. | Damien George | |
| Viper can now do the following: def store(p:ptr8, c:int): p[0] = c This does a store of c to the memory pointed to by p using a machine instructions inline in the code. | |||
| 2014-09-29 | tests: Add tests for viper binary operations. | Damien George | |
| 2014-09-29 | py: Implement more binary ops for viper emitter. | Damien George | |
| This included a bit of restructuring of the assembler backends. Note that the ARM backend is missing a few functions and won't compile. | |||
| 2014-09-29 | py: Allow viper to use ints as direct conditionals in jumps. | Damien George | |
| Allows things like: if 1: ... | |||
| 2014-09-29 | py: Fix types, uint -> mp_uint_t. | Damien George | |
| 2014-09-29 | py: Make macro names in assemblers consistent, and tidy up a bit. | Damien George | |
| 2014-09-29 | py: Add store r8 and store r16 ops to asm_x86 and asm_x64. | Damien George | |
| 2014-09-29 | py: In asmthumb, clean up unit/int types and ite ops. | Damien George | |
| 2014-09-29 | unix: Remove unnecessary #defines from config. | Damien George | |
| 2014-09-29 | stmhal, fatfs: Use stdlib for string fns; make all private fns static. | Damien George | |
| We save some code bytes by using builtin string functions. | |||
| 2014-09-29 | stmhal: Add label to internal flash drive on creation. | Damien George | |
| 2014-09-29 | stmhal: Fix edge case for timer PWM of 100%. | Damien George | |
| Also improve precision of calculating PWM percent in integer mode. Also update teensy with edge case fix. | |||
| 2014-09-29 | Merge pull request #881 from dhylands/elapsed | Damien George | |
| Added pyb.elapsed_millis and pyb.elapsed_micros | |||
| 2014-09-29 | Merge pull request #880 from dhylands/irq-align | Damien George | |
| teensy: Enable 8-byte stack alignment for IRQ Handlers. | |||
| 2014-09-29 | Merge pull request #878 from bvernoux/master | Damien George | |
| Fix error: unknown type name 'size_t' | |||
| 2014-09-29 | Merge pull request #877 from dhylands/timer-overflow | Damien George | |
| Fix timer overflow code. | |||
| 2014-09-28 | Added pyb.elapsed_millis and pyb.elapsed_micros | Dave Hylands | |
| tested using: stmhal: https://github.com/dhylands/upy-examples/blob/master/elapsed.py teensy: https://github.com/dhylands/upy-examples/blob/master/teensy/elapsed.py | |||
| 2014-09-28 | teensy: Enable 8-byte stack alignment for IRQ Handlers. | Dave Hylands | |
| 2014-09-28 | Fix error: unknown type name 'size_t' | bvernoux | |
| 2014-09-27 | Fix timer overflow code. | Dave Hylands | |
| Teensy doesn't need to worry about overflows since all of its timers are only 16-bit. For PWM, the pulse width needs to be able to vary from 0..period+1 (pulse-width == period+1 corresponds to 100% PWM) I couldn't test the 0xffffffff cases since we can't currently get a period that big in python. With a prescaler of 0, that corresponds to a freq of 0.039 (i.e. cycle every 25.56 seconds), and we can't set that using freq or period. I also tested both stmhal and teensy with floats disabled, which required a few other code changes to compile. | |||
| 2014-09-26 | stmhal, modcc3k: Add ioctl to cc3k sockets so select works. | Damien George | |
| 2014-09-26 | py: Clean up nlr*.S to make it easier to read; fix clang .bss error. | Damien George | |
| It seems that newer versions of clang don't like the .bss directive, so we don't use it for OSX. Addressing issues #865 and #875. | |||
| 2014-09-26 | stmhal: Initial implementation of cc3k module and driver. | Damien George | |
| Pulled in and modified work done by mux/iabdalkader on cc3k driver, from iabdalkader-cc3k-update branch. That branch was terribly messy and had too many conflicts to merge neatly. | |||
| 2014-09-26 | drivers, cc3k: Move cc3000 driver from stmhal to drivers directory. | Damien George | |
| 2014-09-25 | docs: Make images and youtube video links work for LCD and AMP docs. | Damien George | |
| Images are currently served from micropython.org/static. I don't know if there is a better way to handle images. | |||
| 2014-09-25 | py: Simplify JSON str printing (while still conforming to JSON spec). | Damien George | |
| The JSON specs are relatively flexible and allow us to use one function to print strings, be they ascii, bytes or utf-8 encoded. | |||
