| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-05-03 | stmhal: Fix typos in class documentation. | Damien George | |
| 2014-05-03 | stmhal: Fix bug where negative delay/udelay lead to huge delays. | Damien George | |
| A negative ms/us is now treated as a delay of 0 ms/us. This patch also improves the calibration of udelay. | |||
| 2014-05-03 | stmhal: Remove #include <stdint.h> from mpconfigport.h. | Damien George | |
| Make include dependencies neater, and adheres to the coding convention that headers should not include headers. | |||
| 2014-05-03 | stmhal: Add example use to RTC doc; add rtc.c to gendoc.py. | Damien George | |
| 2014-05-03 | stmhal: Add documentation for RTC class. | Damien George | |
| 2014-05-03 | Merge pull request #548 from dhylands/fix-pin-defn | Damien George | |
| Fix PB0 ADC typo. | |||
| 2014-05-02 | Add device ID to autoflash script. | Craig Barnes | |
| 2014-05-02 | Fix PB0 ADC typo. | Dave Hylands | |
| This also adds a bunch of slashes separating pin that have multiple functions. | |||
| 2014-05-02 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-05-02 | stmhal: Add documentation for DAC and Timer classes. | Damien George | |
| 2014-05-02 | unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. | Paul Sokolovsky | |
| 2014-05-02 | Add shell script to automatically build stmhal/ for all pyboards. | Damien George | |
| 2014-05-01 | Merge pull request #542 from dhylands/fix-pin | Damien George | |
| Fix pin initialization when a mode argument is provided | |||
| 2014-05-01 | Fix pin initialization when a mode argument is provided | Dave Hylands | |
| 2014-05-01 | Add flashboard target to the stmhal Makefile to run dfu-util | Andrew Scheller | |
| Which allows you to run "make -C stmhal flashboard" from the top-level directory. Also ties in nicely with my configurable BUILD directory from #506 | |||
| 2014-04-30 | stmhal, docs: Small changes to URL links; adds list of files if none given. | Damien George | |
| This documentation is now available at micropython.org/doc/ | |||
| 2014-04-30 | stmhal: Reinstate CC3000 driver from old stm/ port. | Damien George | |
| It's not enabled by default because it doesn't fully work. It can connect to an AP, get an IP address and do a host-lookup, but not yet do send or recv on a socket. | |||
| 2014-04-30 | stmhal: Make LED.intensity return the same value it was set to. | Damien George | |
| Also give proper error message when trying to construct a non-existent LED. Addresses issue #530. | |||
| 2014-04-29 | stmhal: Oops, typo. | Damien George | |
| 2014-04-29 | stmhal: Add documentation in comments, and script to generate HTML. | Damien George | |
| Decided to write own script to pull documentation from comments in C code. Style for writing auto generated documentation is: start line with /// and then use standard markdown to write the comment. Keywords recognised by the scraper begin with backslash. See code for examples. Running: python gendoc.py modpyb.c accel.c adc.c dac.c extint.c i2c.c led.c pin.c rng.c servo.c spi.c uart.c usrsw.c, will generate a HTML structure in gendoc-out/. gendoc.py is crude but functional. Needed something quick, and this was it. | |||
| 2014-04-26 | Simplify names for argcheck.c / arg parsing. | Damien George | |
| 2014-04-26 | Add ARRAY_SIZE macro, and use it where possible. | Damien George | |
| 2014-04-21 | stmhal: Update help text. | Damien George | |
| 2014-04-21 | stmhal: Fix bug with pin GPIO reading. | Damien George | |
| 2014-04-21 | stmhal, usrsw: Wrap usrsw.c in #if, for when switch is not available. | Damien George | |
| 2014-04-21 | stmhal, accel: Add TODO comment. | Damien George | |
| 2014-04-21 | stmhal, usrsw: Update comments for new switch API. | Damien George | |
| 2014-04-21 | stmhal: Make switch a class, to follow suit of all other modules. | Damien George | |
| Instead of pyb.switch() as a function, it's more consistent (with respect to all the other modules and peripherals) to have pyb.Switch() create a switch object. This then generalises to having multiple switches. Call the object to get its state. Use sw.callback to set the callback function for when the switch is pressed. | |||
| 2014-04-21 | stmhal, servo: Rename calibrate method to calibration. | Damien George | |
| It should be a noun, since it supports getting and setting depending on the number of arguments given. | |||
| 2014-04-21 | stmhal, timer: Remove obsolete global variable. | Damien George | |
| 2014-04-21 | stmhal: Add Timer class: simple TIM control, incl callback on IRQ. | Damien George | |
| Simple but functional timer control. More sophistication will eventually be added, or for now just use direct register access :) Also added pyb.freq() function to get MCU clock frequencies. | |||
| 2014-04-21 | stmhal: Make DAC dynamically allocate instances; rename dma->write_timed. | Damien George | |
| 2014-04-21 | stmhal: Clean up rtc.c a bit. | Damien George | |
| 2014-04-21 | stmhal: Rename USART to UART. | Damien George | |
| It's really a UART because there is no external clock line (and hence no synchronous ability, at least in the implementation of this module). USART should be reserved for a module that has "S"ynchronous capabilities. Also, UART is shorter and easier to type :) | |||
| 2014-04-21 | stmhal: Add some documentation to I2C, SPI and USART modules. | Damien George | |
| 2014-04-21 | stmhal: Improve USART class, to be more like SPI and I2C. | Damien George | |
| The three classes I2C, SPI and USART now have a fairly uniform (Python) API. All are constructed, initialised and deinitialised in the same way. They can have most of their parameters set, using keyword arguments. All have send and recv (although slightly different with I2C requiring an address in master mode). recv can do inplace receiving (ie store the data in a previously-created bytearray). It's just polling mode at the moment, but interrupt and DMA would be nice to add. | |||
| 2014-04-21 | stmhal, SPI and I2C: Improvements to functionality and consistency. | Damien George | |
| 2014-04-20 | stmhal: Improved configurability for I2C and SPI busses. | Damien George | |
| The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them. | |||
| 2014-04-20 | Fix i2c and spi to compile for Netduino Plus 2 | Dave Hylands | |
| 2014-04-20 | stmhal: Small bug fixes and simplifications. | Damien George | |
| 2014-04-20 | stmhal: Only init RNG if it's used. | Damien George | |
| 2014-04-20 | stmhal: Update ExtInt to allow keyword arguments in constructor. | Damien George | |
| 2014-04-20 | stmhal: Tidy up and improve consistency across modules. | Damien George | |
| 2014-04-20 | stmhal: Add SPI class. | Damien George | |
| Also some updates to compile with latest changes to core py. | |||
| 2014-04-19 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-19 | stmhal: Add pyb.Pin.init method to re-init GPIO pin mode. | Damien George | |
| 2014-04-19 | stmhal: Improve RTC class; make fatfs use RTC for time stamping files. | Damien George | |
| 2014-04-19 | stmhal: Add pyb.unique_id, to get unique id of MCU. | Damien George | |
| 2014-04-19 | stmhal: Update for mp_binary_get_size() refactor. | Paul Sokolovsky | |
| 2014-04-19 | stmhal: Rename pyb.Led to pyb.LED to conform to naming rules. | Damien George | |
| It's Light Emitting Diode, so should be LED. | |||
