Paul Sokolovsky
49e140488d
tests/io/write_ext: Add description comment.
2016-10-09 11:55:28 +03:00
Paul Sokolovsky
3b3612c65b
esp8266: Make neopixel support configurable.
...
To save iRAM.
2016-10-09 00:56:46 +03:00
Damien George
dc43508cc2
extmod/vfs_fat_file: Use MP_Exxx errno constants.
2016-10-07 14:14:41 +11:00
Damien George
016dba0e98
unix: Use common RAISE_ERRNO macro from mphalport.h.
2016-10-07 14:09:59 +11:00
Damien George
503089ea9d
unix: Use mp_raise_OSError helper function.
2016-10-07 14:05:15 +11:00
Damien George
23a568240d
esp8266: Use mp_raise_OSError helper function.
2016-10-07 14:00:51 +11:00
Damien George
a2bfcbe029
stmhal: Use mp_raise_OSError helper function.
2016-10-07 13:58:25 +11:00
Damien George
e3d29996b3
driver/dht: Use mp_raise_OSError helper function.
2016-10-07 13:53:34 +11:00
Damien George
75af908c0e
extmod: Use mp_raise_OSError helper function.
2016-10-07 13:52:14 +11:00
Damien George
06d0083468
extmod/modlwip: Use mp_raise_OSError helper function.
...
Reduces esp8266 code size by about 230 bytes.
2016-10-07 13:47:57 +11:00
Damien George
620c4c32bf
extmod/vfs_fat: Use mp_raise_OSError helper function.
2016-10-07 13:44:55 +11:00
Damien George
3a0a771730
py: Add mp_raise_OSError(errno) helper function.
...
This is an often used code pattern, and its use reduces code size of the
core by about 100 bytes.
2016-10-07 13:31:59 +11:00
dmanso
0363e1d7b5
esp8266: Add FLASH_MODE,FLASH_SIZE options for make deploy target.
...
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 13:18:48 +11:00
Alex March
00c1fc6d77
docs/uos: Add uos.statvfs() documentation.
2016-10-07 13:16:54 +11:00
Damien George
82af4d6749
tests: Improve coverage of struct with test for non-compliant behaviour.
2016-10-07 12:57:25 +11:00
Damien George
dffa383b06
py/modstruct: Remove unreachable code, and add comment about CPy diff.
...
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 12:54:14 +11:00
Alex March
9fdba0e09c
tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.
2016-10-07 01:02:11 +11:00
Damien George
056da75a8a
esp8266: Make PY_UHASHLIB_SHA1 config depend on PY_USSL and SSL_AXTLS.
...
SHA1 can only be supported if ussl module is compiled in, and it uses
axtls.
2016-10-06 12:28:28 +11:00
Damien George
0bb3c7d3b7
stmhal: Enable machine.time_pulse_us() function.
2016-10-06 12:12:20 +11:00
Dave Hylands
c08f50bcf7
stmhal: Disable network and usocket for ESPRUINO_PICO
2016-10-06 11:47:45 +11:00
stijn
7f19b1c3eb
tests: Fix expected output of verbose cmdline test
...
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 12:58:50 +02:00
Damien George
b89ac9db78
stmhal/moduos: Implement total-number-of-blocks field in statvfs.
2016-10-05 15:52:36 +11:00
Damien George
b1537a5752
stmhal/mphalport: Change pin obj type to const pointer, to avoid casts.
2016-10-05 15:51:40 +11:00
puuu
bcf60b43ee
esp8266/modpybrtc.c: Implement machine.RTC.alarm_left()
...
Implementation of machine.RTC.alarm_left(), like described in the
documentation.
2016-10-05 12:20:30 +11:00
Dave Hylands
7a9c183c20
stmhal: Fix ESPRUINO_PICO by adding ld scripts with correct flash size.
2016-10-05 11:42:50 +11:00