Paul Sokolovsky
aee723ed4c
tests/run-tests: Skip frozenset tests if set literal syntax is not available.
8 years ago
Paul Sokolovsky
d335904666
zephyr/Makefile.zephyr: Support and default to networked (SLIP) QEMU.
Also works for non-networked builds (like minimal).
8 years ago
Andrew Gatt
10dbf2383f
extmod/vfs_fat.c: Use explicit include path for timeutils.h.
8 years ago
Damien George
c30b308492
extmod/vfs_reader: Fix use of NLR by popping context.
8 years ago
Damien George
5ec5bfb0d3
docs/pyboard/tutorial/lcd160cr_skin: Fix typo, get_touched->get_touch.
8 years ago
Damien George
6b12934fec
stmhal: Fix stack pointer initialisation for F411 and F429 boards.
The stack pointer should start pointing 1 byte past the top of the end of
RAM.
8 years ago
Damien George
a526352454
stmhal: Set the FatFs partition number when initialising VFS object.
stmhal has MULTI_PARTITION enabled for FatFs and so these values need to be
initialised.
8 years ago
Damien George
220abca311
stmhal: Use LED constants from PYBv4 onwards.
8 years ago
Damien George
30beed119f
unix/modos: Remove VfsFat from uos module, it's now in uos_vfs module.
8 years ago
Damien George
0fb27888fc
extmod/vfs_fat: Remove unused function fat_vfs_listdir.
8 years ago
Damien George
196406e17a
extmod/vfs_fat: Remove unused fatfs_builtin_open function.
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
9425bf5b2b
lib/fatfs: Remove old fatfs library component, it's replaced by oofatfs.
8 years ago
Damien George
0bd61d23b9
extmod/vfs_fat: Remove MICROPY_FATFS_OO config option.
Everyone should now be using the new ooFatFs library. The old one is no
longer supported and will be removed.
8 years ago
Damien George
95635ade8b
unix/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config.
8 years ago
Damien George
c95c583857
esp8266/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config.
8 years ago
Damien George
1808b2e8d5
extmod: Remove MICROPY_FSUSERMOUNT and related files.
Replaced by MICROPY_VFS and the VFS sub-system.
8 years ago
Damien George
3d6f957208
extmod/vfs_fat: Remove MICROPY_FSUSERMOUNT_ADHOC config option.
8 years ago
Damien George
8beba7310f
extmod/vfs_fat: Remove MICROPY_READER_FATFS component.
8 years ago
Damien George
56506fd64a
cc3200: Convert to use new VFS sub-system and new ooFatFs library.
8 years ago
Damien George
6eafa54486
extmod/vfs: Expose lookup_path_raw as mp_vfs_lookup_path.
It can be useful for low-level lookup of paths by ports.
8 years ago
Damien George
ec3274324b
extmod/vfs_fat: Update to use FF_DIR instead of DIR.
8 years ago
Damien George
28899cd971
lib/oofatfs: Update oofatfs library.
From https://github.com/micropython/oofatfs , branch work-R0.12b,
commit 46fb53331e7a583c29a41d37ce4b53f2718597e5.
8 years ago
Paul Sokolovsky
a5bed53738
examples/hwapi: Consistently use Signal class to define LEDs.
8 years ago
Paul Sokolovsky
297af6036e
examples/hwapi: Use Signal for inverted LED on ESP-12.
8 years ago
Paul Sokolovsky
287180a0a8
esp8266/modmachine: Add Signal class.
8 years ago
Paul Sokolovsky
7a7516d40d
extmod/machine_signal: Implement "signal" abstraction for machine module.
A signal is like a pin, but ca also be inverted (active low). As such, it
abstracts properties of various physical devices, like LEDs, buttons,
relays, buzzers, etc. To instantiate a Signal:
pin = machine.Pin(...)
signal = machine.Signal(pin, inverted=True)
signal has the same .value() and __call__() methods as a pin.
8 years ago
Paul Sokolovsky
18b6835a92
esp8266/machine_pin: Implement pin ioctl protocol.
For polymorphic interfacing on C level.
8 years ago
Paul Sokolovsky
0ddeedfc73
docs/uio: Typo fixes/lexical improvements.
8 years ago
Paul Sokolovsky
bdb0d22fe2
docs/conf.py: Add myself as a copyright holder on the docs.
Based on the following statistics:
$ git log docs |grep Author | sort | uniq -c | sort -n -r
175 Author: Paul Sokolovsky
135 Author: Damien George
31 Author: Daniel Campora
26 Author: danicampora
14 Author: Peter Hinch
git blame stats script from http://stackoverflow.com/a/13687302/496009 :
$ sh git-authors docs
9977 author Damien George
2679 author Paul Sokolovsky
1699 author Daniel Campora
1580 author danicampora
1286 author Peter Hinch
282 author Shuning Bian
249 author Dave Hylands
Total lines per this script: 18417, my contribution is 14.5%.
8 years ago
Damien George
9d3ad75b39
stmhal/moduos: Remove duplicated chdir.
8 years ago
Damien George
c3cd46e5c2
stmhal: Fix name of automatically created boot.py.
8 years ago
Paul Sokolovsky
3a3543251f
cc3200/modusocket: Remove deprecated socket.error.
socket.error is deprecated even in upstream:
https://docs.python.org/3/library/socket.html#socket.error ,
and never was a part of MicroPython socket API.
8 years ago
Paul Sokolovsky
ef6fb66d23
docs/uio: Describe differences between uPy an CPy stream hierarchy.
8 years ago
Paul Sokolovsky
6947a7f6a9
docs/usocket: Dedent Methods section.
This was apparently of an ::only directive which was later removed.
8 years ago
Paul Sokolovsky
f23c47fea7
docs/usocket: Clarify description of various methods.
8 years ago
Paul Sokolovsky
74fcb122f0
docs/usocket: Elaborate "Constants" section.
8 years ago
Paul Sokolovsky
59540dccf1
docs/usocket: Clarify exceptions used.
8 years ago
Paul Sokolovsky
0aa83142a4
docs/machine: Add explicit note on machine module level and scope.
It's very low, hardware level, with associated constraints on operations
and callbacks.
8 years ago
Paul Sokolovsky
56e7ebf07a
docs/machine.Timer: Move WiPy adhoc parts to its documentation.
8 years ago
Paul Sokolovsky
300ecac336
zephyr/prj_frdm_k64f.conf: Add, enable Ethernet support.
8 years ago
Paul Sokolovsky
1df1642b70
zephyr: Allow to have per-board Zephyr config fragments.
To enable options which may be incompatible with other boards, etc.
8 years ago
Paul Sokolovsky
40e72e4a5c
zephyr: Make sure that correct Zephyr config is used for "minimal" build.
Overriding CONF_FILE in "minimal" target itself is too late due to include-
pinned $(Z_EXPORTS) target.
8 years ago
Damien George
0390bc97ea
lib/oofatfs: Update oofatfs library.
From https://github.com/micropython/oofatfs , branch work-R0.12b,
commit 1e295b40550664bbaac18d95a4b6a58154464d31.
8 years ago
Damien George
a0c729681f
tests/extmod/vfs_fat_ramdisk: Make it work on pyboard.
8 years ago
Damien George
bfa948c0a5
cc3200: Add implementations of mp_import_stat and builtin_open.
They disappeared when stmhal changed to use new MICROPY_VFS code.
8 years ago
Damien George
84c614e729
stmhal: Convert to use VFS sub-system and new ooFatFs component.
This patch makes the following configuration changes:
- MICROPY_FSUSERMOUNT is disabled, removing old mounting infrastructure
- MICROPY_VFS is enabled, giving new VFS sub-system
- MICROPY_VFS_FAT is enabled, giving uos.VfsFat type
- MICROPY_FATFS_OO is enabled, to use new ooFatFs lib, R0.12b
User facing API should be almost unchanged. Most notable changes are
removal of os.mkfs (use os.VfsFat.mkfs instead) and pyb.mount doesn't
allow unmounting by passing None as the device.
8 years ago
Damien George
3242cf2d36
stmhal/usbd_msc_storage: Use storage functions instead of disk ones.
8 years ago
Damien George
4565d42e70
esp8266/fatfs_port: Include new oofatfs header.
8 years ago
Damien George
9225ce6a14
unix/fatfs_port: Include new oofatfs header.
8 years ago