Paul Sokolovsky
1b76f88e7a
zephyr/zephyr_getchar: Add support for Ctrl+C handling.
...
Patch on top of upstream Zephyr console helpers.
2016-10-10 23:02:36 +03:00
Paul Sokolovsky
aa7828f822
zephyr/main: Execute main.py frozen module on boot, if available.
2016-10-10 22:59:34 +03:00
Paul Sokolovsky
7e3b21ec54
zephyr: Enable frozen modules support.
2016-10-10 21:40:08 +03:00
Paul Sokolovsky
b3a65791b1
zephyr: Enable stack checking and micropython.mem_info().
2016-10-10 21:36:38 +03:00
Paul Sokolovsky
ac70119779
zephyr: Add README.
2016-10-10 21:23:58 +03:00
daniel
a181340ad8
docs/wipy: Correct deep sleep current figure.
2016-10-10 14:22:39 +02:00
Daniel Thompson
5a699a7017
zephyr: Use recently added "make outputexports" Zephyr target.
...
The outputexpors target, which exports Zephyr environment variables, was
recently added to Zephyr. By exploiting this feature we can hugely simplify
the build system, improving robustness at the same time.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org >
2016-10-10 02:47:32 +03:00
Paul Sokolovsky
244b02f744
zephyr/Makefile: Automatically derive target-specific CFLAGS.
...
By tricking Zephyt arch Makefiles compute them for us (not just for
Zephyr). This make potentially break as Zephyr evolves.
2016-10-10 02:06:06 +03:00
Daniel Thompson
cbc0bf6fec
zephyr: Support extra make targets
...
The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively,
from the the lists shown during "make help" and "make kconfig-help".
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org >
2016-10-10 02:02:50 +03:00
Daniel Thompson
2ea52cb045
zephyr: Automatically derive ARCH.
...
Currently to compile for anything that except ARCH=x86 we have to
provide ARCH via the environment or make arguments. We can do better
than that!
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org >
2016-10-10 01:44:23 +03:00
Paul Sokolovsky
7df9f313c6
zephyr: Switch to microkernel, required for network to work in background.
2016-10-10 01:41:38 +03:00
Paul Sokolovsky
9ad5032164
zephyr: Add zephyr_getchar module to handle console input.
...
From https://github.com/pfalcon/zephyr_getchar .
2016-10-10 01:35:39 +03:00
Paul Sokolovsky
9d9efc0c5a
zephyr: Initial Zephyr RTOS port, Zephyr part.
2016-10-10 01:35:24 +03:00
Paul Sokolovsky
cff9f02cd7
zephyr: Initial Zephyr RTOS port, MicroPython part.
2016-10-10 01:35:14 +03:00
Paul Sokolovsky
fa5ac678fc
examples/network/http_client*: Use \r\n line-endings in request.
2016-10-09 19:36:04 +03:00
Paul Sokolovsky
3dabaae47d
tests/io/bytesio_ext: Add test for readinto().
2016-10-09 12:01:02 +03:00
Paul Sokolovsky
d22a04d9c4
py/objstringio: Add readinto() method.
...
Also, drop deprecated (as for MicroPython) readall() method.
2016-10-09 11:56:11 +03:00
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