Paul Sokolovsky
5e01fb01b3
docs/esp8266/intro: Add command to install esptool.py 1.0.1 via pip.
It used a standard BootROM programming algo and may be useful as a
fallback.
8 years ago
Damien George
72ae3c72c7
tools/mpy-tool.py: Support freezing float literals with obj-repr C.
The tool now generates code for freezing floats in obj-repr A, B or C,
with the specific representation detected at compile time using macros.
8 years ago
Damien George
8a15e0b1c7
esp8266: PULL_UP is not supported on Pin(16), so raise an exception.
8 years ago
Damien George
b203c1774e
esp8266: Fix reading of pin object for GPIO16.
Pin(16) now works as an input.
8 years ago
Paul Sokolovsky
2146cdab5e
docs/esp8266/tutorial/pins: Fix typo in commands for pin input mode.
8 years ago
Damien George
e4e4526954
docs: Bump version to 1.8.3.
8 years ago
Paul Sokolovsky
3c9510d767
esp8266/modules/flashbdev: Start filesystem at 0x90000.
To accommodate growing firmware.
8 years ago
Paul Sokolovsky
3372f69586
esp8266/esp8266.ld: Increase firmware image size to 0x90000 (576K).
Of them, 0x87000 is irom0 segment.
This is required to ship increasing number of modules and examples
developed in teh course of ESP8266 port project.
8 years ago
Paul Sokolovsky
6d11918d49
lib/berkeley-db-1.xx: Update, sets default page size to 4096.
This both good default for 4096 and makes less chance to see overflow page
issues.
8 years ago
Paul Sokolovsky
5c73de0337
docs/uio: Mention seek()/flush() support for io.BytesIO.
8 years ago
Paul Sokolovsky
3e5534caf7
docs/esp8266/intro: Focus on hazards of unearthed power wrt electronics.
8 years ago
Paul Sokolovsky
1bc2911174
py/mpconfig.h: Define MP_ALWAYSINLINE for reuse.
Similar to existing MP_NOINLINE.
8 years ago
Paul Sokolovsky
d2cab0b7be
docs/esp8266/tutorial/intro: Add anchor for link from quickeref.
8 years ago
Paul Sokolovsky
8897dcb2a1
tests/basics: bytes/str.partition/rpartition are now optional.
Skip tests if not available.
8 years ago
Paul Sokolovsky
f84dda7111
docs/esp8266/quickref: Link to installation instructions.
8 years ago
Paul Sokolovsky
a9923d190e
docs/esp8266/intro: Add troubleshooting section.
Tries to summarize most of the issues we've seen so far.
8 years ago
Paul Sokolovsky
919c54f750
docs/esp8266/intro: Rename to "Getting started" from "Introduction".
People tend to skip introductions (everyone knows what esp8266 is, right?),
so try to do A/B testing with a title inviting to read it.
8 years ago
Paul Sokolovsky
1966745689
esp8266/tutorial/intro: Reword para abou -fm dio switch.
Not all NodeMCU boards require it.
8 years ago
Paul Sokolovsky
31ad1bb606
esp8266/modmachine: Implement dummy sleep() function.
8 years ago
Paul Sokolovsky
541e76fa45
esp8266/modutime: Actually implement ticks_cpu().
8 years ago
Paul Sokolovsky
f71f37e426
esp8266/esp_mphal.h: Add mp_hal_ticks_cpu() for reuse.
8 years ago
Paul Sokolovsky
c2070d771a
esp8266/modmachine: Implement idle() function.
8 years ago
Paul Sokolovsky
1563388001
py/objstr,objstrunicode: Fix inconistent #if indentation.
8 years ago
Paul Sokolovsky
56eb25f049
py/objstr: Make .partition()/.rpartition() methods configurable.
Default is disabled, enabled for unix port. Saves 600 bytes on x86.
8 years ago
Paul Sokolovsky
a4aaf82421
unix/moduselect: Allow poll.register(), etc. accept fd-like objects.
This includes file and socket objects, backed by Unix file descriptor.
This improves compatibility with stmhal's uselect (and convenience of
use), though not completely: return value from poll.poll() is still
raw file descriptor.
8 years ago
Paul Sokolovsky
fdb411a8c5
docs/library/index: Include array module in ToC.
8 years ago
Paul Sokolovsky
8a0b6f561c
docs/array: Document array module.
8 years ago
Paul Sokolovsky
e15fb33e10
extmod/modwebrepl: Add GET_VER operation to query MicroPython version.
8 years ago
Paul Sokolovsky
cbef0dba2e
extmod/modwebsocket: Use mp_rom_map_elem_t and friends.
8 years ago
Paul Sokolovsky
e0d49b7e1b
extmod/modwebsocket: Make compatible with non-default object models.
8 years ago
Paul Sokolovsky
6de37864a2
esp8266/scripts/inisetup: Add commented-out call to esp.osdebug(None).
That apparently will only help folks who read the docs on how to disable,
but could use a quick reminder straight in boot.py. For the developers,
it's important to have debug logging enabled in development branch
(master).
8 years ago
Paul Sokolovsky
ca59f5f208
esp8266/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility.
8 years ago
Paul Sokolovsky
5b9e7e29f6
unix: Enable websocket module.
8 years ago
Paul Sokolovsky
a931c4eeec
extmod/modwebsocket: Add readline method.
This goes bit against websocket nature (message-based communication),
as it ignores boundaries bertween messages, but may be very practical
to do simple things with websockets.
8 years ago
Paul Sokolovsky
3d19adf9b3
examples/network: Split recv- and read-based HTTP servers.
Name recv() based a "simplistic", as it can't work robustly in every
environment. All this is to let people concentreate on proper, read()-
based one (and to turn recv() based into a "negative showcase",
explaining what are the pitfalls of such approach).
8 years ago
Paul Sokolovsky
d79342d33e
extmod/modbtree: open(): Add option kwargs.
Namely: flags, cachesize, pagesize, minkeypage.
8 years ago
Paul Sokolovsky
ed500e4987
extmod/modwebrepl: Make GET_FILE operation non-blocking.
In the sense that while GET_FILE transfers its data, REPL still works.
This is done by requiring client to send 1-byte block before WebREPL
server transfers next block of data.
8 years ago
Paul Sokolovsky
c16612ee87
extmod/modwebrepl: Factor out "GET" iteration to write_file_chunk().
8 years ago
Paul Sokolovsky
7fb31479bf
py/mkrules.mk: Allow to add more items for "clean" target using CLEAN_EXTRA.
8 years ago
David Siorpaes
b67eb20ed0
stmhal: Fix I2C mappings for STM32F429DISC board.
8 years ago
Paul Sokolovsky
4a27ad040e
esp8266/scripts/port_diag.py: Include esp.check_fw() call.
8 years ago
Paul Sokolovsky
e33d2383d1
esp8266/modesp: Add check_fw() function to check integrity of the firmware.
Requires firmware generated by the latest makeimg.py (which stores size
and md5 of the firmware together with the firmware itself).
8 years ago
Paul Sokolovsky
bf47b71b78
esp8266/makeimg.py: Append md5 hash to the generated binary.
md5 is calculated over the entire file, except first 4 bytes, which contain
flash parameters and may be changed by flashing tool or MicroPython flash
auto-config.
8 years ago
Paul Sokolovsky
a621333a4c
esp8266/makeimg.py: Store firmware size as last 4 bytes of padding area.
8 years ago
Radomir Dopieralski
efb8aa0ef6
logo/1bit-logo A black & white version of the logo
This version of the logo may be useful for displaying on small
devices to show that they use MicroPython.
8 years ago
Mike Causer
ce166e6b68
docs: Spelling mistakes
8 years ago
Paul Sokolovsky
3eb532e974
extmod/modbtree: Implement __contains__ operation.
8 years ago
Damien George
8766bc02dc
cc3200, teensy: Remove broken malloc/free/realloc macro helpers.
These macros are broken and are anyway unused on these two ports. If they
are ever needed in the future then their implementation can be taken from
either stmhal (working macros in mpconfigport.h) or esp8266 (functions).
8 years ago
Mike Causer
b4564841b6
docs: Add DHT to ESP8266 Quick Ref and Tutorial
8 years ago
Paul Sokolovsky
0e4cae5212
esp8266: Make APA102 driver inclusion configurable.
8 years ago