summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/ftp
Commit message (Collapse)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* cc3200: Use the name MicroPython consistently in code.Alexander Steffen2017-07-21
| | | | | In a few places the cc3200 port uses the incorrect spelling Micropython instead of MicroPython.
* all: Unify header guard usage.Alexander Steffen2017-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code conventions suggest using header guards, but do not define how those should look like and instead point to existing files. However, not all existing files follow the same scheme, sometimes omitting header guards altogether, sometimes using non-standard names, making it easy to accidentally pick a "wrong" example. This commit ensures that all header files of the MicroPython project (that were not simply copied from somewhere else) follow the same pattern, that was already present in the majority of files, especially in the py folder. The rules are as follows. Naming convention: * start with the words MICROPY_INCLUDED * contain the full path to the file * replace special characters with _ In addition, there are no empty lines before #ifndef, between #ifndef and one empty line before #endif. #endif is followed by a comment containing the name of the guard macro. py/grammar.h cannot use header guards by design, since it has to be included multiple times in a single C file. Several other files also do not need header guards as they are only used internally and guaranteed to be included only once: * MICROPY_MPHALPORT_H * mpconfigboard.h * mpconfigport.h * mpthreadport.h * pin_defs_*.h * qstrdefs*.h
* all: Use full path name when including mp-readline/timeutils/netutils.Damien George2017-03-31
| | | | | | | This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed.
* cc3200: Remove util/std.h, can just use stdio.h instead.Damien George2017-02-21
|
* cc3200: Use simplelink API instead of emulated BSD API.Damien George2017-02-21
| | | | | Most of cc3200 uses explicit simplelink calls anyway, and this means there are no longer any clashes with macros from the C stdlib.
* cc3200: Move stoupper to ftp.c and define in terms of unichar_toupper.Damien George2017-02-21
| | | | | | ftp.c is the only user of this function so making it static in that file allows it to be inlined. Also, reusing unichar_toupper means we no longer depend on the C stdlib for toupper, saving about 300 bytes of code space.
* extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.Damien George2017-01-30
| | | | | vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things.
* cc3200: Convert to use new VFS sub-system and new ooFatFs library.Damien George2017-01-30
|
* all: Add py/mphal.h and use it in all ports.Damien George2015-10-31
| | | | | | 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.
* cc3200: Fix bug in FTP command buffer, and set listening backlog to 0.danicampora2015-10-28
|
* cc3200: New SD and RTC API plus os and time modules' extensions.Daniel Campora2015-09-21
|
* cc3200: Keep overwriting the same image on sequential updates.Daniel Campora2015-09-16
|
* cc3200: Rework SD API. Increase heap to avoid malloc failures.Daniel Campora2015-08-16
|
* cc3200: Implement new OTA mechanism with 2 firmware update slots.Daniel Campora2015-07-15
|
* cc3200: Set simplelink time and date when enabling WLAN.Daniel Campora2015-07-10
|
* cc3200: Add CA, certificate and key files to the updater list.Daniel Campora2015-06-30
|
* cc3200: Close ftp and telnet server sockets if listening fails.Daniel Campora2015-06-04
|
* cc3200: Add method to configure the servers timeout.Daniel Campora2015-06-03
| | | | | | 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.
* cc3200: Remove NIC abstraction layer.Daniel Campora2015-05-24
| | | | | That layer is nice, but the CC3200 doesn't need it and getting rid of it saves ~200 bytes, which are more than welcome.
* cc3200: Reset the servers and close user sockets on WLAN disconection.Daniel Campora2015-05-24
| | | | This is needed to avoid half-open connections.
* cc3200: Finally unlock the full wake on WLAN feature set.Daniel Campora2015-05-22
|
* lib: Move time utility functions to common library.Josef Gajdusek2015-05-13
|
* cc3200: Make telnet login procedure work with Tera Term.Matt Anderson2015-04-28
| | | | | | | 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.
* cc3200: Clean up and reduce use/include of std.h.Damien George2015-04-18
|
* cc3200: Correct the IP address byte order in the FTP server.Daniel Campora2015-04-14
|
* cc3200: Add WLAN.config_ip().Daniel Campora2015-04-13
| | | | This new method allows to assign an static IP to the device.
* cc3200: Enable long filename support in FatFS.Daniel Campora2015-04-11
| | | | | | | This has implications all over the place. I have to admit that you can instantly see that usability improves, but it costs 3K. At the same time I took the oportunity to rename the '/SFLASH' drive to '/flash' which improves compatibility with the pyboard.
* cc3200: Roll back to the previous telnet and ftp timeouts.Daniel Campora2015-03-25
| | | | | | | | 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).
* cc3200: Improve usability and robustness of the servers.danicampora2015-03-21
|
* cc3200: Remove dependencies from FreeRTOS.danicampora2015-02-22
| | | | | Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100.
* cc3200: Add explicit py/ path-prefix for py includes.Damien George2015-02-21
| | | | | This is how it should be, so one knows exactly where the includes are coming from.
* cc3200: Add cc3200 port of MicroPython.danicampora2015-02-06
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.