aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-29stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO).Bob Clough
2015-08-30tests: Split byteorder-dependent tests to *_endian.py's.Paul Sokolovsky
2015-08-30run-tests: Allow to skip byteorder-dependent tests.Paul Sokolovsky
If byteorder of MicroPython under test and host CPython differ.
2015-08-29py: Treat -m32 flag as part of CC, LD, etc.Paul Sokolovsky
Indeed, this flag efectively selects architecture target, and must consistently apply to all compiles and links, including 3rd-party libraries, unlike CFLAGS, which have MicroPython-specific setting.
2015-08-29tests/ffi_float: Split tgammaf() testcase to a separate test.Paul Sokolovsky
Some libc's may implement tgammaf as a header macro using tgamma(), so don't assume it'll be in the library.
2015-08-29esp8266: Added wifi_mode() to read and set WiFi operating mode.Bill Owens
2015-08-28tests: Add test on set/frozenset equality.Paul Sokolovsky
2015-08-28objset: frozensets are hashable.Paul Sokolovsky
2015-08-25tests: For unix ffi float test, add libm.so.6 to library search list.Damien George
Latest Arch Linux doesn't have libm.so as a proper shared object and so we need to load libm.so.6.
2015-08-22README: Add hint about "micropython --help".Paul Sokolovsky
Also, hint about possibility to adjust heap size.
2015-08-22unix: Bump default heap size to 1MB (2MB on 64-bit systems).Paul Sokolovsky
2015-08-21tests: Add more tests to improve coverage, mostly testing exceptions.Damien George
2015-08-21tests: Make io test cleanup after itself by removing 'testfile'.Damien George
2015-08-20py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports.Paul Sokolovsky
Saves 320 bytes on x86.
2015-08-17py: Remove unused compile scope flags, and irrelevant flag compute code.Damien George
2015-08-18extmod/modmachine: Avoid conflicts with system PAGE_SIZE define, if any.Paul Sokolovsky
2015-08-17stmhal: Fixed some typos in stm32f411_af.csv.tobbad
2015-08-17unix-cpy: Remove unix-cpy. It's no longer needed.Damien George
unix-cpy was originally written to get semantic equivalent with CPython without writing functional tests. When writing the initial implementation of uPy it was a long way between lexer and functional tests, so the half-way test was to make sure that the bytecode was correct. The idea was that if the uPy bytecode matched CPython 1-1 then uPy would be proper Python if the bytecodes acted correctly. And having matching bytecode meant that it was less likely to miss some deep subtlety in the Python semantics that would require an architectural change later on. But that is all history and it no longer makes sense to retain the ability to output CPython bytecode, because: 1. It outputs CPython 3.3 compatible bytecode. CPython's bytecode changes from version to version, and seems to have changed quite a bit in 3.5. There's no point in changing the bytecode output to match CPython anymore. 2. uPy and CPy do different optimisations to the bytecode which makes it harder to match. 3. The bytecode tests are not run. They were never part of Travis and are not run locally anymore. 4. The EMIT_CPYTHON option needs a lot of extra source code which adds heaps of noise, especially in compile.c. 5. Now that there is an extensive test suite (which tests functionality) there is no need to match the bytecode. Some very subtle behaviour is tested with the test suite and passing these tests is a much better way to stay Python-language compliant, rather than trying to match CPy bytecode.
2015-08-16cc3200: Correct smoke test expected result.Daniel Campora
2015-08-16cc3200: Correct WLAN constructor argument checking.Daniel Campora
2015-08-16cc3200: Don't clear the WDT special bit in the bootloader.Daniel Campora
2015-08-16cc3200: Change HeartBeat period from 5 to 4 seconds.Daniel Campora
2015-08-16cc3200: Fix typo in modpyb.Daniel Campora
2015-08-16cc3200: Remove unneeded loops in the FreeRTOS hooks.Daniel Campora
2015-08-16cc3200: Make sure to update sleep objects when registered.Daniel Campora
2015-08-16cc3200: Small renaming in wdt functions for the sake of consistency.Daniel Campora
2015-08-16cc3200: Rework SD API. Increase heap to avoid malloc failures.Daniel Campora
2015-08-16cc3200: Rename SPI nss param to cs.Daniel Campora
The nss param in the pyboard has a different meaning that doesn't apply to the WiPy.
2015-08-16cc3200: Improve callback API.Daniel Campora
Rename "wakes" param to "wake_from" and make "value" an object instead of an integer.
2015-08-16cc3200: Server side SSL socket requires both certfile and keyfile.Daniel Campora
2015-08-15stmhal: Enable I & D caches for M7Dave Hylands
2015-08-14windows: Make unistd.h more posix compatiblestijn
- add SEEK_XXX definitions, this fixes missing definition in py/stream.c - move R_OK from realpath.c and add W_OK/F_OK defintions - move STDXXX_FILENO definitions from mpconfigport for consistency
2015-08-13py: Add stream_tell method, and use for unix and stmhal file tell.blmorris
2015-08-12py: In native ARM emitter, load r7 with table earlier in func prelude.Damien George
r7 may be needed to set up code state, so it must be loaded before the set-up function is called.
2015-08-12py/makeversionhdr.py: Use returncode attr to be Python2.7 compat.Damien George
2015-08-11tools: Make gen-changelog.sh print more lines from the tag annotation.Damien George
2015-08-11docs: Bump version to 1.4.5.Damien George
2015-08-11py/makeversionhdr.py: Fallback to using docs version if no git repo.Damien George
Addresses issue #1420.
2015-08-10cc3200: Make ADC API compatible with the pyboard.Daniel Campora
2015-08-09cc3200: On the first boot, always make AP ssid='wipy-wlan'.Daniel Campora
On the first boot don't add the MAC address, this is to speed up factory testing.
2015-08-09cc3200: Refactor PRCM special user bits implementation.Daniel Campora
2015-08-09cc3200: Speed up file system checking during start-up.Daniel Campora
2015-08-09cc3200: Add factory smoke test as part of the tools.Daniel Campora
2015-08-09cc3200: Add script to program the WiPy via UniFlash (windows only...).Daniel Campora
2015-08-09cc3200: Fix bug in ffconf regarding '/flash' string length.Daniel Campora
This bug was introduced when renaming '/sflash' to '/flash'.
2015-08-09cc3200: Enable bootloader safe boot on latest firmware.Daniel Campora
The first safe boot level executes the latest firmware but skips 'main.py' and 'boot.py'.
2015-08-09cc3200: Improve support for WEP security.Daniel Campora
Key is always entered as a string, but if security is WEP, the key is converted automatically to hex before connecting or configuring the device as an AP.
2015-08-09docs: Add i2c keywork arguments only indication.Daniel Campora
2015-08-09cc3200: Add nic.iwconfig() to set/get WLAN configuration.Daniel Campora
Changes are based on this post: https://github.com/micropython/micropython/issues/876#issuecomment-115255551 The constructor can optionally take the same params of iwconfig in order to configure WiFi when creating the object. Params are keyworkd only. The WiPy accepts: - mode (int -> WLAN.AP or WLAN.STA) - ssdi (string) - security (int -> WLAN.OPEN, WLAN.WEP, WLAN.WPA, WLAN.WPA2) - key (string) - channel (int (1-11)) - antenna (int -> WLAN.INTERNAL, WLAN.EXTERNAL)
2015-08-08tools: Make pyboard.py Python2 compatible.Damien George