aboutsummaryrefslogtreecommitdiff
path: root/cc3200/mods
AgeCommit message (Collapse)Author
2015-05-17cc3200: Re-name 'intmode' to 'mode' in the callback API.Daniel Campora
2015-05-17cc3200: Disable WLAN.urn() by default.Daniel Campora
Can be enabled by defining MICROPY_PORT_WLAN_URN=1 in mpconfigport.h.
2015-05-17cc3200: Add optional timeout param to WLAN.connect().Daniel Campora
2015-05-17cc3200: Make sure to handle all pending pin interrupts.Daniel Campora
When entering the interrupt handler of a given GPIO port, more than one pin could have pending interrupts, therefore care must be taken to service each interrupt one by one before leaving.
2015-05-17cc3200: Add Timer module. Supports free running, PWM and capture modes.Daniel Campora
2015-05-17cc3200: Fix power mode param check in the UART callback constructor.Daniel Campora
2015-05-17cc3200: Add os.rename()Daniel Campora
2015-05-13lib: Move time utility functions to common library.Josef Gajdusek
2015-05-12py: Add mp_obj_get_int_truncated and use it where appropriate.Damien George
mp_obj_get_int_truncated will raise a TypeError if the argument is not an integral type. Use mp_obj_int_get_truncated only when you know the argument is a small or big int.
2015-05-04lib: Move some common mod_network_* functions to lib/netutils.Josef Gajdusek
2015-05-03cc3200: Clean up pyb.PinDaniel Campora
Remove unused and unneeded functions, also create Pin.get_config() that returns the whole configuration of the pin. This reduces code size by ~500 bytes.
2015-05-03cc3200: WLAN.ifconfig returns an attrtuple instead of a dictionary.Daniel Campora
2015-05-03cc3200: Implement Sleep.wake_reason()Daniel Campora
2015-05-03cc3200: Clear the pending interrupt flag when disabling RTC callbacks.Daniel Campora
2015-04-29cc3200: Move wlan_init0() to the boot section.Daniel Campora
This one creates a semaphore, therefore it must be executed only after a hard reset (or when coming out of hibernation).
2015-04-29cc3200: Correct Sleep module name. Must be 'Sleep', not 'sleep'.Daniel Campora
2015-04-29cc3200: Make WLAN.isconnected() also work in AP mode.Daniel Campora
While in STA mode isconnected() returns True when connected to an AP and the IP has been acquired. In AP mode, WLAN.isconnected() returns True if at least one connected station is present.
2015-04-28py: Replace py-version.sh with makeversionhdr.py, written in Python.Damien George
Also rename py-version.h to mpversion.h for consistency with mpconfig.h.
2015-04-29cc3200: Make WLAN scan results a list of attrtupple.Daniel Campora
Each result is displayed like this: ssid='MySSID', bssid=b'\xc0J\x00z.\xcc', security=2, channel=None, rssi=-74 The CC3200 doesn't provide channel info, that why is 'None'.
2015-04-29cc3200: Implement os.uname() to get details of the OS and hardware.Daniel Campora
2015-04-28cc3200: Select NIC when the socket is created.Daniel Campora
This makes sense since only WLAN is supported here.
2015-04-25cc3200: Correct MAKE_SOCKADDR and UNPACK_SOCKADDR byte order.Daniel Campora
2015-04-18cc3200: Clean up and reduce use/include of std.h.Damien George
2015-04-17cc3200: Use new %q format to print qstr's where appropiate.Daniel Campora
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs.
2015-04-14cc3200: Add IPPROTO_SEC to be able to create secure sockets.Daniel Campora
2015-04-13cc3200: Add WLAN.config_ip().Daniel Campora
This new method allows to assign an static IP to the device.
2015-04-11cc3200: Enable long filename support in FatFS.Daniel Campora
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.
2015-03-31cc3200: Add specific version file for the CC3200 port.Daniel Campora
Current version has been numbered as 0.9.0 since Timers/PWM support is still missing.
2015-03-31cc3200: Remove duplicated code from moduos.Daniel Campora
Error reporting is also changed from detailed to terse, as with the rest of the CC3200's modules. All this combined saves ~200 bytes.
2015-03-26cc3200: Minor refactorings on modwlan and pybsleep.Daniel Campora
2015-03-26cc3200: Reenable active interrupts when waking from suspended mode.Daniel Campora
2015-03-26cc3200: Add callback support to the UART for RX interrupts.Daniel Campora
2015-03-26cc3200: Remove superflous parameters from the SPI API.Daniel Campora
2015-03-25cc3200: Remove superflous params from the I2C API.Daniel Campora
2015-03-25cc3200: Add GPIO25 to the pins list of the WiPy and the WiPy-SD.Daniel Campora
This allows to properly initialize the system led and add it to the sleep module so that it can be restored when resuming from suspended mode.
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-25cc3200: Keep WLAN enabled during the soft reset.Daniel Campora
2015-03-22cc3200: Fix bug in telnet that caused the rx buffer to overflow.danicampora
2015-03-21cc3200: Reduce soft reset time. WLAN is not reinit, just reenabled.danicampora
2015-03-21cc3200: Improve usability and robustness of the servers.danicampora
2015-03-21cc3200: Remove superfluous code in pybsleep.danicampora
2015-03-21cc3200: Add SPI module.danicampora
Only MASTER mode is supported. Transfer width is configurable to 8, 16 or 32 bits.
2015-03-21cc3200: Re-name pybsystick to mpsystick.danicampora
2015-03-19cc3200: Move server methods from WLAN to the network module.danicampora
2015-03-18cc3200: Add parameter to wlan_stop() for custom timeout values.danicampora
2015-03-18cc3200: Fixes and improvements to the SD card driver.danicampora
2015-03-18cc3200: Refactor I2C. Remove all references to SLAVE mode.danicampora
2015-03-18cc3200: Improve I2C timeout handling.danicampora
2015-03-17cc3200: Fix extint_enable behaviour when the callback is updated.danicampora