aboutsummaryrefslogtreecommitdiff
path: root/cc3200/serverstask.c
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
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.
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2016-10-18cc3200: Use mp_raise_XXX helper functions to reduce code size.Damien George
Reduces code size by 632 bytes.
2016-06-28cc3200: Shrink the FreeRTOS heap and place TCB+stack in freed location.Damien George
The 16k FreeRTOS heap originally had all TCBs and stacks dynamically allocated within it (plus semaphores and some other things). Now that xTaskCreateStatic is used instead of xTaskCreate, the TCBs and stacks are allocated statically and no longer use any of the FreeRTOS heap. Therefore, the FreeRTOS stack can be shrunk by the amount that has been made static. Furthermore, the TCBs and stack that are now static should be placed in the .rtos_heaps section of RAM because this RAM is treated specially by the bootloader (the bootloader executes from the first 16k of RAM and loads the firmware into the section starting after the 16k). After this patch the FreeRTOS heap (ucHeap) is 7200 bytes. The memory available for the MicroPython heap is 54936 bytes (including GC overhead).
2016-06-28cc3200: Use xTaskCreateStatic instead of osi_TaskCreate.Damien George
This allows to statically allocate the TCB (thread control block) and thread stack in the BSS segment, reducing the need for dynamic memory allocation.
2016-02-21cc3200: Improve robustness of WLAN during sleep modes.danicampora
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
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-29cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().Paul Sokolovsky
2015-10-19cc3200: Refactor network module to make the server a propper object.danicampora
2015-09-27cc3200: New WLAN API including test.Daniel Campora
2015-07-10cc3200: Refactor and clean-up socket closing code.Daniel Campora
2015-06-03cc3200: Add method to configure the servers timeout.Daniel Campora
With network.server_timeout(secs) the timeout can be changed. The default value is 300 secs. Minimmum accpeted is 5 secs. Without params the function returns the current configured timeout.
2015-05-25cc3200: Make the WDT aware of the servers sleep/wake state.Daniel Campora
2015-05-24cc3200: Reset the servers and close user sockets on WLAN disconection.Daniel Campora
This is needed to avoid half-open connections.
2015-05-22cc3200: Finally unlock the full wake on WLAN feature set.Daniel Campora
2015-04-29cc3200: Clean-up servers enable/disable algorithm.Daniel Campora
2015-04-28cc3200: Make telnet login procedure work with Tera Term.Matt Anderson
This is actually a workaround Ter Term's issue of not obeying to the telnet options that the server is sending. Therefore, we must buffer chars until either a '\r' or the max length of the username/password is received.
2015-04-28cc3200: Add delays to allow the servers to start and stop properly.Daniel Campora
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-03-25cc3200: Roll back to the previous telnet and ftp timeouts.Daniel Campora
Unfortunately, these timeouts are the only realiable way (for now), to be able to detect broken connections due to half-open sockets. Such a thing occurs when getting out of the WiFi coverage area or when disconnecting from the AP (sometimes the client doesn't send the disconnect packet).
2015-03-22cc3200: Fix bug in telnet that caused the rx buffer to overflow.danicampora
2015-03-21cc3200: Improve usability and robustness of the servers.danicampora
2015-03-19cc3200: Move server methods from WLAN to the network module.danicampora
2015-02-25cc3200: Add WDT functionality as part of the pyb module.danicampora
Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode.
2015-02-22cc3200: Remove dependencies from FreeRTOS.danicampora
Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
2015-02-21cc3200: Add explicit py/ path-prefix for py includes.Damien George
This is how it should be, so one knows exactly where the includes are coming from.
2015-02-06cc3200: Add cc3200 port of MicroPython.danicampora
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.