Paul Sokolovsky
0e1b5faad5
stmhal, cc3200: Actually implement machine -> umachine module weak link.
9 years ago
Paul Sokolovsky
2eb844e0b4
ports: Rename "machine" module to "umachine".
To let unix port implement "machine" functionality on Python level, and
keep consistent naming in other ports (baremetal ports will use magic
module "symlinking" to still load it on "import machine").
Fixes #1701 .
9 years ago
Damien George
9aaf888b42
cc3200: Add __get_BASEPRI and __set_BASEPRI inline function definitions.
9 years ago
danicampora
5d8164167e
cc3200: Correct buffer offset in serial flash diskio module.
9 years ago
Damien George
c3f64d9799
py: Change qstr_* functions to use size_t as the type for str len arg.
9 years ago
danicampora
db0a5aed39
cc3200: Bump version to 1.1.1.
9 years ago
danicampora
efc4da4be9
cc3200/README.md: Correct cc3200's update file name.
9 years ago
Gary Ashton-Jones
7080e9632c
cc3200/appsign.sh: Use md5 if running under Darwin.
9 years ago
Noah
00960133c2
docs: Update docs for WiPy wlan.connect().
- The link establishment timeout is infinite by default
- Fix typo in notes about the auth kwarg
9 years ago
danicampora
e4404fbef0
cc3200: Unmount all user file systems after a soft reset.
9 years ago
Paul Sokolovsky
73ff0687f2
lib/utils/printf: Move from stmhal/ .
This file contains various MicroPython-specific helper functions, so isn't
good fit for lib/libc/.
9 years ago
Paul Sokolovsky
746b752b8e
stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.
This makes select.poll() interface fully compatible with CpYthon. Also, make
their numeric values of these options compatible with Linux (and by extension,
with iBCS2 standard, which jopefully means compatibility with other Unices too).
9 years ago
Damien George
40274fec9c
lib/pyexec: Move header pyexec.h from stmhal directory.
9 years ago
Alex March
c27e5c4b0b
cc3200: FatFS configuration moved to the library folder.
Port specific settinigs defined in mpconfigport. FreeRTOS and semphr
headers added to define SemaphoreHandle_t for the SYNC_T.
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
danicampora
1673e19cb9
cc3200: Make telnet server ignore NULL characters.
This fixes paste mode (Ctrl-E) which was not working for the
telnet REPL.
9 years ago
danicampora
056cb288d9
cc3200: Remove includes of rom.h (must be included via rom_map.h).
9 years ago
danicampora
f67d06194f
cc3200: Fix SPI clock divider calculation.
9 years ago
Paul Sokolovsky
000a12783c
cc3200: Use common pyexec.c .
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
Paul Sokolovsky
9b12bc788f
cc3200: Switch from HAL_GetTick() to mp_hal_ticks_ms().
9 years ago
Paul Sokolovsky
f4decdc4a3
cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().
9 years ago
danicampora
f3b1a933fc
cc3200: Actually allow to specify a custom build directory.
9 years ago
danicampora
a0fb7a76cd
cc3200: Fix bug in FTP command buffer, and set listening backlog to 0.
9 years ago
danicampora
1950295735
cc3200: Set pin direction first, then value. Fixes #1542 .
9 years ago
Martijn Koster
8e8aac89a5
cc3200: Update README to change pyb to machine.
9 years ago
danicampora
a654914de4
cc3200: Allow to read pin value when in OPEN_DRAIN mode.
9 years ago
danicampora
a3a33db409
cc3200: Enable WLAN irq on creation.
9 years ago
danicampora
0212dc65b7
cc3200: Add created sockets to the registry.
9 years ago
danicampora
8fd8bb36b3
cc3200: Bump version to 1.1.0
Incluides several improvements and a few API changes to comply
with the new hardware API.
9 years ago
danicampora
075ca64521
cc3200: Fix UART tests after correcting uart.read() behaviour.
9 years ago
danicampora
be2879ce89
cc3200: Enable "all special methods" configuration option.
9 years ago
danicampora
1f2daf4304
cc3200: Correct ticks_cpu and ticks_us functions in time module.
9 years ago
danicampora
1c7f9b16f0
cc3200: Remove UART info on README.md.
The UART REPL it's not enabled by default anymore.
9 years ago
danicampora
04db848dc7
docs: Add usocket and ussl modules' documentation.
9 years ago
danicampora
4b630c452d
cc3200: Make socket.listen([backlog]) compliant with Python 3.5.
9 years ago
danicampora
719dca2515
cc3200: Clean-up socket constants.
9 years ago
danicampora
d67ea6b29f
cc3200: Add comment about micropython extensions to standard modules.
9 years ago
danicampora
7ff585333e
cc3200: uart.read() returns EGAIN if no chars available.
9 years ago
danicampora
9a507c67ad
cc3200: Enable REPL autoindent.
9 years ago
danicampora
9c72c71c05
cc3200: WLAN class can retrieve the existing instance.
9 years ago
danicampora
ae70e98ed4
cc3200: Fix time.ticks_* functions.
9 years ago
danicampora
36ae417c9f
docs: Add wipy and network.server documentation.
9 years ago
danicampora
2e0cd20a1d
cc3200: Refactor network module to make the server a propper object.
9 years ago
danicampora
65f6324573
cc3200: Increase stack sizes a bit.
9 years ago
danicampora
d8137178bb
cc3200: Create wipy module, remove HeartBeat class.
The heartbeat is now controllable via a single function within the
wipy module.
9 years ago
danicampora
4542643025
docs: Update all WiPy docs to reflect the new API.
9 years ago
danicampora
fca3308cc3
cc3200: Improvements to terminal duplication.
9 years ago
danicampora
e19dfe1c32
cc3200: In scan results rename 'auth' field to 'sec'.
As defined by the new API, since 'auth' is actually a tuple
composed by the security type and the key.
9 years ago
Damien George
0334058fa4
Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.
9 years ago