summaryrefslogtreecommitdiffstatshomepage
path: root/zephyr
Commit message (Collapse)AuthorAge
* zephyr/mphalport.h: Update for new "unified" kernal API (sleep functions).Paul Sokolovsky2016-11-09
|
* zephyr/Makefile: Add -fomit-frame-pointer.Paul Sokolovsky2016-11-05
| | | | | Somehow, Zephyr uses -fno-omit-frame-pointer, whch bloats code size considerably (+5K for minimal ARM Thumb2 build).
* zephyr/Makefile: Add minimal port.Paul Sokolovsky2016-11-05
|
* zephyr/Makefile: Allow to override Zephyr config from make command line.Paul Sokolovsky2016-11-04
|
* zephyr/Makefile: Update comments to the current state of affairs.Paul Sokolovsky2016-11-04
|
* zephyr/Makefile: Allow to adjust heap size from make command line.Paul Sokolovsky2016-11-04
|
* zephyr/mpconfigport.h: Move less important params to the bottom.Paul Sokolovsky2016-11-04
|
* extmod/utime_mphal: Implement ticks_add(), add to all maintained ports.Paul Sokolovsky2016-10-29
|
* zephyr/README: Update for the current featureset, add more info.Paul Sokolovsky2016-10-28
|
* zephyr: Support time -> utime module "weaklink".Paul Sokolovsky2016-10-28
| | | | So, now it's possible to just do normal Python's "import time".
* zephyr/zephyr_getchar: Update for recent Zephyr refactor of console hooks.Paul Sokolovsky2016-10-28
| | | | | uart_irq_input_hook_set() was renamed to uart_console_in_debug_hook_install() and accepts different params.
* zephyr: Initial implementation of machine.Pin.Daniel Thompson2016-10-27
| | | | | | | | | | | | | | | | | | | | | | 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>
* zephyr: Use board/SoC values for startup banner based on Zephyr config.Vincenzo Frascino2016-10-26
| | | | | 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.
* zephyr: Fix mp_hal_set_interrupt_char() declaration to be compatible.Paul Sokolovsky2016-10-26
| | | | | With other ports. Other ports declare it in mphalport.h, it can be inline or macro.
* zephyr: Implement utime module.Daniel Thompson2016-10-22
| | | | | | | | | 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>
* py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined.Paul Sokolovsky2016-10-21
| | | | | Now frozen modules generation handled fully by py.mk and available for reuse by any port.
* zephyr: Add copyright blurbs.Paul Sokolovsky2016-10-12
|
* zephyr/mpconfigport.h: Fix rebasing artifacts.Paul Sokolovsky2016-10-12
|
* zephyr: Implement the help() function.Daniel Thompson2016-10-12
| | | | | | | | 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>
* zephyr/Makefile: Be sure to extra qstr's from port sources.Paul Sokolovsky2016-10-12
|
* zephyr: Add Ctrl+C handling.Paul Sokolovsky2016-10-10
|
* zephyr/zephyr_getchar: Add support for Ctrl+C handling.Paul Sokolovsky2016-10-10
| | | | Patch on top of upstream Zephyr console helpers.
* zephyr/main: Execute main.py frozen module on boot, if available.Paul Sokolovsky2016-10-10
|
* zephyr: Enable frozen modules support.Paul Sokolovsky2016-10-10
|
* zephyr: Enable stack checking and micropython.mem_info().Paul Sokolovsky2016-10-10
|
* zephyr: Add README.Paul Sokolovsky2016-10-10
|
* zephyr: Use recently added "make outputexports" Zephyr target.Daniel Thompson2016-10-10
| | | | | | | | 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>
* zephyr/Makefile: Automatically derive target-specific CFLAGS.Paul Sokolovsky2016-10-10
| | | | | By tricking Zephyt arch Makefiles compute them for us (not just for Zephyr). This make potentially break as Zephyr evolves.
* zephyr: Support extra make targetsDaniel Thompson2016-10-10
| | | | | | | 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>
* zephyr: Automatically derive ARCH.Daniel Thompson2016-10-10
| | | | | | | | 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>
* zephyr: Switch to microkernel, required for network to work in background.Paul Sokolovsky2016-10-10
|
* zephyr: Add zephyr_getchar module to handle console input.Paul Sokolovsky2016-10-10
| | | | From https://github.com/pfalcon/zephyr_getchar .
* zephyr: Initial Zephyr RTOS port, Zephyr part.Paul Sokolovsky2016-10-10
|
* zephyr: Initial Zephyr RTOS port, MicroPython part.Paul Sokolovsky2016-10-10