summaryrefslogtreecommitdiff
path: root/ports/zephyr
AgeCommit message (Collapse)Author
2019-10-13remove ports/zephyrDan Halbert
2018-05-21zephyr/Makefile: Add kobj_types_h_target to Z_EXPORTS.Paul Sokolovsky
New generated Zephyr header file, without it build breaks.
2018-05-21zephyr: Add prj_disco_l475_iot1.conf with sensor drivers.Paul Sokolovsky
2018-05-21zephyr/prj_base.conf: Enable DHCP and group static IPs together.Paul Sokolovsky
Add CONFIG_NET_DHCPV4, which, after https://github.com/zephyrproject-rtos/zephyr/pull/5750 works as follows: static addresses are configured after boot, and DHCP requests are sent at the same time. If valid DHCP reply is received, it overrides static addresses. This setup works out of the box for both direct connection to a workstation (DHCP server usually is not available) and for connection to a router (DHCP is available and required).
2018-05-21zephyr/modzsensor: Zephyr sensor subsystem bindings.Paul Sokolovsky
2018-05-21zephyr/mpconfigport.h: Enable uhashlib and ubinascii modules.Paul Sokolovsky
To be able to use data integrity checks in various tests.
2018-05-21zephyr/main: After builtin testsuite, drop to REPL.Paul Sokolovsky
It makes sense to make even testsuite-enabled builds be suitable for interactive use.
2018-05-21zephyr/README: Hint about existence of qemu_x86_nommu.Paul Sokolovsky
2018-04-10py/stream: Switch stream close operation from method to ioctl.Damien George
This patch moves the implementation of stream closure from a dedicated method to the ioctl of the stream protocol, for each type that implements closing. The benefits of this are: 1. Rounds out the stream ioctl function, which already includes flush, seek and poll (among other things). 2. Makes calling mp_stream_close() on an object slightly more efficient because it now no longer needs to lookup the close method and call it, rather it just delegates straight to the ioctl function (if it exists). 3. Reduces code size and allows future types that implement the stream protocol to be smaller because they don't need a dedicated close method. Code size reduction is around 200 bytes smaller for x86 archs and around 30 bytes smaller for the bare-metal archs.
2017-12-26zephyr/main: Remove unused do_str() function.Paul Sokolovsky
The artifact of initial porting effort.
2017-12-26zephyr/Makefile: clean: Clean libmicropython.a too.Paul Sokolovsky
2017-12-15zephyr/prj_base.conf: Bump MAIN_STACK_SIZE to let builtin testsuite run.Paul Sokolovsky
2017-12-15zephyr: Add support for binary with builtin testsuite.Paul Sokolovsky
If TEST is defined, file it refers to will be used as the testsuite source (should be generated with tools/tinytest-codegen.py). "make-bin-testsuite" script is introduce to build such a binary.
2017-12-08zephyr/main: Move var declarations to the top of file.Paul Sokolovsky
2017-12-06zephyr/CMakeLists.txt: Properly separate CFLAGS parts gotten from CMake.Paul Sokolovsky
Lack of spaces between them led to weird option artifacts like -Ifoo-Dbar.
2017-12-06zephyr/CMakeLists.txt: Update for latest Zephyr buildsys changes.Paul Sokolovsky
2017-12-01zephyr/Makefile: syscall_macros.h generation was moved from CMake to make.Paul Sokolovsky
Required for #include <zephyr.h> to work.
2017-11-28zephyr/Makefile: Make prj_$(BOARD).conf optional, again.Paul Sokolovsky
This time hopefully should work reliably, using make $(wildcard) function, which in this case either expands to existing prj_$(BOARD).conf file, or to an empty string for non-existing one.
2017-11-28zephyr/Makefile: Convert to new CMake-based Zephyr build system.Paul Sokolovsky
Zephyr 1.10 switches to CMake-based build system (already in master).
2017-11-28zephyr/prj_base.conf: Force zephyr.bin build output.Paul Sokolovsky
As useful for CI systems. 1.10 doesn't build .bin for qemu_* for example. Also, remove deprecated CONFIG_LEGACY_KERNEL option.
2017-11-28zephyr/Makefile: clean: Remove generated prj_*_merged.conf.Paul Sokolovsky
2017-11-16py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.Damien George
This patch simplifies the str creation API to favour the common case of creating a str object that is not forced to be interned. To force interning of a new str the new mp_obj_new_str_via_qstr function is added, and should only be used if warranted. Apart from simplifying the mp_obj_new_str function (and making it have the same signature as mp_obj_new_bytes), this patch also reduces code size by a bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
2017-11-01zephyr/README: "make qemu" was replaced with "make run".Paul Sokolovsky
2017-10-07zephyr: Switch to interrupt-driven pull-style console.Paul Sokolovsky
While this console API improves handling on real hardware boards (e.g. clipboard paste is much more reliable, as well as programmatic communication), it vice-versa poses problems under QEMU, apparently because it doesn't emulate UART interrupt handling faithfully. That leads to inability to run the testsuite on QEMU at all. To work that around, we have to suuport both old and new console routines, and use the old ones under QEMU.
2017-10-07zephyr: Use CONFIG_NET_APP_SETTINGS to setup initial network addresses.Paul Sokolovsky
Ideally, these should be configurable from Python (using network module), but as that doesn't exist, we better off using Zephyr's native bootstrap configuration facility.
2017-10-04all: Remove inclusion of internal py header files.Damien George
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
2017-09-12py/builtinhelp: Change signature of help text var from pointer to array.Damien George
As a pointer (const char *) it takes up an extra word of storage which is in RAM.
2017-09-10zephyr/Makefile: Revamp "test" target after ports were moved to ports/.Paul Sokolovsky
2017-09-06all: Update Makefiles and others to build with new ports/ dir layout.Damien George
Also renames "stmhal" to "stm32" in documentation and everywhere else.
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.