Damien George
b6c7e4b143
all: Use full path name when including mp-readline/timeutils/netutils.
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.
8 years ago
Damien George
12d0731b91
extmod/vfs_fat: Remove obsolete and unused str/len members.
8 years ago
Damien George
70201f4038
cc3200/mptask: Allocate flash VFS struct on the heap to trace root ptrs.
8 years ago
Damien George
b697c89009
extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat
specific things.
8 years ago
Damien George
56506fd64a
cc3200: Convert to use new VFS sub-system and new ooFatFs library.
8 years ago
Paul Sokolovsky
25f44c19f1
cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting).
UART REPL support was lost in os.dupterm() refactorings, etc. As
os.dupterm() is there, implement UART REPL support at the high level -
if MICROPY_STDIO_UART is set, make default boot.py contain os.dupterm()
call for a UART. This means that changing MICROPY_STDIO_UART value will
also require erasing flash on a module to force boot.py re-creation.
8 years ago
Damien George
17886828c8
cc3200/gccollect: Use MP_STATE_THREAD(stack_top) to get top of stack.
9 years ago
Damien George
0455755296
cc3200: Use xTaskCreateStatic instead of osi_TaskCreate.
This allows to statically allocate the TCB (thread control block) and
thread stack in the BSS segment, reducing the need for dynamic memory
allocation.
9 years ago
Damien George
eef4f13a33
cc3200: Add basic threading capabilities.
Can create a new thread and run it. Does not use the GIL at this point.
9 years ago
danicampora
e4404fbef0
cc3200: Unmount all user file systems after a soft reset.
9 years ago
Damien George
40274fec9c
lib/pyexec: Move header pyexec.h from stmhal directory.
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
f4decdc4a3
cc3200: Switch from HAL_Delay() to mp_hal_delay_ms().
9 years ago
Daniel Campora
eb9a3ec654
cc3200: Disable uheapq and uhashlib.
Those two are rarely used features and better to have the extra heap.
9 years ago
Daniel Campora
37a2015cc5
tests/wipy: Add machine module tests.
9 years ago
Daniel Campora
c92e6a45eb
cc3200: Rename pyb module to machine.
9 years ago
Daniel Campora
ef369249cb
cc3200: Implement support for os.dupterm().
9 years ago
Daniel Campora
57fa14b5be
cc3200: New WLAN API including test.
9 years ago
Daniel Campora
dbdcb58d64
cc3200: New irq API, affects all classes that provide the irq method.
9 years ago
Daniel Campora
dffa9f6da6
cc3200: New SD and RTC API plus os and time modules' extensions.
9 years ago
Daniel Campora
4d7fa05b43
cc3200: Improve Pin and UART implementation.
Deassign pins af before assigning. Make uart.any() return the
correct value everytime, this requires interrupts to be always
enabled.
9 years ago
Daniel Campora
f91f212d9f
cc3200: New UART API plus related test.
9 years ago
Daniel Campora
d5e256486e
cc3200: Re-work Pin class according to the new API.
Also add relevant test.
9 years ago
Daniel Campora
e3f8777ee8
cc3200: Implement new Pin API.
9 years ago
Daniel Campora
11d21081b4
cc3200: Rework SD API. Increase heap to avoid malloc failures.
9 years ago
Daniel Campora
7da2fdc3cd
cc3200: On the first boot, always make AP ssid='wipy-wlan'.
On the first boot don't add the MAC address, this is to speed up
factory testing.
9 years ago
Daniel Campora
2673374d18
cc3200: Refactor PRCM special user bits implementation.
9 years ago
Daniel Campora
aa58c7ec74
cc3200: Append last 2 bytes of the MAC address to the default SSID.
9 years ago
Daniel Campora
f738424403
cc3200: Remove superflous assignment since the result is not used.
9 years ago
Daniel Campora
753a8e8bc4
cc3200: Create /flash/cert folder if it doesn't exist.
9 years ago
Daniel Campora
e955089da0
cc3200: Implement new OTA mechanism with 2 firmware update slots.
9 years ago
Daniel Campora
5685b565c3
cc3200: Create /flash/sys and /flash/lib directories while booting.
9 years ago
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
10 years ago
Daniel Campora
d07de2d307
cc3200: Move the STDIO UART pin configuration to mpconfigboard.h.
10 years ago
Daniel Campora
95f19b4542
cc3200: Remove duplicated checks for boot.py and main.py existency.
10 years ago
Daniel Campora
ed56b0baba
cc3200: Finally unlock the full wake on WLAN feature set.
10 years ago
Daniel Campora
e800db562f
cc3200: Add uhashlib. Supports SHA1 and SHA256.
10 years ago
Daniel Campora
8e611e8414
cc3200: Add Timer module. Supports free running, PWM and capture modes.
10 years ago
Daniel Campora
f54bdecff2
cc3200: Implement Sleep.wake_reason()
10 years ago
Daniel Campora
6f218d7472
cc3200: Move wlan_init0() to the boot section.
This one creates a semaphore, therefore it must be executed only
after a hard reset (or when coming out of hibernation).
10 years ago
Damien George
259eaab9a9
cc3200: Clean up and reduce use/include of std.h.
10 years ago
Daniel Campora
6e25d955f4
cc3200: Enable long filename support in FatFS.
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.
10 years ago
Daniel Campora
18bd51707c
cc3200: Enable the stdio UART for the LaunchXL only.
10 years ago
Daniel Campora
c7acfc90b9
cc3200: Enable pull-ups for the STDIO UART pins.
10 years ago
Daniel Campora
b9d850227d
cc3200: Add WLAN AP specific settings for each board.
10 years ago
Daniel Campora
d460a30711
cc3200: Add specific version file for the CC3200 port.
Current version has been numbered as 0.9.0 since Timers/PWM support
is still missing.
10 years ago
Daniel Campora
2d717ad97a
cc3200: Add callback support to the UART for RX interrupts.
10 years ago
Daniel Campora
26d230419c
cc3200: Add GPIO25 to the pins list of the WiPy and the WiPy-SD.
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.
10 years ago
Daniel Campora
e15f8198bc
cc3200: Keep WLAN enabled during the soft reset.
10 years ago
danicampora
59f6831336
cc3200: Reduce soft reset time. WLAN is not reinit, just reenabled.
10 years ago