| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-10-07 | stmhal: Use mp_raise_OSError helper function. | Damien George | |
| 2016-10-07 | driver/dht: Use mp_raise_OSError helper function. | Damien George | |
| 2016-10-07 | extmod: Use mp_raise_OSError helper function. | Damien George | |
| 2016-10-07 | extmod/modlwip: Use mp_raise_OSError helper function. | Damien George | |
| Reduces esp8266 code size by about 230 bytes. | |||
| 2016-10-07 | extmod/vfs_fat: Use mp_raise_OSError helper function. | Damien George | |
| 2016-10-07 | py: Add mp_raise_OSError(errno) helper function. | Damien George | |
| This is an often used code pattern, and its use reduces code size of the core by about 100 bytes. | |||
| 2016-10-07 | esp8266: Add FLASH_MODE,FLASH_SIZE options for make deploy target. | dmanso | |
| Added options to make deploy so it can be used for ESP8266 boards with other flash configurations. For example NodeMCU DEVKIT V1.0 can now use: $ make FLASH_MODE=dio FLASH_SIZE=32m deploy | |||
| 2016-10-07 | docs/uos: Add uos.statvfs() documentation. | Alex March | |
| 2016-10-07 | tests: Improve coverage of struct with test for non-compliant behaviour. | Damien George | |
| 2016-10-07 | py/modstruct: Remove unreachable code, and add comment about CPy diff. | Damien George | |
| The deleted code is unreachable because calcsize_items guarantees that num_items corresponds to how many items there are in fmt to unpack. | |||
| 2016-10-07 | tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage. | Alex March | |
| 2016-10-06 | esp8266: Make PY_UHASHLIB_SHA1 config depend on PY_USSL and SSL_AXTLS. | Damien George | |
| SHA1 can only be supported if ussl module is compiled in, and it uses axtls. | |||
| 2016-10-06 | stmhal: Enable machine.time_pulse_us() function. | Damien George | |
| 2016-10-06 | stmhal: Disable network and usocket for ESPRUINO_PICO | Dave Hylands | |
| 2016-10-05 | tests: Fix expected output of verbose cmdline test | stijn | |
| The output might contain more than one line ending in 5b so properly skip everything until the next known point. This fixes test failures in appveyor debug builds. | |||
| 2016-10-05 | stmhal/moduos: Implement total-number-of-blocks field in statvfs. | Damien George | |
| 2016-10-05 | stmhal/mphalport: Change pin obj type to const pointer, to avoid casts. | Damien George | |
| 2016-10-05 | esp8266/modpybrtc.c: Implement machine.RTC.alarm_left() | puuu | |
| Implementation of machine.RTC.alarm_left(), like described in the documentation. | |||
| 2016-10-05 | stmhal: Fix ESPRUINO_PICO by adding ld scripts with correct flash size. | Dave Hylands | |
| 2016-10-05 | tools: Upgrade upip to 1.0. | Paul Sokolovsky | |
| Fully self-hosted release (without fallbacks), and uses stream gzip decompression (step towards support for limited-heap baremetal systems). | |||
| 2016-10-05 | esp8266/main: Put /lib before / in sys.path. | Paul Sokolovsky | |
| upip will use first non-empty component in sys.path as an install path (if MICROPYPATH envvar is not set, like it will be for baremetal targets). | |||
| 2016-10-04 | esp8266/modmachine: idle(): Return number of CPU cycles spent idling. | Paul Sokolovsky | |
| Useful to better understand esp8266 inner workings and compare behavior in different cases. | |||
| 2016-10-05 | tests/extmod/btree1: Checks for put, seq, string print and unsupported ↵ | Alex March | |
| binary op. | |||
| 2016-10-04 | stmhal/usb: Use real packet size (not maximum) in HID receive. | Pavol Rusnak | |
| 2016-10-04 | stmhal/usb: Use correct ClassData structure for HID receive. | Pavol Rusnak | |
| 2016-10-04 | stmhal/usb: Add support to receive USB HID messages from host. | Philip Potter | |
| 2016-10-04 | stmhal/usbdev: Add OUT endpoint to HID interface. | Philip Potter | |
| 2016-10-04 | tests/run-tests: Disable cmdline/cmd_showbc test on Windows. | Damien George | |
| Disabled until a proper fix is found. | |||
| 2016-10-04 | stmhal: Fix linker map for STM32L476 chips. | Dave Hylands | |
| In particular, this makes the L4 .isr_vector section 16K in size so it's the same as the F4/F7 MCUs. The patch also moves the L4 filesystem to the end of flash, which allows for 512K filesystem on the 1Mb devices like the STM32L476DISC. | |||
| 2016-10-04 | stmhal/spi: Enable use of fast software SPI. | Damien George | |
| 2016-10-04 | extmod/machine_spi: Add optional support for fast software SPI. | Damien George | |
| If a port defines MICROPY_PY_MACHINE_SPI_MIN_DELAY then it can use a faster software SPI loop that does not make calls to the delay_us function. | |||
| 2016-10-04 | extmod/machine_spi: Use delay_half, not baudrate, for internal timing. | Damien George | |
| The delay_half parameter must be specified by the port to set up the timing of the software SPI. This allows the port to adjust the timing value to better suit its timing characteristics, as well as provide a more accurate printing of the baudrate. | |||
| 2016-10-04 | stmhal/spi: Use software SPI if no periph id given, even if pins given. | Damien George | |
| It's simpler to just default to always using software SPI if no specific peripheral id/name is given. To use hardware SPI users must specify a hardware peripheral id as the first parameter to the SPI constructor. | |||
| 2016-10-03 | esp8266/moduos: Move stat/statvfs funcs to sit within #if VFS guard. | Damien George | |
| 2016-10-03 | stmhal/mphalport: Fix mp_hal_pin_write to use correct pin_mask. | Damien George | |
| 2016-10-03 | stmhal/spi: Make machine.SPI class conform to correct API. | Damien George | |
| Includes both software and hardware SPI implementations. | |||
| 2016-10-03 | stmhal/mphalport: Implement mp_hal_pin_{input,output,write}. | Damien George | |
| 2016-10-03 | extmod/machine_spi: Factor out software SPI code from esp8266 to extmod. | Damien George | |
| 2016-10-03 | stmhal/spi: Simplify spi_transfer function to take only one buf len arg. | Damien George | |
| 2016-10-03 | extmod/machine_spi: Simplify SPI xfer function to only take one buf len. | Damien George | |
| There is no need to take src_len and dest_len arguments. The case of reading-only with a single output byte (originally src_len=1, dest_len>1) is now handled by using the output buffer as the input buffer, and using memset to fill the output byte into this buffer. This simplifies the implementations of the spi_transfer protocol function. | |||
| 2016-10-01 | cc3200: Add ssl_version argument to ssl.wrap_socket(). | daniel | |
| This resolves issue #2343. | |||
| 2016-09-30 | py/objbool: Make a slight simplification of bool constructor. | Damien George | |
| Reduces code size for some archs. | |||
| 2016-09-30 | py/objbool: Defer bool's unary op implementation to small int. | Damien George | |
| Similar to how binary op already works. Common unary operations already have fast paths for bool so there's no need to have explicit handling of ops in bool_unary_op, especially since they have the same behaviour as integers. | |||
| 2016-09-30 | py/argcheck: Simplify if-chain so that the last one is the default. | Damien George | |
| 2016-09-30 | tests/basics: Add test for printing OSError when errno is unknown. | Damien George | |
| 2016-09-30 | lib/cmsis: upgrade CMSIS-CORE to V4.30 | Krzysztof Blazewicz | |
| 2016-09-30 | lib/cmsis: remove CMSIS-DSP headers, they are unused | Krzysztof Blazewicz | |
| 2016-09-30 | lib/cmsis: move CMSIS headers to lib/ | Krzysztof Blazewicz | |
| Files in lib/cmsis are generic for all Cortex-M MCU's files left in stmhal/cmsis are all STM32 specific. | |||
| 2016-09-30 | tests/basics: Add test constructing a set from a non-trivial expression. | Damien George | |
| 2016-09-30 | tests/import: Add test for compiling "import a.b as c". | Damien George | |
