summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2018-07-20docs/library/machine: Remove conditionals in machine class index.Damien George
The machine module should be standard across all ports so should have the same set of classes in the docs. A special warning is added to the top of the machine.SD class because it is not standardised and only available on the cc3200 port.
2018-07-20docs/reference/index: Remove conditional for inline asm docs.Damien George
The heading of this section makes it clear it is for Thumb-2 architectures only.
2018-07-20docs/library/index: Add hint about using help('modules') for discovery.Damien George
2018-07-20docs/library/index: Remove all conditionals from library index.Damien George
It's fair to just provide a link to all available modules, regardless of the port. Most of the existing ports (unix, stm32, esp8266, esp32) share most of the same set of modules anyway, so no need to maintain separate lists for them. And there's a big discussion at the start of this index about modules not being available on a given port. For port-specific modules, they can also be listed unconditionally because they have headings that explicitly state they are only available on certain ports.
2018-07-18docs/library/machine: Remove conditional docs for rng function.Damien George
And instead list its availability explicitly.
2018-07-18docs/library/machine: Remove conditional docs for wake_reason function.Damien George
And instead list its availability explicitly.
2018-07-18docs/library/machine.UART: Remove conditional docs for wipy port.Damien George
The UART.init() method is now included unconditionally and its wording adjusted to better describe ports other than the cc3200. UART.irq() is also included unconditionally, but this is currently only available on the WiPy target.
2018-07-18docs/library/pyb.DAC: Fix typo in markup to balance quotes.Damien George
2018-07-18docs/library: Remove "only" directive from all pyb module docs.Damien George
By virtue of its name, the pyb module would only be available on a pyboard and so does not need to have conditional "only" directives throughout its documentation. These conditionals were added mostly in cfcf47c0644952358e1a260db159e807872a37e6 in the initial development of the cc3200 port, which had the pyb module before it switched to the machine module. And wipy only conditionals were removed from the pyb module documentation in 4542643025c77a7272bde348b89d5039aea28d23, so there's no need to retain any more conditionals.
2018-07-10docs/pyboard: For latex build, use smaller quickref jpg, and no gifs.Damien George
The latexpdf target needs images that fit on the page, and does not support gifs.
2018-07-02docs/ure: Document some more supported regex operators.Damien George
2018-07-02docs/ure: Document sub(), groups(), span(), start() and end().Damien George
2018-06-28docs/uos: Make it clear that block device block_num param is an index.Damien George
2018-06-27extmod/moducryptolib: Optionally export MODE_* constants to Python.Yonatan Goldschmidt
Allow including crypto consts based on compilation settings. Disabled by default to reduce code size; if one wants extra code readability, can enable them.
2018-06-27docs/usocket: Minor fixes to grammar of getaddrinfo.Damien George
2018-06-27docs/usocket: getaddrinfo: Describe af/type/proto optional params.Paul Sokolovsky
These can be optionally specified, but all ports are expected to be able to accept them, at the very least ignore, though handling of "type" param (SOCK_STREAM vs SOCK_DGRAM) is recommended.
2018-06-27docs/ucryptolib: Add docs for new ucryptolib module.Paul Sokolovsky
2018-06-26docs/library: Add documentation for ucollections.deque.Damien George
2018-06-25docs/esp8266: Fix minor typo in "certificates".jcea
2018-05-21stm32/rtc: Don't try to set SubSeconds value on RTC.Damien George
The hardware doesn't allow it, instead the value is reset to 255 upon setting the other calendar/time values.
2018-05-11docs: Bump version to 1.9.4.v1.9.4Damien George
2018-04-26docs/library: Add ussl module to library index for unix port.Damien George
2018-04-20docs/library/pyb.ADC: Fix typo of "prarmeter".Damien George
2018-04-20docs/library/pyb.ADC: Remove outdated ADCAll code example.Peter Hinch
2018-04-11stm32/dac: Add buffering argument to constructor and init() method.Damien George
This can be used to select the output buffer behaviour of the DAC. The default values are chosen to retain backwards compatibility with existing behaviour. Thanks to @peterhinch for the initial idea to add this feature.
2018-04-11stm32/adc: Optimise read_timed_multi() by caching buffer pointers.Damien George
2018-04-11stm32/adc: Add read_timed_multi() static method, with docs and tests.Peter Hinch
2018-04-10docs/library/pyb.ADC.rst: Document new features for ADCAll.T S
2018-03-19stm32/can: Add "list" param to CAN.recv() to receive data inplace.Damien George
This API matches (as close as possible) how other pyb classes allow inplace operations, such as pyb.SPI.recv(buf).
2018-03-16docs/library/pyb.CAN: Clean up documentation of data constants.Damien George
2018-03-16stm32/can: Add CAN.info() method to retrieve error and tx/rx buf info.Damien George
2018-03-16stm32/can: Add CAN.state() method to get the state of the controller.Damien George
This is useful for monitoring errors on the bus and knowing when a restart is needed.
2018-03-15stm32/can: Add CAN.restart() method so controller can leave bus-off.Damien George
2018-03-15stm32/can: Add "auto_restart" option to constructor and init() method.Damien George
2018-03-15docs/library/pyb.CAN: Update markup to use latest doc conventions.Damien George
2018-03-15docs: Fix some references and RST markup to eliminate Sphinx warnings.Damien George
2018-03-12extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple.Tom Collins
2018-03-09docs/reference/repl.rst: Fix some minor errors in the REPL tutorial.Damien George
2018-03-07docs/library/uos: Document mount, umount, VfsFat and block devices.Damien George
2018-03-07docs/library/uos: Create sections for distinct parts and document uname.Damien George
2018-03-05docs/library/micropython: Describe optimisation levels for opt_level().Damien George
2018-03-05docs/library/usocket: Make xref to uerrno explicitly a module reference.Damien George
2018-02-26esp8266/modnetwork: Implement WLAN.status('rssi') for STA interface.Damien George
This will return the RSSI of the AP that the STA is connected to.
2018-02-15docs/library/ujson: Document dump() and load() functions.Damien George
2018-02-15docs/library/ujson: Update to conform with docs conventions.Damien George
The formatting of exception objects is done as per CPython conventions, eg: :exc:`TypeError`
2018-02-15docs/esp8266: Add a note concerning GPIO16 pull capabilities.Olivier Ortigues
2018-02-15docs/esp8266: Update PWM doc regarding clipping of min/max values.Olivier Ortigues
2018-02-01docs/library/pyb.rst: Add note about availability of USB MSC-only mode.Damien George
2017-12-23docs/library/index: Elaborate uPy libraries intro.Paul Sokolovsky
2017-12-16docs/packages: Explicitly recommend usage of setuptools instead of distutils.Paul Sokolovsky