aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-27stmhal: Remove PYBVxx defines and use config vars for UART/CAN names.Damien George
Now all stmhal-based boards can name their peripherals (if they want) to any string.
2015-05-27unix: Add option to use uPy readline, and enable by default.Damien George
This gets uPy readline working with unix port, with tab completion and history. GNU readline is still supported, configure using MICROPY_USE_READLINE variable.
2015-05-27unix: Factor out stdio and ctrl-C code to unix_mphal.c file.Damien George
2015-05-27lib/mp-readline: Export readline_push_history function.Damien George
2015-05-27cc3200: Simplify SPI polarity and phase checks in constructor.Daniel Campora
2015-05-27cc3200: Add note about old revisions of the CC3200-LAUNCHXL.Daniel Campora
2015-05-27cc3200: Move the STDIO UART pin configuration to mpconfigboard.h.Daniel Campora
2015-05-27cc3200: Fix I2C and SPI module references.Daniel Campora
2015-05-27cc3200: Add make_new method to the WDT.Daniel Campora
2015-05-27cc3200: Add make_new method to the RTC, like in stmhal.Daniel Campora
2015-05-27cc3200: Use the WDT stall feature in debug mode only.Daniel Campora
2015-05-27cc3200: Use MCU reset instead of SOC reset.Daniel Campora
I have seen the CC3200 hanging a couple of times, and according to TI itself the SOC reset is not reliable, which explains my observations.
2015-05-26esp8266: Move initialization to system_init_done_cbJosef Gajdusek
Initializing too early caused some of the API functions (wifi_*) to fail when called in main.py
2015-05-26esp8266: Add uos moduleJosef Gajdusek
Currently implements only .uname()
2015-05-26cc3200: Clean up exception handling.Daniel Campora
2015-05-26cc3200: Use polarity and phase instead of submode in the SPI construct.Daniel Campora
2015-05-25cc3200: Make API more similar to stmhal.Daniel Campora
In general the changes are: 1. Peripheral (UART, SPI, ADC, I2C, Timer) IDs start from 1, not zero. 2. Make I2C and SPI require the ID even when there's only one bus. 3. Make I2C and SPI accept 'mode' parameter even though only MASTER is supported.
2015-05-25cc3200: Make the WDT aware of the servers sleep/wake state.Daniel Campora
2015-05-25cc3200: Use the correct ADC channel index when creating the object.Daniel Campora
2015-05-25cc3200: Remove duplicated checks for boot.py and main.py existency.Daniel Campora
2015-05-25cc3200: Make HeartBeat.disable() thread safe.Daniel Campora
2015-05-25py: Make makeversionhdr.py extract version from docs/conf.py if no git.Damien George
Addresses issue #1285.
2015-05-24stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode.Damien George
It's configurable and only enabled for stmhal port.
2015-05-24stmhal: Detect disk full conditionDave Hylands
2015-05-24cc3200: Remove NIC abstraction layer.Daniel Campora
That layer is nice, but the CC3200 doesn't need it and getting rid of it saves ~200 bytes, which are more than welcome.
2015-05-24cc3200: Reset the servers and close user sockets on WLAN disconection.Daniel Campora
This is needed to avoid half-open connections.
2015-05-23stmhal: Make pendsv variable non-static so gcc-5 doesn't opt it away.Damien George
2015-05-22cc3200: Finally unlock the full wake on WLAN feature set.Daniel Campora
2015-05-22cc3200: Add own ubinascii module.Daniel Campora
The reason to have our owm ubinascii module is so that later we can add crc32 support using the hardware engine.
2015-05-22extmod: Actually expose the ubinascii python methods.Daniel Campora
2015-05-21lib: Fix some issues in timeutilsDave Hylands
In particular, dates prior to Mar 1, 2000 are screwed up. The easiest way to see this is to do: >>> import time >>> time.localtime(0) (2000, 1, 1, 0, 0, 0, 5, 1) >>> time.localtime(1) (2000, 1, 2, 233, 197, 197, 6, 2) With this patch, we instead get: >>> import time >>> time.localtime(1) (2000, 1, 1, 0, 0, 1, 5, 1) Doh - In C % is NOT a modulo operator, it's a remainder operator.
2015-05-21py: Remove hexdigest QSTR since the method has been removed as well.Daniel Campora
2015-05-21cc3200: Remove uhashlib.hexdigest().Daniel Campora
2015-05-21moduhashlib: Remove not implemented .hexdigest().Paul Sokolovsky
Effect can be easily achieved by ubinsacii.hexlify(hash.digest()).
2015-05-21extmod: Expose mod_binascii_hexlify() and mod_binascii_unhexlify().Daniel Campora
2015-05-20pic16bit: Add readinto and readlines to qstrs.Damien George
2015-05-20cc3200: Add uhashlib. Supports SHA1 and SHA256.Daniel Campora
2015-05-20cc3200: Fix time.localtime() so that it returns the correct fields.Daniel Campora
2015-05-20cc3200: Rewrite WLAN.ifconfig(). Add WLAN.info() and WLAN.connections().Daniel Campora
2015-05-20cc3200: Disable UCTYPES and enable ARRAY_SLICE_ASSIGN.Daniel Campora
2015-05-20py: Minor improvement to unichar_isxdigitDave Hylands
This drops the size of unicode_isxdigit from 0x1e + 0x02 filler to 0x14 bytes (so net code reduction of 12 bytes) and will make unicode_is_xdigit perform slightly faster.
2015-05-20extmod: Add ubinascii.unhexlifyDave Hylands
This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
2015-05-18tools: Add exec_raw_no_follow to pyboard.py.Dave Hylands
2015-05-17py: Implement mp_format_float for doubles and use where appropriatestijn
This allows using (almost) the same code for printing floats everywhere, removes the dependency on sprintf and uses just snprintf and applies an msvc-specific fix for snprintf in a single place so nan/inf are now printed correctly.
2015-05-17py/binary: Make return type of mp_binary_get_size size_t instead of int.Kaspar Schleiser
Fixes sign-compare warning.
2015-05-17py/objobject: Don't make locals_dict if there's nothing to go in it.Kaspar Schleiser
2015-05-17py: Change _mp_obj_fun_builtin_t.fun to function pointer.Kaspar Schleiser
ISO C forbids conversion between function pointers and void*, gcc -pedantic triggers a warning.
2015-05-17py: Clean up declarations of str type/funcs that are also in unicode.Damien George
Background: trying to make an amalgamation of all the code gave some errors with redefined types and inconsistent use of static.
2015-05-17cc3200: Set the timer edge count interrupt value in the calbback const.Daniel Campora
2015-05-17cc3200: Make sure RTC wake value is >= 1ms.Daniel Campora