aboutsummaryrefslogtreecommitdiff
path: root/esp8266/modpyb.c
AgeCommit message (Collapse)Author
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
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.
2015-10-29esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function.Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.Paul Sokolovsky
2015-10-29esp8266: Switch to standard mp_hal_delay_us() MPHAL function.Paul Sokolovsky
2015-06-22esp8266: Make pyb.RTC a type, and pyb.RTC() constructs an RTC object.Damien George
This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330.
2015-05-28esp8266: Add a bunch of miscellaneous methodsJosef Gajdusek
2015-05-28esp8266: Add pyb.ADC classJosef Gajdusek
2015-05-28esp8266: Enable setting CPU frequency to 160MHzJosef Gajdusek
2015-05-13esp8266: Add utime and pyb.RTCJosef Gajdusek
2015-05-12esp8266: Implement time functionsJosef Gajdusek
2015-05-05esp8266: Return CPU frequency in Hz.Damien George
2015-02-13esp8266: Add basic pyb.Pin class; supports output mode only.Damien George
2015-02-13stmhal: Make pybstdio usable by other ports, and use it.Damien George
Now all ports can use pybstdio.c to provide sys.stdin/stdout/stderr, so long as they implement mp_hal_stdin_* and mp_hal_stdout_* functions.
2015-01-18esp8266:modpyb: Implement hard_reset().Paul Sokolovsky
2015-01-01esp8266: Prefix includes with py/; remove need for -I../py.Damien George
2014-11-29Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George
This is just a clean-up of the code. Generated code is exactly the same.
2014-11-27esp8266: New port of Micro Python to ESP8266 wifi module.Damien George