aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-07updated the http reference for max7219 to use the readthedocs from the ↵2.0.0stablemrmcwethy
adafruit cirtcuitpython area instead of the micropython area
2017-09-06Added DotStar to line 722.0.0-rc.2KurticusMaximus
2017-09-06Add Processor to microcontroller documentation TOC (#237)Dan Halbert
2017-09-06shared-bindings: Prevent check_lock from being optimized away. (#240)Scott Shawcroft
Fixes #229
2017-09-06Ctrl-C was causing a soft-reset in REPL.Dan Halbert
Also allow an immediate ctrl-c in `input()`.
2017-09-06atmel-samd: Ensure MTB is off in case we ran a debug build beforeScott Shawcroft
a non-debug build.
2017-09-05py: Only load frozen modules when the filename has the prefix. (#235)Scott Shawcroft
* py: Only load frozen modules when the filename has the prefix. This allows one to override a built-in module by loading a newer version onto the file system. * Unbreak mpys
2017-09-05Reduce depth in tocCarol Willing
2017-09-05rename some captionsCarol Willing
2017-09-05collapse board listingsCarol Willing
2017-09-05Add a micropython section and edit drivers docCarol Willing
2017-09-05Structure contents to be user facingCarol Willing
2017-09-05atmel-samd: Enable 8-bit audio recording support even though it'll beScott Shawcroft
quiet. Also update the examples. Fixes #226
2017-09-02esp8266: restore machine moduleDan Halbert
2017-09-01Style tweaks based on @willingc's feedback.2.0.0-rc.1Scott Shawcroft
2017-09-01docs: Add beginnings of troubleshooting doc.Scott Shawcroft
Fixes #172. Related to #214.
2017-09-01Fix issue #207, esp8266 file operations problems (#222)Dan Halbert
The frozen module `_boot.py` was not being loaded on restart because `pyexec_frozen_module()` did not know about the new `.frozen` pseudo-directory. Updated lower-level routine to look in the right place. Also made ".frozen" and related values be `#define`s.
2017-09-01Merge pull request #223 from tannewt/baudrate_fixRadomir Dopieralski
atmel-samd: Remember SPI baudrate.
2017-09-01atmel-samd: Remember SPI baudrate.Scott Shawcroft
This prevents the SERCOM from blipping the data line on each transaction and therefore fixes #219.
2017-08-31py: Add temporary expanded mpy mismatch message for switch to 2.0.0. (#218)Scott Shawcroft
Fixes #214
2017-08-31atmel-samd: Add SPI pin names to the Trinket. Fixes #213 (#217)Scott Shawcroft
2017-08-31Add ".frozen" to end of sys.path, so that internal frozen modules are ↵Dan Halbert
visible on boot.
2017-08-31Add microcontroller.cpu.temperature, for use as a simple sensor on minimal ↵Dan Halbert
boards. (#211) * Add microcontroller.cpu, the sole instance of microcontroller.Processor. microcontroller.cpu.frequency is the clock frequency, in Hz. microcontroller.cpu.temperature is the reading from the internal temperature sensor, in Celsius. None if not available. * Squeeze firmware size by using -finline-limit. Otherwise non-Express builds were slightly too big. * Update submodules. * Fix documentation glitches
2017-08-29Update README (#212)Carol Willing
* Add README navigation and minor edits * Simplify links * Clean up markdown style warnings * Update links * Edit grammar and style
2017-08-29shared-bindings: Clarify that UART.read() is slow. (#209)Scott Shawcroft
2017-08-28Merge pull request #208 from adafruit/merge-v1.9.2Scott Shawcroft
Merge MicroPython v1.9.2
2017-08-27Modernize module and class static dicts; update freetouchDan Halbert
2017-08-26Fix blinky exampleScott Shawcroft
Thanks to @Kurticus and @scruffynerf from [discord](http://adafru.it/discord) for finding it.
2017-08-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in ↵Dan Halbert
development) master. cpx build compiles and loads and works in repl; test suite not run yet esp8266 not tested yet
2017-08-25atmel-samd: Introduce a nvm module for non-volatile byte-level memory ↵Scott Shawcroft
access. (#203) * atmel-samd: Introduce a nvm module for non-volatile byte-level memory access. This allows for persisting small configuration values even when the file system is read-only from CircuitPython. Fixes #160 * Review feedback: * Add tests. * Fix non-zero index. * Fix len()
2017-08-23Workaround readthedocs bugDan Halbert
2017-08-23tools: Always upload to Rosie from Travis. (#200)Scott Shawcroft
This allows Rosie to automatically work for commits to forks.
2017-08-23Added ability to freeze multiple directories; freeze neopixel library in cpx ↵Dan Halbert
build (#199) Reworked frozen module support: clean up makefiles and handle multiple directories. Modules to freeze are included as git submodules. Add neopixel to circuitplayground express build. Fixes #56
2017-08-23docs: Bump version to 1.9.2.v1.9.2Damien George
2017-08-23py/asmthumb: Use existing macro to properly clear the D-cache.Damien George
This macro is provided by stmhal/mphalport.h and makes sure the addr and size arguments are correctly aligned.
2017-08-22shared-bindings: Check that extra args aren't provided to ↵Scott Shawcroft
digitalio.DigitalInOut on construction. (#189)
2017-08-22shared-bindings: Update DigitalIO.pull docs and validate that third (#188)Scott Shawcroft
state is None and not anything. Fixes #187
2017-08-22Fix ADC input def for PB07. (#195)Scott Shawcroft
Fixes #194
2017-08-22docs: Consistently link to micropython-lib in glossary.Paul Sokolovsky
2017-08-21esp8266: Fix UART stop bit constants.Ein Terakawa
As per the "ESP8266 Technical Reference".
2017-08-21extmod/modubinascii: Don't post-increment variable that won't be used.Damien George
2017-08-21py/formatfloat: Don't post-increment variable that won't be used again.Damien George
2017-08-21py/objcomplex: Remove unnecessary assignment of variable.Damien George
2017-08-21py/compile: Remove unused pn_colon code when compiling func params.Damien George
2017-08-21all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.Damien George
2017-08-21extmod,unix: For uos.stat interpret st_size member as an unsigned int.Damien George
This prevents large files (eg larger than 2gb on a 32-bit arch) from showing up as having a negative size. Fixes issue #3227.
2017-08-21py/mkrules.mk: Use "find -path" when searching for frozen obj files.Damien George
This allows the command to succeed without error even if there is no $(BUILD)/build directory, which is the case for mpy-cross.
2017-08-20py/stream: seek: Consistently handle negative offset for SEEK_SET.Paul Sokolovsky
Per POSIX, this is EINVAL, so raises OSError(EINVAL).
2017-08-20py/objstringio: Fix regression with handling SEEK_SET.Paul Sokolovsky
For SEEK_SET, offset should be treated as unsigned, to allow full-width stream sizes (e.g. 32-bit instead of 31-bit). This is now fully documented in stream.h. Also, seek symbolic constants are added.
2017-08-20py/objstringio: Prevent offset wraparound for io.BytesIO objects.Tom Collins
Too big positive, or too big negative offset values could lead to overflow and address space wraparound and thus access to unrelated areas of memory (a security issue).