Paul Sokolovsky
1f396c58d9
docs/esp8266/tutorial/repl: Suggest using hosted WebREPL client.
At http://micropython.org/webrepl .
9 years ago
Paul Sokolovsky
fb5017f9dc
esp8266/main: Set sys.path to ["", "/", "/lib"].
9 years ago
Damien George
496a601c3b
esp8266: Shrink help text by a few lines, to fit in smaller windows.
9 years ago
Paul Sokolovsky
f873a5005a
esp8266/scripts/ntptime: Add simple NTP client.
.time() returns seconds since MicroPython epoch (2000-01-01 00:00UTC),
.settime() sends current system time, assuming UTC timezone.
9 years ago
Damien George
5d05993f10
esp8266/tutorial: Mention that esptool is available via pip.
9 years ago
Damien George
8af64bcf2b
docs/esp8266/tutorial: Update pins tutorial to reflect changes in API.
9 years ago
Damien George
5036b6ad18
docs/library/machine.Pin: Update pin docs to reflect ESP8266 support.
9 years ago
Damien George
8e130fcf2b
esp8266/modpybpin: Make pin.irq() methods take keyword args.
9 years ago
Damien George
8a3e9036eb
esp8266/modpybpin: Use None instead of PULL_NONE for no-pull config.
9 years ago
Damien George
9df6b3a2c2
esp8266/modpybpin: Use enum+array instead of struct for parsing args.
9 years ago
Damien George
02fd83bcbc
tools/mpy-tool: Make sure that all C-level variables are unique.
Fixes issue #2023 .
9 years ago
Damien George
b539a61490
esp8266/scripts/neopixel.py: Swap red and green in pixel accessor.
9 years ago
Paul Sokolovsky
81a99eb388
docs/machine: idle() description generalization.
9 years ago
Paul Sokolovsky
bb6458bf43
docs/machine: More generic description of sleep's, WiPy details to its genref.
9 years ago
Paul Sokolovsky
db99ae00a2
docs/machine: Move WiPy-specific hardware details to its general reference.
9 years ago
Paul Sokolovsky
06ec96b47b
docs/machine: Generalize docs from just WiPy to other ports.
9 years ago
Paul Sokolovsky
cfc94bec9f
extmod/modlwip: Implement sendall() method for TCP sockets.
9 years ago
Damien George
879bc4197a
docs/esp8266: Add ESP8266 tutorial.
9 years ago
Paul Sokolovsky
5e94f0b43a
esp8266/scripts/inisetup: Update for nic.mac() method being gone.
9 years ago
Paul Sokolovsky
a6cf45864f
docs/network: esp8266: MAC address is set via .config() method.
9 years ago
Paul Sokolovsky
35e63f0007
esp8266/modnetwork: Remove .mac() method, move to .config("mac").
Querying/setting MAC address is pretty adhoc operation to belong to
.config() instead of taking a whole method on its own.
9 years ago
Paul Sokolovsky
ae845f13de
docs: Use getaddrinfo() result in easy way.
Instead of extracting 4th element, extact last. Much easier to remember!
9 years ago
Paul Sokolovsky
c2d885501f
examples/network/: Use getaddrinfo() result in easy way.
Instead of extracting 4th element, extact last. Much easier to remember!
9 years ago
Paul Sokolovsky
3944d3511f
esp8266/scripts/inisetup: Enable WebREPL auto-start on boot.
9 years ago
Paul Sokolovsky
76c81cd5a6
esp8266/modesp: Add malloc() and free() functions.
Useful for testing fragmentation issues in OS heap. E.g. freemem() may
report large amount, but is it possible to actually allocate block of
a given size? Issue malloc() (followed by free()) to find out.
9 years ago
Paul Sokolovsky
2123ced3f4
esp8266/modesp: Add esf_free_bufs() debugging function.
Return number of free inernal WiFi buffers.
9 years ago
Paul Sokolovsky
3d830415bc
esp8266/esp_mphal: Add ets_esf_free_bufs(), etc. functions.
Returning free number of various WiFi driver packet buffers.
9 years ago
Paul Sokolovsky
7b7c99fec1
esp8266/modnetwork: Remove deprecated wifi_mode().
Network interfaces are now controlled individually using .active() method.
9 years ago
Damien George
9215cdc7fd
esp8266: Change platform name from ESP8266 to esp8266.
The port name is lowercase, and this change is made for consistency with
the docs and other ports.
9 years ago
Paul Sokolovsky
b8468d12a1
extmod/modwebrepl: Get rid of using strncpy().
9 years ago
Paul Sokolovsky
c6923f52f0
lib/libc/string0: Remove better-than-standard strncpy() implementation.
ANSI C doesn't require that strncpy() produced null-terminated string, so
it's basicly useless for string manipulation.
9 years ago
Paul Sokolovsky
13d9d50fea
esp8266/scripts/webrepl_setup: Reject too short passwords.
9 years ago
Paul Sokolovsky
bd9de5ec90
lib/libc/string0: Add strncpy() implementation.
9 years ago
Paul Sokolovsky
5302c3e8c4
docs/esp8266_contents: Referebce general and tutorial docs.
9 years ago
Paul Sokolovsky
a22aa53ef1
docs/esp8266/general: Add "Boot process" section.
9 years ago
Paul Sokolovsky
12144e8fcd
docs/esp8266/general: Add techspec section.
Link to vendor forum with datasheets, etc. is provided, as well as inline
TTX.
9 years ago
Paul Sokolovsky
0f682f1ee1
docs/esp8266/general: Fix list formatting.
9 years ago
Paul Sokolovsky
5aa4db0505
docs/esp8266/general: Add more points to "Multitude of boards" section.
9 years ago
Paul Sokolovsky
74c6363b97
docs/esp8266/general: WebREPL is described in quickref for now.
9 years ago
Paul Sokolovsky
566d8f1d7e
tests: Make "io" modules fixes for CPython compatibility.
Previously, "import _io" worked on both CPython and MicroPython (essentially
by a chance on CPython, as there's not guarantee that its contents will stay
the same across versions), but as the module was renamed to uio, need to use
more robust import sequence for compatibility.
9 years ago
Damien George
c816b89353
docs/library/machine.I2C: Update to reflect ESP8266 implementation.
This machine.I2C documentation is now closer to a more port-neutral
description, although there are still differences between WiPy and
ESP8266.
9 years ago
Paul Sokolovsky
8c35f3979c
tests: Update for _io/_collections module having been renamed.
9 years ago
Paul Sokolovsky
621c644205
docs: _io and _collections were renamed to have standard "u" prefix.
9 years ago
Paul Sokolovsky
9549590fc6
py/modcollections: Rename module name have "u" prefix for consistency.
9 years ago
Paul Sokolovsky
ddb9dba2f7
py/modio: Rename module name to "uio" for consistency with other modules.
9 years ago
Damien George
70ff7350e7
stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77.
A standard I2C address is 7 bits but addresses 0b0000xxx and 0b1111xxx
are reserved. The scan() method is changed to reflect this, along with
the docs.
9 years ago
Paul Sokolovsky
26fd0ac571
esp8266/Makefile: Be sure to pass cross-compiling AR when building axtls.
Fixes build under MacOSX.
9 years ago
Paul Sokolovsky
8ebdbcfb27
docs: Add _io module reference.
9 years ago
Paul Sokolovsky
348caaf940
docs: Add _collections module reference.
9 years ago
Paul Sokolovsky
1f0dfe37a1
lib/axtls: Update to the latest upstream, fix reported MacOSX build issue.
9 years ago