summaryrefslogtreecommitdiff
path: root/cc3200
AgeCommit message (Collapse)Author
2016-06-28cc3200: Define our own FreeRTOS heap so it can go in a special segment.Damien George
2016-06-28cc3200: Update FreeRTOS to v9.0.0.Damien George
This is a pristine copy (actually a subset of files) of upstream FreeRTOS v9.0.0. Modifications to the previous version of FreeRTOS (v8.1.2) included addition of __attribute__ ((section (".boot"))) to the following functions: pxPortInitialiseStack prvTaskExitError prvPortStartFirstTask xPortStartScheduler vPortSetupTimerInterrupt xTaskGenericCreate vTaskStartScheduler prvInitialiseTCBVariables prvInitialiseTaskLists prvAllocateTCBAndStack This attribute will need to be reinstated on a case-by-case basis because some of the above functions are now removed/changed.
2016-06-18all: Rename mp_obj_type_t::stream_p to protocol.Paul Sokolovsky
It's now used for more than just stream protocol (e.g. pin protocol), so don't use false names.
2016-05-02stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77.Damien George
A standard I2C address is 7 bits but addresses 0b0000xxx and 0b1111xxx are reserved. The scan() method is changed to reflect this, along with the docs.
2016-04-25cc3200, 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-04-16py: Add rules for automated extraction of qstrs from sources.Jan Čapek
- add template rule that converts a specified source file into a qstring file - add special rule for generating a central header that contains all extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED variable. Each platform appends a list of sources that may contain qstrings into a new build variable: SRC_QSTR. Any autogenerated prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable. - remove most qstrings from py/qstrdefs, keep only qstrings that contain special characters - these cannot be easily detected in the sources without additional annotations - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200, stmhal, teensy, unix, windows, pic16bit: - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.) - remove all port specific qstrdefs except for special strings - append sources for qstr generation in platform makefiles (SRC_QSTR)
2016-04-15py: Declare help, input, open builtins in core.Paul Sokolovsky
These are *defined* per-port, but why redeclare them again and again.
2016-04-13ports: Disable async/await on bare-arm, minimal, pic16bit, cc3200.Damien George
It costs 1188 bytes of code on Thumb 2 archs.
2016-04-06cc3200/mods/modwlan: Include stream.h after recent refactor.Paul Sokolovsky
2016-02-27cc3200: Update WiPy software version to 1.2.0danicampora
2016-02-22cc3200: Rename 'server' class to 'Server' for consistency.danicampora
2016-02-21cc3200: Improve robustness of WLAN during sleep modes.danicampora
2016-02-21cc3200: Fix "debug" build.danicampora
2016-02-21test/wipy: Add Timer class tests.danicampora
2016-02-21cc3200: 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.
2016-02-21cc3200: Improve robustness of the I2C driver.danicampora
When scanning for devices, try reading then writing. Increase the timeout of the transactions from 10 to 20 ms.
2016-02-21cc3200: Finally fix the Timer class API.danicampora
Properly calculate the period and the prescaler, this now allows to set the PWM frequency down to 5Hz. Make Timer IDs go from 0 to 3. Add the trigger definitions for the channel IRQ.
2016-02-15cc3200: Fix breakage after VfsFat refactor.Paul Sokolovsky
2016-02-07cc3200: Add stmhal/builtin_open.c to build.Paul Sokolovsky
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-12-18stmhal, cc3200: Actually implement machine -> umachine module weak link.Paul Sokolovsky
2015-12-18ports: Rename "machine" module to "umachine".Paul Sokolovsky
To let unix port implement "machine" functionality on Python level, and keep consistent naming in other ports (baremetal ports will use magic module "symlinking" to still load it on "import machine"). Fixes #1701.
2015-12-04cc3200: Add __get_BASEPRI and __set_BASEPRI inline function definitions.Damien George
2015-11-29cc3200: Correct buffer offset in serial flash diskio module.danicampora
2015-11-29py: Change qstr_* functions to use size_t as the type for str len arg.Damien George
2015-11-18cc3200: Bump version to 1.1.1.danicampora
2015-11-18cc3200/README.md: Correct cc3200's update file name.danicampora
2015-11-18cc3200/appsign.sh: Use md5 if running under Darwin.Gary Ashton-Jones
2015-11-18docs: Update docs for WiPy wlan.connect().Noah
- The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg
2015-11-16cc3200: Unmount all user file systems after a soft reset.danicampora
2015-11-10lib/utils/printf: Move from stmhal/ .Paul Sokolovsky
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
2015-11-09stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.Paul Sokolovsky
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).
2015-11-09lib/pyexec: Move header pyexec.h from stmhal directory.Damien George
2015-11-08cc3200: FatFS configuration moved to the library folder.Alex March
Port specific settinigs defined in mpconfigport. FreeRTOS and semphr headers added to define SemaphoreHandle_t for the SYNC_T.
2015-11-06cc3200: Force SSL method to be TLSV1.danicampora
The default setting of using the "highest" method available doesn't work with some servers like Microsoft Azure. TLSV1 seems to work with pretty much any server.
2015-11-05cc3200: Make telnet server ignore NULL characters.danicampora
This fixes paste mode (Ctrl-E) which was not working for the telnet REPL.
2015-11-01cc3200: Remove includes of rom.h (must be included via rom_map.h).danicampora
2015-11-01cc3200: Fix SPI clock divider calculation.danicampora
2015-10-31cc3200: Use common pyexec.c .Paul Sokolovsky
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-28cc3200: Actually allow to specify a custom build directory.danicampora
2015-10-28cc3200: Fix bug in FTP command buffer, and set listening backlog to 0.danicampora
2015-10-26cc3200: Set pin direction first, then value. Fixes #1542.danicampora
2015-10-25cc3200: Update README to change pyb to machine.Martijn Koster
2015-10-25cc3200: Allow to read pin value when in OPEN_DRAIN mode.danicampora
2015-10-25cc3200: Enable WLAN irq on creation.danicampora
2015-10-22cc3200: Add created sockets to the registry.danicampora
2015-10-21cc3200: Bump version to 1.1.0danicampora
Incluides several improvements and a few API changes to comply with the new hardware API.