summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* docs: Document esp module for ESP8266.Radomir Dopieralski2015-05-30
| | | | | | | | | | | | | I document as much as I could guess from experiments and reading the code for the ``esp`` module for the ESP8266 port of Micropython. For now the tag has to be set manually with -t option when building, when we have properly split documentation, there will be a separate config file for esp8266 with that the tag "port_esp8266" set. To build use: make SPHINXOPTS="-t port_esp8266" html
* lib/mp-readline: Allow overriding implementation of cursor functionsstijn2015-05-30
| | | | | Default implementation uses VT100-style sequences which are not implemented by all terminals out there
* lib/mp-readline: Add implementation for deleting a characterstijn2015-05-30
| | | | xterm and others use the ESC[~3 sequence when pressing the delete key
* unix: Print an extra newline to the output on ctrl-Dstijn2015-05-30
| | | | | This assures the terminal prints it's prompt on a fresh line instead of appending it to the uPy prompt after exit.
* unix: minimal: Don't use readline support.Paul Sokolovsky2015-05-30
| | | | | After switching to builtin readline support, "minimal" no longer builds, and minimal doesn't really need readline support.
* unix: Allow to override default sys.path value.Paul Sokolovsky2015-05-30
| | | | | | | Using MICROPY_PY_SYS_PATH_DEFAULT macro define. A usecase is building a distribution package, which should not have user home path by default in sys.path. In such case, MICROPY_PY_SYS_PATH_DEFAULT can be defined on make command-line (using CFLAGS_EXTRA).
* tools/make-frozen.py: Open files in binary mode.Paul Sokolovsky2015-05-30
|
* tools/make-frozen.py: Preserve directory hierarchy.Paul Sokolovsky2015-05-30
| | | | | Currently, frozen packages are not supported, but eventually they should be, so make sure to store complete directory hierarchy.
* bootstrap_upip.sh: Allow to install into a path given by argument.Paul Sokolovsky2015-05-29
|
* cc3200: Add period set method to the Timer class.Daniel Campora2015-05-29
|
* cc3200: Fix incorrect type for the wake cause variable.Daniel Campora2015-05-29
|
* cc3200: Clean up WLAN API. Make WLAN.info() an attrtuple.Daniel Campora2015-05-29
|
* cc3200: Rename pyb.reset() to pyb.hard_reset() and add pyb.unique_id().Daniel Campora2015-05-29
|
* esp8266: Add a bunch of miscellaneous methodsJosef Gajdusek2015-05-28
|
* esp8266: Add pyb.ADC classJosef Gajdusek2015-05-28
|
* esp8266: Enable setting CPU frequency to 160MHzJosef Gajdusek2015-05-28
|
* tests: Add special tests to test mp_printf function to improve coverage.Damien George2015-05-28
|
* tests: Add some tests for printing floats to improve coverage.Damien George2015-05-28
|
* py: Remove unnecessary extra handling of padding of nan/inf.Damien George2015-05-28
| | | | | | | C's printf will pad nan/inf differently to CPython. Our implementation originally conformed to C, now it conforms to CPython's way. Tests for this are also added in this patch.
* py: Reduce size of mp_printf by eliminating unnecessary code.Damien George2015-05-28
| | | | Saves around 120 bytes on Thumb2 archs.
* cc3200: Remove WIPY-SD variant, and make the WiPy the default board.Daniel Campora2015-05-28
|
* cc3200: Rename Pin.get_config() to Pin.info().Daniel Campora2015-05-28
|
* cc3200: Make small changes in WLAN to improve the API.Daniel Campora2015-05-28
|
* tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses.Damien George2015-05-28
|
* stmhal: Fix off-by-one error when checking for valid I2C and SPI bus.Damien George2015-05-28
|
* ACKNOWLEDGEMENTS: Add 1 backer name to the file.Damien George2015-05-28
|
* tools: Allow pyboard constructor to take a baudrate parameter.Dave Hylands2015-05-27
| | | | | This allows pyboard.py to be used over a UART interface rather than just over a USB serial interface.
* stmhal: Allow to name SPI busses, and give them names for pyboard.Damien George2015-05-27
|
* stmhal: Allow to name I2C busses, and give them names for pyboard.Damien George2015-05-27
|
* stmhal: Remove PYBVxx defines and use config vars for UART/CAN names.Damien George2015-05-27
| | | | | Now all stmhal-based boards can name their peripherals (if they want) to any string.
* unix: Add option to use uPy readline, and enable by default.Damien George2015-05-27
| | | | | | This gets uPy readline working with unix port, with tab completion and history. GNU readline is still supported, configure using MICROPY_USE_READLINE variable.
* unix: Factor out stdio and ctrl-C code to unix_mphal.c file.Damien George2015-05-27
|
* lib/mp-readline: Export readline_push_history function.Damien George2015-05-27
|
* cc3200: Simplify SPI polarity and phase checks in constructor.Daniel Campora2015-05-27
|
* cc3200: Add note about old revisions of the CC3200-LAUNCHXL.Daniel Campora2015-05-27
|
* cc3200: Move the STDIO UART pin configuration to mpconfigboard.h.Daniel Campora2015-05-27
|
* cc3200: Fix I2C and SPI module references.Daniel Campora2015-05-27
|
* cc3200: Add make_new method to the WDT.Daniel Campora2015-05-27
|
* cc3200: Add make_new method to the RTC, like in stmhal.Daniel Campora2015-05-27
|
* cc3200: Use the WDT stall feature in debug mode only.Daniel Campora2015-05-27
|
* cc3200: Use MCU reset instead of SOC reset.Daniel Campora2015-05-27
| | | | | 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.
* esp8266: Move initialization to system_init_done_cbJosef Gajdusek2015-05-26
| | | | | Initializing too early caused some of the API functions (wifi_*) to fail when called in main.py
* esp8266: Add uos moduleJosef Gajdusek2015-05-26
| | | | Currently implements only .uname()
* cc3200: Clean up exception handling.Daniel Campora2015-05-26
|
* cc3200: Use polarity and phase instead of submode in the SPI construct.Daniel Campora2015-05-26
|
* cc3200: Make API more similar to stmhal.Daniel Campora2015-05-25
| | | | | | | | | 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.
* cc3200: Make the WDT aware of the servers sleep/wake state.Daniel Campora2015-05-25
|
* cc3200: Use the correct ADC channel index when creating the object.Daniel Campora2015-05-25
|
* cc3200: Remove duplicated checks for boot.py and main.py existency.Daniel Campora2015-05-25
|
* cc3200: Make HeartBeat.disable() thread safe.Daniel Campora2015-05-25
|