aboutsummaryrefslogtreecommitdiff
path: root/cc3200/misc
AgeCommit message (Collapse)Author
2015-06-07cc3200: Add antenna selection feature to WLAN.Daniel Campora
2015-06-04cc3200: Do not kick the watchdog inside the idle task.Daniel Campora
2015-05-25cc3200: Make HeartBeat.disable() thread safe.Daniel Campora
2015-05-17cc3200: Re-name 'intmode' to 'mode' in the callback API.Daniel Campora
2015-05-17cc3200: Add Timer module. Supports free running, PWM and capture modes.Daniel Campora
2015-05-03cc3200: Clean up pyb.PinDaniel Campora
Remove unused and unneeded functions, also create Pin.get_config() that returns the whole configuration of the pin. This reduces code size by ~500 bytes.
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-04-17cc3200: Use new %q format to print qstr's where appropiate.Daniel Campora
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs.
2015-03-26cc3200: Reenable active interrupts when waking from suspended mode.Daniel Campora
2015-03-26cc3200: Add callback support to the UART for RX interrupts.Daniel Campora
2015-03-25cc3200: Add GPIO25 to the pins list of the WiPy and the WiPy-SD.Daniel Campora
This allows to properly initialize the system led and add it to the sleep module so that it can be restored when resuming from suspended mode.
2015-03-21cc3200: Remove superfluous code in pybsleep.danicampora
2015-03-21cc3200: Re-name pybsystick to mpsystick.danicampora
2015-03-16cc3200: Remove double administration of callback objects.danicampora
2015-03-14cc3200: Rewrite the PRCM RTC functionality methods.danicampora
This allows to use the On-Chip retention registers for both the RTC and to share notification flags between the bootloader and the application. The two flags being shared right now are the "safe boot" request and the WDT reset cause. we still have 2 more bits free for future use.
2015-03-14cc3200: Increase heartbeat period from 3 to 5 seconds.danicampora
2015-03-12cc3200: Allow separate selection of the power mode in Pin callbacks.danicampora
2015-03-11cc3200: Add power management framework. Add mpcallback class.danicampora
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
2015-03-11cc3200: Merge ExtInt class into Pin class.danicampora
Also add another method to change the pin's interrupt mode on the fly.
2015-03-11cc3200: Make WDT and HeartBeat constant objects on their own right.danicampora
2015-02-28cc3200: Add heartbeat signal on system led.danicampora
2015-02-25cc3200: Implement safe boot pin and system led behaviour.danicampora
The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors.
2015-02-25cc3200: Add WDT functionality as part of the pyb module.danicampora
Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
2015-02-22cc3200: Remove dependencies from FreeRTOS.danicampora
Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
2015-02-21cc3200: Add explicit py/ path-prefix for py includes.Damien George
This is how it should be, so one knows exactly where the includes are coming from.
2015-02-13cc3200: Add I2C module. Only master mode is currently supported.danicampora
2015-02-13stmhal: Make pybstdio usable by other ports, and use it.Damien George
Now all ports can use pybstdio.c to provide sys.stdin/stdout/stderr, so long as they implement mp_hal_stdin_* and mp_hal_stdout_* functions.
2015-02-09cc3200: Rename GPIO module to Pin.danicampora
This change helps making the cc3200 port API a bit closer to stmhal. The ramaining differences are due to the specific hardware details of each chip. One feature that has been deliberately disabled is the possibility to add custom names and custom pin mappings. Those features are nice and convenient, but in this port, code size is a major concern.
2015-02-06cc3200: Add cc3200 port of MicroPython.danicampora
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.