Damien George
01dd7804b8
ports: Make new ports/ sub-directory and move all ports there.
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
7 years ago
Damien George
71c9cfb028
all: Convert remaining "mp_uint_t n_args" to "size_t n_args".
This is to have consistency across the whole repository.
7 years ago
Damien George
4ec803a42a
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
7 years ago
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.
7 years ago
Damien George
71ae3f389d
cc3200: Remove remaining references to std.h.
8 years ago
Damien George
50ddaafa6a
cc3200: Use mp_raise_XXX helper functions to reduce code size.
Reduces code size by 632 bytes.
8 years ago
daniel
a0d97fe408
cc3200: Add ssl_version argument to ssl.wrap_socket().
This resolves issue #2343 .
8 years ago
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.
8 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
danicampora
04db848dc7
docs: Add usocket and ussl modules' documentation.
9 years ago
danicampora
fca3308cc3
cc3200: Improvements to terminal duplication.
9 years ago
Daniel Campora
57fa14b5be
cc3200: New WLAN API including test.
9 years ago
Daniel Campora
dffa9f6da6
cc3200: New SD and RTC API plus os and time modules' extensions.
9 years ago
Daniel Campora
4c5bfe2d10
cc3200: Server side SSL socket requires both certfile and keyfile.
9 years ago
Daniel Campora
9a65fa304c
cc3200: Add modussl, ssl sockets subclassed from normal sockets.
Stream methods were added to normal sockets as in the unix port.
10 years ago