aboutsummaryrefslogtreecommitdiff
path: root/cc3200/hal/cc3200_hal.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-09-04cc3200: Use standard implementation of keyboard interrupt.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-02-06cc3200: 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.
2016-10-18cc3200: Use mp_raise_XXX helper functions to reduce code size.Damien George
Reduces code size by 632 bytes.
2016-06-28cc3200: Add basic threading capabilities.Damien George
Can create a new thread and run it. Does not use the GIL at this point.
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-10-29cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms().Paul Sokolovsky
2015-10-29cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().Paul Sokolovsky
2015-10-17cc3200: Improvements to terminal duplication.danicampora
2015-09-27cc3200: Implement support for os.dupterm().Daniel Campora
2015-09-10cc3200: Add mphal error to raise hardware related exceptions.Daniel Campora
2015-07-08cc3200: Correct udelay us to ticks calculation.Daniel Campora
2015-07-08cc3200: Use alternative HAL_Delay also when interrupts are disabled.Daniel Campora
2015-07-07cc3200: Improve interrupt handling and fix bug in HAL_Delay().Daniel Campora
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 SD module and disable SD card support for the LAUNCHXL.danicampora
2015-02-20cc3200: Refactor UART and I2C object creation.danicampora
I2C objects can be freed by the GC and a __del__ method is provided in order to de-init the peripheral prior to being garbage collected. UART objects are now added to a local list and this list is now part of the VM_STATE.
2015-02-20cc3200: Disable FreeRTOS asserts. Optimize more files if BTYPE=debug.danicampora
2015-02-13cc3200: Get bootloader compiling with changes to HAL.Damien George
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-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.