aboutsummaryrefslogtreecommitdiff
path: root/cc3200/mods/pybrtc.c
AgeCommit message (Collapse)Author
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.
2017-08-30all: Convert remaining "mp_uint_t n_args" to "size_t n_args".Damien George
This is to have consistency across the whole repository.
2017-08-21all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2017-03-31all: Use full path name when including mp-readline/timeutils/netutils.Damien George
This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed.
2017-03-29cc3200: Update to use size_t for tuple/list accessors.Damien George
2017-02-22cc3200: When raising OSError's use MP_Exxx as arg instead of a string.Damien George
2017-02-21cc3200: Remove remaining references to std.h.Damien George
2017-01-04all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky
Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
2016-10-18cc3200: Use mp_raise_XXX helper functions to reduce code size.Damien George
Reduces code size by 632 bytes.
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
The first argument to the type.make_new method is naturally a uPy type, and all uses of this argument cast it directly to a pointer to a type structure. So it makes sense to just have it a pointer to a type from the very beginning (and a const pointer at that). This patch makes such a change, and removes all unnecessary casting to/from mp_obj_t.
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
2015-09-27cc3200: Rename pyb module to machine.Daniel Campora
2015-09-27cc3200: New irq API, affects all classes that provide the irq method.Daniel Campora
2015-09-21cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora
2015-09-10cc3200: Re-work Pin class according to the new API.Daniel Campora
Also add relevant test.
2015-08-16cc3200: Improve callback API.Daniel Campora
Rename "wakes" param to "wake_from" and make "value" an object instead of an integer.
2015-07-10cc3200: Set simplelink time and date when enabling WLAN.Daniel Campora
2015-07-02cc3200: Set WLAN date/time via the rtc.datetime method().Daniel Campora
WLAN needs time info when validating certificates.
2015-05-27cc3200: Add make_new method to the RTC, like in stmhal.Daniel Campora
2015-05-17cc3200: Make sure RTC wake value is >= 1ms.Daniel Campora
2015-05-17cc3200: Add Timer module. Supports free running, PWM and capture modes.Daniel Campora
2015-05-17cc3200: Fix power mode param check in the UART callback constructor.Daniel Campora
2015-05-13lib: Move time utility functions to common library.Josef Gajdusek
2015-05-03cc3200: Clear the pending interrupt flag when disabling RTC callbacks.Daniel Campora
2015-03-26cc3200: Add callback support to the UART for RX interrupts.Daniel Campora
2015-03-17cc3200: Add RTC callback with wake-up from sleep capability.danicampora
2015-03-16cc3200: Fix bug in RTC msec register access functions.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-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: Place functions only used while booting in a special section.danicampora
Such functions are never used after MicroPython has started, and they remain in RAM wasting space. Now they are placed in a special section named "boot" which sits just before the heap, allowing us to extend the effective heap area up to the new boot section. Right now, this gives us back ~1K, but in the future, more functions might end up in there as well.
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-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.