aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-29cc3200: Move telnet_process_credential with the other private functions.Daniel Campora
Just for consistency.
2015-04-28unix/modffi: Support passing float/double args.Damien George
2015-04-28cc3200: Improve telnet_parse_input() in case of an incomplete option.Daniel Campora
2015-04-28cc3200: Make telnet login procedure work with Tera Term.Matt Anderson
This is actually a workaround Ter Term's issue of not obeying to the telnet options that the server is sending. Therefore, we must buffer chars until either a '\r' or the max length of the username/password is received.
2015-04-28lib/libc: Add memchr. We already have strchr, but memchr is useful too.Daniel Campora
2015-04-28cc3200: Add delays to allow the servers to start and stop properly.Daniel Campora
2015-04-28cc3200: Select NIC when the socket is created.Daniel Campora
This makes sense since only WLAN is supported here.
2015-04-28stmhal: Actually disable unhandled timer interrupts.Dave Hylands
2015-04-25py: Fix handling of negative numbers in struct.pack of q/Q.Damien George
2015-04-26vm: On exiting except block, clear sys.exc_info() value.Paul Sokolovsky
This doesn't handle case fo enclosed except blocks, but once again, sys.exc_info() support is a workaround for software which uses it instead of properly catching exceptions via variable in except clause.
2015-04-25py: Implement power op for long-long implementation of bignum.Damien George
2015-04-25py: Support conversion of bignum to bytes.Damien George
This gets int.to_bytes working for bignum, and also struct.pack with 'q' and 'Q' args on 32-bit machines. Addresses issue #1155.
2015-04-25cc3200: Correct MAKE_SOCKADDR and UNPACK_SOCKADDR byte order.Daniel Campora
2015-04-25modsys: Add basic sys.exc_info() implementation.Paul Sokolovsky
The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged.
2015-04-25objfun: Fix to stackless mode after recent refactor.Paul Sokolovsky
2015-04-24py: Modify bytecode "with" behaviour so it doesn't use any heap.Damien George
Before this patch a "with" block needed to create a bound method object on the heap for the __exit__ call. Now it doesn't because we use load_method instead of load_attr, and save the method+self on the stack.
2015-04-23py: Add optional code to check bytes constructor values are in range.Damien George
Compiled in only if MICROPY_CPYTHON_COMPAT is set. Addresses issue #1093.
2015-04-22stmhal: Reset the timer counter to zero after changing the auto reload.Dave Hylands
Because if the counter is above the new value of the auto-reload register then it may be a long time until the timer wraps around.
2015-04-22tests: Add more tests for viper, including tests for ViperTypeError's.Damien George
2015-04-22py/objint_mpz.c: Make int_from_uint actually return uint.Damien George
2015-04-22py/mpz.c: Fix bug with shl not truncating zero digits correctly.Damien George
2015-04-22py/emitnative.c: Fix stack adjustment when erroring on binary op.Damien George
2015-04-22cc3200: Add WiPy specific information to README.mdDaniel Campora
2015-04-22tests: Add tests for attrtuple, and for more corner cases.Damien George
2015-04-22py: Fix printing of "inf" and "nan" floating point values.Damien George
2015-04-22msvc: Update genhdr script to emit MicroPython version numbersstijn
2015-04-21docs: Document pyb.stop, pyb.standby and pyb.RTC.wakeup.Damien George
2015-04-21py: Clean up some bits and pieces in parser, grammar.Damien George
2015-04-21py: Simplify grammar for stmt rule (this is also how CPython has it).Damien George
2015-04-21stmhal: Implement os.uname() to get details of OS and hardware.Damien George
2015-04-21py: Add sys.implementation, containing uPy name and version number.Damien George
Uses attrtuple if it's enabled, otherwise just a normal tuple.
2015-04-21py: Add attrtuple object, for space-efficient tuples with attr access.Damien George
If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead.
2015-04-21tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script.Damien George
2015-04-21docs: Bump version to 1.4.2.Damien George
2015-04-21acks: Add 2 names to ACKNOWLEDGEMENTS file.Damien George
2015-04-20py: Make viper codegen raise proper exception (ViperTypeError) on error.Damien George
This fixes a long standing problem that viper code generation gave terrible error messages, and actually no errors on pyboard where assertions are disabled. Now all compile-time errors are raised as proper Python exceptions, and are of type ViperTypeError. Addresses issue #940.
2015-04-19tools/pyboard.py: Make it 8-bit clean, so it works with unicode chars.Damien George
Addresses issue #1190.
2015-04-19stmhal/pyexec.c: Make raw REPL mode 8-bit clean.Damien George
2015-04-19cc3200: Fix bootloader and modpyb after printf overhaul.Daniel Campora
The bootloader needs string0.c because of memset, memcpy and others, without string0.c it magically links, but calling any of those functions results in a hard fault. In debug mode, modpyb needs printf, and including stdio.h leads to conflicts due to the redefinitions made in the simplelink drivers.
2015-04-19qemu-arm: Disable inline asm tests that use floating point.Damien George
2015-04-19py/inlinethumb: Support for core floating point instructions.=
Adds support for the following Thumb2 VFP instructions, via the option MICROPY_EMIT_INLINE_THUMB_FLOAT: vcmp vsqrt vneg vcvt_f32_to_s32 vcvt_s32_to_f32 vmrs vmov vldr vstr vadd vsub vmul vdiv
2015-04-19py: Fix builtin ord so that it can handle bytes values >= 0x80.Damien George
Addresses issue #1188.
2015-04-18stmhal: Provide ADC capabilities for F401 and F411 MCUs.Damien George
Simply needed to define which pins have which ADC channel on them.
2015-04-18stmhal: Add support for STM32F411 MCU.Damien George
2015-04-18stmhal: For flash storage use same params for F407 as F405.Damien George
2015-04-18stmhal: Add support for Espruino Pico board.Damien George
To build: make BOARD=ESPRUINO_PICO To deploy: short the BOOT0/BTN contact on the back of the board (eg by drawing over it with a graphite pencil), then hold down BTN while inserting the board into the USB port. The board should then enter DFU mode, and the firmware can be downloaded using: make BOARD=ESPRUINO_PICO deploy
2015-04-18stmhal: Add stm32f401.ld for linking F401 targets.Damien George
2015-04-18stmhal: Make ld and af files configurable within Makefile.Damien George
Each board now needs an mpconfigboard.mk file which defines AF_FILE and LD_FILE. Also moved stm32f405.ld to boards/ directory to keep things organised.
2015-04-18stmhal: Add stm32f401_af.csv, for AF definitions of F401 MCUs.Damien George
2015-04-18stmhal: Rename stm32f4xx_af.csv to stm32f405_af.csv.Damien George
Since this file is only valid for F405 MCUs, not generic F4xx.