Damien George
4ec803a42a
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
2017-08-21 21:34:23 +10:00
Alexander Steffen
55f33240f3
all: Use the name MicroPython consistently in comments
...
There were several different spellings of MicroPython present in comments,
when there should be only one.
2017-07-31 18:35:40 +10:00
Damien George
71ae3f389d
cc3200: Remove remaining references to std.h.
2017-02-21 18:01:43 +11:00
Damien George
50ddaafa6a
cc3200: Use mp_raise_XXX helper functions to reduce code size.
...
Reduces code size by 632 bytes.
2016-10-18 09:53:43 +11:00
daniel
a0d97fe408
cc3200: Add ssl_version argument to ssl.wrap_socket().
...
This resolves issue #2343 .
2016-10-01 21:35:09 +02:00
Damien George
93c4a6a3f7
all: Remove 'name' member from mp_obj_module_t struct.
...
One can instead lookup __name__ in the modules dict to get the value.
2016-09-22 00:23:16 +10:00
Paul Sokolovsky
07209f8592
all: Rename mp_obj_type_t::stream_p to protocol.
...
It's now used for more than just stream protocol (e.g. pin protocol), so
don't use false names.
2016-06-18 18:44:57 +03:00
danicampora
8cee03b118
cc3200: Force SSL method to be TLSV1.
...
The default setting of using the "highest" method available doesn't
work with some servers like Microsoft Azure. TLSV1 seems to work with
pretty much any server.
2015-11-06 00:12:13 +01:00
Damien George
731f359292
all: Add py/mphal.h and use it in all ports.
...
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-31 19:14:30 +03:00
danicampora
04db848dc7
docs: Add usocket and ussl modules' documentation.
2015-10-21 15:30:56 +02:00
danicampora
fca3308cc3
cc3200: Improvements to terminal duplication.
2015-10-17 23:21:44 +02:00
Daniel Campora
57fa14b5be
cc3200: New WLAN API including test.
2015-09-27 01:50:52 +02:00
Daniel Campora
dffa9f6da6
cc3200: New SD and RTC API plus os and time modules' extensions.
2015-09-21 22:30:32 +02:00
Daniel Campora
4c5bfe2d10
cc3200: Server side SSL socket requires both certfile and keyfile.
2015-08-16 20:17:49 +02:00
Daniel Campora
9a65fa304c
cc3200: Add modussl, ssl sockets subclassed from normal sockets.
...
Stream methods were added to normal sockets as in the unix port.
2015-07-02 16:30:00 +02:00