Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-21 | zephyr: Remove deprecated .mdef file. | Paul Sokolovsky | |
2017-01-20 | zephyr/help: Update n_args param type to size_t. | Paul Sokolovsky | |
2016-12-18 | zephyr: Enable slice subscription. | Paul Sokolovsky | |
Required for the testsuite. | |||
2016-12-17 | zephyr/uart_core: Access console UART directly instead of printk() hack. | Paul Sokolovsky | |
This is required to avoid extra level of output "cooking" ("\r\r\n") and make test infrastructure work. On the other hand, this breaks somewhat Zephyr console abstraction. | |||
2016-12-16 | zephyr: Use core-provided keyboard exception object. | Paul Sokolovsky | |
2016-12-16 | zephyr/main: Initialize sys.path and sys.argv. | Paul Sokolovsky | |
2016-12-15 | zephyr: Implement soft reset feature. | Paul Sokolovsky | |
2016-12-15 | zephyr: Support raw REPL. | Paul Sokolovsky | |
2016-12-04 | zephyr: Switch to Zephyr 1.6 unified kernel API. | Paul Sokolovsky | |
In 1.6, Zephyr switched to "unified kernel" and new API set. Older kernel API is supported, but marked as deprecated and leads to warnings. | |||
2016-11-30 | zephyr/zephyr_getchar: Update to Zephyr 1.6 unified kernel API. | Paul Sokolovsky | |
2016-11-30 | zephyr: Add .gitignore to ignore Zephyr's "outdir" directory. | Paul Sokolovsky | |
That's where Zephyr keeps object files and produced executables. | |||
2016-11-09 | zephyr/mphalport.h: Update for new "unified" kernal API (sleep functions). | Paul Sokolovsky | |
2016-11-05 | zephyr/Makefile: Add -fomit-frame-pointer. | Paul Sokolovsky | |
Somehow, Zephyr uses -fno-omit-frame-pointer, whch bloats code size considerably (+5K for minimal ARM Thumb2 build). | |||
2016-11-05 | zephyr/Makefile: Add minimal port. | Paul Sokolovsky | |
2016-11-04 | zephyr/Makefile: Allow to override Zephyr config from make command line. | Paul Sokolovsky | |
2016-11-04 | zephyr/Makefile: Update comments to the current state of affairs. | Paul Sokolovsky | |
2016-11-04 | zephyr/Makefile: Allow to adjust heap size from make command line. | Paul Sokolovsky | |
2016-11-04 | zephyr/mpconfigport.h: Move less important params to the bottom. | Paul Sokolovsky | |
2016-10-29 | extmod/utime_mphal: Implement ticks_add(), add to all maintained ports. | Paul Sokolovsky | |
2016-10-28 | zephyr/README: Update for the current featureset, add more info. | Paul Sokolovsky | |
2016-10-28 | zephyr: Support time -> utime module "weaklink". | Paul Sokolovsky | |
So, now it's possible to just do normal Python's "import time". | |||
2016-10-28 | zephyr/zephyr_getchar: Update for recent Zephyr refactor of console hooks. | Paul Sokolovsky | |
uart_irq_input_hook_set() was renamed to uart_console_in_debug_hook_install() and accepts different params. | |||
2016-10-27 | zephyr: Initial implementation of machine.Pin. | Daniel Thompson | |
The integration with Zephyr is fairly clean but as MicroPython Hardware API requires pin ID to be a single value, but Zephyr operates GPIO in terms of ports and pins, not just pins, a "hierarchical" ID is required, using tuple of (port, pin). Port is a string, effectively a device name of a GPIO port, per Zephyr conventions these are "GPIO_0", "GPIO_1", etc.; pin is integer number of pin with the port (supposed to be in range 0-31). Example of pin initialization: pin = Pin(("GPIO_1", 21), Pin.OUT) (an LED on FRDM-K64F's Port B, Pin 21). There is support for in/out pins and pull up/pull down but currently there is no interrupt support. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org> Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> | |||
2016-10-26 | zephyr: Use board/SoC values for startup banner based on Zephyr config. | Vincenzo Frascino | |
This patch modifies the HW macro definition in order to let micropython report correctly the BOARD and the SOC on which it is working on. | |||
2016-10-26 | zephyr: Fix mp_hal_set_interrupt_char() declaration to be compatible. | Paul Sokolovsky | |
With other ports. Other ports declare it in mphalport.h, it can be inline or macro. | |||
2016-10-22 | zephyr: Implement utime module. | Daniel Thompson | |
This provides time and sleep together with the usual ticks_us/_ms/_diff and sleep_us/ms family. We also provide access to Zephyr's high precision timer as ticks_cpu(). Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> | |||
2016-10-21 | py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined. | Paul Sokolovsky | |
Now frozen modules generation handled fully by py.mk and available for reuse by any port. | |||
2016-10-12 | zephyr: Add copyright blurbs. | Paul Sokolovsky | |
2016-10-12 | zephyr/mpconfigport.h: Fix rebasing artifacts. | Paul Sokolovsky | |
2016-10-12 | zephyr: Implement the help() function. | Daniel Thompson | |
The boot issue text mentions a help() function and encourages the user to run it. It is very disconcerting to find that the function does not exist... Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> | |||
2016-10-12 | zephyr/Makefile: Be sure to extra qstr's from port sources. | Paul Sokolovsky | |
2016-10-10 | zephyr: Add Ctrl+C handling. | Paul Sokolovsky | |
2016-10-10 | zephyr/zephyr_getchar: Add support for Ctrl+C handling. | Paul Sokolovsky | |
Patch on top of upstream Zephyr console helpers. | |||
2016-10-10 | zephyr/main: Execute main.py frozen module on boot, if available. | Paul Sokolovsky | |
2016-10-10 | zephyr: Enable frozen modules support. | Paul Sokolovsky | |
2016-10-10 | zephyr: Enable stack checking and micropython.mem_info(). | Paul Sokolovsky | |
2016-10-10 | zephyr: Add README. | Paul Sokolovsky | |
2016-10-10 | zephyr: Use recently added "make outputexports" Zephyr target. | Daniel Thompson | |
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 | zephyr/Makefile: Automatically derive target-specific CFLAGS. | Paul Sokolovsky | |
By tricking Zephyt arch Makefiles compute them for us (not just for Zephyr). This make potentially break as Zephyr evolves. | |||
2016-10-10 | zephyr: Support extra make targets | Daniel Thompson | |
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 | zephyr: Automatically derive ARCH. | Daniel Thompson | |
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 | zephyr: Switch to microkernel, required for network to work in background. | Paul Sokolovsky | |
2016-10-10 | zephyr: Add zephyr_getchar module to handle console input. | Paul Sokolovsky | |
From https://github.com/pfalcon/zephyr_getchar . | |||
2016-10-10 | zephyr: Initial Zephyr RTOS port, Zephyr part. | Paul Sokolovsky | |
2016-10-10 | zephyr: Initial Zephyr RTOS port, MicroPython part. | Paul Sokolovsky | |