summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
Commit message (Collapse)AuthorAge
* esp8266/README: Add hint about adding toolchain to PATH.Paul Sokolovsky2016-02-08
|
* esp8266/modpybrtc: pyb_rtc_memory(): Fix copy-paste error.Paul Sokolovsky2016-02-08
|
* esp8266/modesp: Implement flash_write(), flash_erase().Alex March2016-02-08
|
* py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George2016-01-11
| | | | | | | | 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.
* esp8266: Support CFLAGS_EXTRA.Paul Sokolovsky2016-01-08
|
* esp8266/modesp: Allow to compile out proprietary espconn stuff.Paul Sokolovsky2015-12-30
|
* esp8266: mac() function belongs to network module per the latest API.Paul Sokolovsky2015-12-27
|
* lib/utils: Add pyexec_frozen_module to load and execute frozen module.Damien George2015-12-26
| | | | | | This is a convenience function similar to pyexec_file. It should be used instead of raw mp_parse_compile_execute because the latter does not catch and report exceptions.
* esp8266: Remove superfluous includes.Paul Sokolovsky2015-12-21
|
* esp8266/modesp: flash_read() takes 2 args (fix typo).Paul Sokolovsky2015-12-21
|
* esp8266/modesp: Implement flash_read(offset, size_bytes) function.Paul Sokolovsky2015-11-24
| | | | Based on vendor API documentation, untested on real hardware.
* lib/utils/printf: Move from stmhal/ .Paul Sokolovsky2015-11-10
| | | | | This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
* lib/pyexec: Move header pyexec.h from stmhal directory.Damien George2015-11-09
|
* stmhal: pyexec.c is common module, move to lib/utils/ .Paul Sokolovsky2015-10-31
|
* all: Add py/mphal.h and use it in all ports.Damien George2015-10-31
| | | | | | 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.
* esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function.Paul Sokolovsky2015-10-29
|
* esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.Paul Sokolovsky2015-10-29
|
* esp8266: Switch to standard mp_hal_delay_us() MPHAL function.Paul Sokolovsky2015-10-29
|
* Makefiles: Remove duplicate object files when linking.Paul Sokolovsky2015-10-24
| | | | | | | | | | | Scenario: module1 depends on some common file from lib/, so specifies it in its SRC_MOD, and the same situation with module2, then common file from lib/ eventually ends up listed twice in $(OBJ), which leads to link errors. Make is equipped to deal with such situation easily, quoting the manual: "The value of $^ omits duplicate prerequisites, while $+ retains them and preserves their order." So, just use $^ consistently in all link targets.
* esp8266: Put more code in irom0 section, to get it building again.Damien George2015-10-20
|
* all: Make netutils.h available to all ports by default.Paul Sokolovsky2015-10-19
| | | | | Generally, ports should inherit INC from py.mk, append to it, not overwrite it. TODO: Likely should do the same for other vars too.
* Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.Damien George2015-10-12
|
* esp8266: Added wlan.isconnected() to maintain parity with other ports.Bill Owens2015-09-15
|
* esp8266: Remove "time" command from deploy target.Damien George2015-09-12
|
* esp8266: Added wifi_mode() to read and set WiFi operating mode.Bill Owens2015-08-29
|
* esp8266: Use m_new/m_renew/m_del funcs instead of private gc_xxx.Damien George2015-07-20
|
* esp8266: modesp: Update for gc_realloc() refactor.Paul Sokolovsky2015-07-19
| | | | TODO: Contributed code in modesp incorrectly uses private gc_* API.
* esp8266: Allow to easily override programming baudrate.Paul Sokolovsky2015-07-04
|
* esp8266: Make pyb.RTC a type, and pyb.RTC() constructs an RTC object.Damien George2015-06-22
| | | | | | | This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330.
* esp8266: Move status() from esp module to networkBill Owens2015-06-20
|
* esp8266: README: Typo fix.Paul Sokolovsky2015-06-19
|
* esp8266: Explicit warning that port is experimental and subject to change.Paul Sokolovsky2015-06-18
|
* ESP8266: Update the README.md to reflect what worksRadomir Dopieralski2015-06-18
|
* esp8266: Move scan from esp module to networkBill Owens2015-06-17
|
* esp8266: Changed esp_scan to keep the current WiFi operating mode but throw ↵Bill Owens2015-06-14
| | | | an exception if WiFi is in AP only mode
* esp8266: Move connect/disconnect from "esp" module to network.Paul Sokolovsky2015-06-12
|
* esp8266: Add skeleton "network" module.Paul Sokolovsky2015-06-12
| | | | | | | MicroPython "network" module interface requires it to contains classes to instantiate. But as we have a static network interace, make WLAN() "constructor" just return module itself, and just make all methods module-global functions.
* esp8266: esp_connect(): The function is now vararg.Paul Sokolovsky2015-06-12
| | | | Fixes regression from a previous commit.
* esp8266: Do not call espconn_create in constructor of esp.socket.Paul Sokolovsky2015-06-02
| | | | | | Turns out this is supposed to be called only for UDP connections. Patch by Josef Gajdusek.
* esp8266: Fix lost chars problem when block-xfering data (e.g., when pasting).Paul Sokolovsky2015-06-01
| | | | | | | | | | | | | Pasting more or less sizable text into ESP8266 REPL leads to random chars missing in the received input. Apparent cause is that using RTOS messages to pass individual chars one by one is to slow and leads to UART FIFO overflow. So, instead of passing chars one by one, use RTOS msg to signal that input data is available in FIFO, and then let task handler to read data directly from FIFO. With this change, lost chars problem is gone, but the pasted text is truncated after some position. At least 500 chars can be pasted reliably (at 115200 baud), but 1K never pastes completely.
* esp8266: Update to SDK version 1.1.0 (MIT-licensed).Josef Gajdusek2015-05-30
| | | | | | | | | 1. Updated linker script, now user app appears to contain exception vector table and oesn't work (faults) without it. 2. Commened out support for GPIO pulldown, which was removed in this SDK version without clear explanation, but apparently because it was released without proper validation, and now turns out it doesn't work as expected, or there's a different function there.
* 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
|
* 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()
* esp8266: Add configuration option for redirecting the built-in OS outputJosef Gajdusek2015-05-13
|
* esp8266: Actually use the decimal part of system_rtc_clock_cali_proc()Josef Gajdusek2015-05-13
|
* esp8266: Put more literal and text obj data in irom0_0_seg.Damien George2015-05-13
| | | | | | | With newer versions of esp_iot_sdk the iram1_0_seg started to overflow. Now it doesn't. Addresses issue #1254.
* esp8266: Add module weak links; link time to utime.Damien George2015-05-13
|