32 Commits (e160fe7bc64212a3ce56f5478f208e2b4d343a8b)

Author SHA1 Message Date
Jim Mussared 5f8f32f917 extmod/modnetwork: Use a type protocol to implement NIC functions. 2 years ago
Damien George a513558e3a extmod: Add and reorganise compilation guards and includes. 2 years ago
Jim Mussared 94beeabd2e py/obj: Convert make_new into a mp_obj_type_t slot. 2 years ago
Jim Mussared 9dce82776d all: Remove unnecessary locals_dict cast. 2 years ago
Jim Mussared 662b9761b3 all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
iabdalkader a4eef90b22 extmod/modusocket: Fix polling of closed sockets. 2 years ago
iabdalkader 70bf6ab6fb extmod/modusocket: Add socket state to track new/listening/conn/closed. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
iabdalkader edf41d2bf8 extmod/modusocket: Add sendall function. 3 years ago
iabdalkader b9d2f1e844 extmod/modusocket: Add timeout and callback to socket object. 3 years ago
iabdalkader 6841fecbb2 extmod/modusocket: Fix socket_make_new argument parsing. 3 years ago
iabdalkader 3438e80060 extmod/modusocket: Add support for socket events callback. 3 years ago
iabdalkader fc1f876175 extmod/modusocket: Add socket type print function. 3 years ago
iabdalkader eb957b0c95 extmod/modusocket: Fix errcode returned from socket read/write. 3 years ago
iabdalkader 6136c7644a extmod/modusocket: Bind unconnected socket to default NIC in setsockopt. 3 years ago
iabdalkader 7b4147dd0b extmod/modusocket: Fix polling of a new socket. 3 years ago
Jim Mussared 75efb3267c extmod: Revert accidental usocket->socket rename. 3 years ago
Jim Mussared bb794f05b7 extmod: Make port-included extmod modules use MP_REGISTER_MODULES. 3 years ago
Damien George aab005c75b extmod/modusocket: Provide config macro for socket.listen backlog deflt. 3 years ago
Jon Bjarni Bjarnason 919f696ad2 extmod/modusocket: Implement optional socket.listen backlog argument. 3 years ago
Damien George 9438fb7321 extmod/modusocket: Support additional args to getaddrinfo. 3 years ago
iabdalkader a63875d5ad extmod/modusocket: Create new sockets in blocking mode. 3 years ago
iabdalkader 155eb1361e extmod/modusocket: Add makefile() method and common socket options. 3 years ago
iabdalkader b23178a9c0 extmod/modusocket: Make setsockopt return if NIC is not connected. 3 years ago
iabdalkader 842da93011 extmod/modusocket: Initialise accepted socket state. 3 years ago
iabdalkader 67420de4f4 extmod/modusocket: Allow setting timeout on unbound sockets. 3 years ago
iabdalkader 38f8e852e0 rp2: Add framework for networking. 3 years ago
iabdalkader d9749f90ad extmod/modnetwork: Remove modnetwork socket u_state member. 3 years ago
iabdalkader c13e25c329 extmod/modusocket: Add read/write stream methods to socket object. 3 years ago
iabdalkader e7429389a6 extmod/modnetwork: Add extended socket state. 3 years ago
iabdalkader 7aab0dc5d8 extmod: Move modnetwork and modusocket from stm32 to extmod. 3 years ago
Damien George 136369d72f all: Update to point to files in new shared/ directory. 3 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 71c6bfd08a stm32/modusocket: Handle case of NULL NIC in socket ioctl. 5 years ago
Damien George c13f9f209d all: Convert nlr_raise(mp_obj_new_exception_msg(x)) to mp_raise_msg(x). 5 years ago
iabdalkader 73c94bbbd4 stm32/modusocket: Fix NULL deref when accept() an unbound socket. 5 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George cda964198a stm32: Integrate lwIP as implementation of usocket module. 7 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 7 years ago
Damien George 0a30ad96c8 stm32/modusocket: Return OSError(-2) if getaddrinfo fails. 7 years ago
Damien George 5d7b0b237b stm32/modusocket: Make getaddrinfo() work when passed an IP address. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils. 8 years ago