| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-09-06 | ports: 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-09-04 | cc3200: Use standard implementation of keyboard interrupt. | Damien George | |
| 2017-08-30 | all: 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-21 | all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros. | Damien George | |
| 2017-07-31 | all: Use the name MicroPython consistently in comments | Alexander Steffen | |
| There were several different spellings of MicroPython present in comments, when there should be only one. | |||
| 2017-07-18 | all: 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 | |||
| 2017-02-22 | cc3200: When raising OSError's use MP_Exxx as arg instead of a string. | Damien George | |
| 2017-02-21 | cc3200: Remove util/std.h, can just use stdio.h instead. | Damien George | |
| 2017-02-06 | cc3200: Refactor "ticks" functions to use common extmod implementation. | Damien George | |
| The port now uses the common mp_utime_ticks_{ms,us,cpu,add,diff} functions from extmod/utime_mphal.c. The mp_utime_sleep_XXX functions are still cc3200-specific because they handle the GIL differently to the ones in extmod. The files misc/mpsystick.[ch] have been removed because they contain 2 unused functions, and the other remaining function is renamed to mp_hal_ticks_us and moved to hal/cc3200_hal.c. | |||
| 2017-01-22 | cc3200: Convert to use builtin help function. | Damien George | |
| 2017-01-04 | all: 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-18 | cc3200: Use mp_raise_XXX helper functions to reduce code size. | Damien George | |
| Reduces code size by 632 bytes. | |||
| 2016-06-28 | cc3200: Remove obsolete singleton heart-beat object. | Damien George | |
| 2016-04-25 | cc3200, stmhal, teensy: Use pyhelp_print_obj function. | Colin Hogben | |
| Update the help() implementations in the cc3200, stmhal and teensy ports to use the pyhelp_print_obj function. | |||
| 2016-02-21 | cc3200: Simplify the Timer API and correct the documents. | danicampora | |
| Make the PWM duty cycle configurable from 0.00 to 100.00 by accepting values from 0 to 10000. Add automatic Pin assignment when operating in PWM mode. | |||
| 2015-11-01 | cc3200: Remove includes of rom.h (must be included via rom_map.h). | danicampora | |
| 2015-10-31 | all: 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-10-29 | cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms(). | Paul Sokolovsky | |
| 2015-10-21 | cc3200: Correct ticks_cpu and ticks_us functions in time module. | danicampora | |
| 2015-10-19 | cc3200: Create wipy module, remove HeartBeat class. | danicampora | |
| The heartbeat is now controllable via a single function within the wipy module. | |||
| 2015-10-12 | Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. | Damien George | |
| 2015-09-27 | cc3200: New irq API, affects all classes that provide the irq method. | Daniel Campora | |
| 2015-09-21 | cc3200: New SD and RTC API plus os and time modules' extensions. | Daniel Campora | |
| 2015-09-16 | cc3200: Increase error led blynk period to 100ms | Daniel Campora | |
| 2015-09-10 | cc3200: New UART API plus related test. | Daniel Campora | |
| 2015-09-10 | cc3200: Add alternate functions list to Pin object. | Daniel Campora | |
| Also remove pin.high() and pin.low() methods. | |||
| 2015-09-10 | cc3200: Fix bug in pybsleep remove. | Daniel Campora | |
| 2015-09-10 | cc3200: Implement new Pin API. | Daniel Campora | |
| 2015-08-16 | cc3200: Change HeartBeat period from 5 to 4 seconds. | Daniel Campora | |
| 2015-08-16 | cc3200: Remove unneeded loops in the FreeRTOS hooks. | Daniel Campora | |
| 2015-08-16 | cc3200: Improve callback API. | Daniel Campora | |
| Rename "wakes" param to "wake_from" and make "value" an object instead of an integer. | |||
| 2015-08-09 | cc3200: Refactor PRCM special user bits implementation. | Daniel Campora | |
| 2015-07-08 | cc3200: Use alternative HAL_Delay also when interrupts are disabled. | Daniel Campora | |
| 2015-07-07 | cc3200: Improve interrupt handling and fix bug in HAL_Delay(). | Daniel Campora | |
| 2015-06-28 | cc3200: Add `Pin.name()` method. | Daniel Campora | |
| 2015-06-10 | cc3200: Use the pull up/down resistors on the antenna selection pins. | Daniel Campora | |
| 2015-06-10 | cc3200: Fix bootloader build error. | Daniel Campora | |
| 2015-06-10 | cc3200: Add contructor to the HeartBeat class. | Daniel Campora | |
| 2015-06-07 | cc3200: Re-config antenna selection when waking from suspended mode. | Daniel Campora | |
| 2015-06-07 | cc3200: Add missing antenna diversity source files. | Daniel Campora | |
| 2015-06-07 | cc3200: Add antenna selection feature to WLAN. | Daniel Campora | |
| 2015-06-04 | cc3200: Do not kick the watchdog inside the idle task. | Daniel Campora | |
| 2015-05-25 | cc3200: Make HeartBeat.disable() thread safe. | Daniel Campora | |
| 2015-05-17 | cc3200: Re-name 'intmode' to 'mode' in the callback API. | Daniel Campora | |
| 2015-05-17 | cc3200: Add Timer module. Supports free running, PWM and capture modes. | Daniel Campora | |
| 2015-05-03 | cc3200: Clean up pyb.Pin | Daniel 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-18 | cc3200: Clean up and reduce use/include of std.h. | Damien George | |
| 2015-04-17 | cc3200: Use new %q format to print qstr's where appropiate. | Daniel Campora | |
| 2015-04-16 | py: 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-26 | cc3200: Reenable active interrupts when waking from suspended mode. | Daniel Campora | |
