aboutsummaryrefslogtreecommitdiff
path: root/cc3200/misc/mperror.h
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-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-07-18all: Unify header guard usage.Alexander Steffen
The code conventions suggest using header guards, but do not define how those should look like and instead point to existing files. However, not all existing files follow the same scheme, sometimes omitting header guards altogether, sometimes using non-standard names, making it easy to accidentally pick a "wrong" example. This commit ensures that all header files of the MicroPython project (that were not simply copied from somewhere else) follow the same pattern, that was already present in the majority of files, especially in the py folder. The rules are as follows. Naming convention: * start with the words MICROPY_INCLUDED * contain the full path to the file * replace special characters with _ In addition, there are no empty lines before #ifndef, between #ifndef and one empty line before #endif. #endif is followed by a comment containing the name of the guard macro. py/grammar.h cannot use header guards by design, since it has to be included multiple times in a single C file. Several other files also do not need header guards as they are only used internally and guaranteed to be included only once: * MICROPY_MPHALPORT_H * mpconfigboard.h * mpconfigport.h * mpthreadport.h * pin_defs_*.h * qstrdefs*.h
2016-06-28cc3200: Remove obsolete singleton heart-beat object.Damien George
2015-10-19cc3200: Create wipy module, remove HeartBeat class.danicampora
The heartbeat is now controllable via a single function within the wipy module.
2015-06-10cc3200: Add contructor to the HeartBeat class.Daniel Campora
2015-06-07cc3200: Add antenna selection feature to WLAN.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-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-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-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.