summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
Commit message (Collapse)AuthorAge
* esp8266/etshal.h: More prototypes of ESP8266 SDK/BootROM functions.Damien George2016-03-05
|
* esp8266/modmachine: Add Pin class from modpyb.Paul Sokolovsky2016-03-05
|
* esp8266/modpybpin: Add support for GPIO16.Paul Sokolovsky2016-03-05
| | | | GPIO16 is actually special-function I/O, though some boards have LED there.
* esp8266: Expose simple pin API at C level.Damien George2016-03-05
|
* esp8266: Implement Pin.__call__() and Pin.OPEN_DRAIN mode.Damien George2016-03-05
| | | | | OPEN_DRAIN is of course synthesised. All pin modes are tested and working.
* esp8266: Add custom _assert() function.Paul Sokolovsky2016-03-05
| | | | | | Enabling standard assert() (by removing -DNDEBUG) produces non-bootable binary (because all messages go to .rodata which silently overflows). So, for once-off debugging, have a custom _assert().
* esp8266/modmachine: Timer: Add ONE_SHOT and PERIODIC symbolic constants.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Use etshal.h.Paul Sokolovsky2016-03-04
|
* esp8266/etshal.h: Add timer functions prototypes.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Changing params of a timer requires disarming it first.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Basic implementation of Timer for OS virtual timers.Paul Sokolovsky2016-03-04
|
* esp8266: Enable modmachine.Paul Sokolovsky2016-03-04
|
* esp8266: Add modmachine with mem* arrays.Paul Sokolovsky2016-03-04
|
* esp8266/modutime: Support float argument to time.sleep().Paul Sokolovsky2016-03-04
|
* esp8266: Reset "virtual RTC" on power on.Paul Sokolovsky2016-03-04
| | | | | | | | | Initialize RTC period coefficients, etc. if RTC RAM doesn't contain valid values. time.time() then will return number of seconds since power-on, unless set to different timebase. This reuses MEM_MAGIC for the purpose beyond its initial purpose (but the whole modpybrtc.c need to be eventually reworked completely anyway).
* esp8266: Add time.{sleep_ms,sleep_us,ticks_ms,ticks_us,ticks_diff}.Damien George2016-03-04
| | | | Framework for time.ticks_cpu added, but not implemented.
* esp8266: Add mp_hal_delay_us function.Damien George2016-03-04
|
* esp8266: Enable more features in mpconfigport.h.Damien George2016-03-03
| | | | This is to get the test suite running and passing.
* esp8266: Enable uhashlib module.Paul Sokolovsky2016-03-03
|
* esp8266: Enable config settings helpful for debugging.Paul Sokolovsky2016-03-03
|
* esp8266/esp8266.ld: Link in SDK version section.Paul Sokolovsky2016-03-03
| | | | Otherwise, os.uname() returns empty string for SDK version.
* esp8266: Enable ujson, ubinascii, and uctypes modules.Paul Sokolovsky2016-03-03
|
* esp8266: Add network.ifconfig().Damien George2016-03-02
|
* esp8266: Change "soft reboot" message to work with pyboard.py.Damien George2016-03-02
|
* esp8266: Allow Makefile's PORT variable to be overridden.Damien George2016-03-02
|
* esp8266: Enable math module.Damien George2016-03-02
|
* esp8266: Enable float support, using 30-bit stuffed floats.Damien George2016-03-02
| | | | No complex numbers though.
* esp8266: Switch bignum implementation from long-long to mpz.Damien George2016-03-02
|
* eagle.rom.addr.v6.ld: More symbols from SDK 1.5.0.Paul Sokolovsky2016-02-14
|
* esp8266/modpybrtc: Simplify multiplication by fixed-point value.Paul Sokolovsky2016-02-12
|
* 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
|