| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-02-15 | py/asmx64: Support all 16 regs in reg to memory move instructions. | Damien George | |
| 2016-02-15 | py/asmx64: Add helper macro for generating REX_[WRXB] bits from a reg64. | Damien George | |
| 2016-02-15 | cc3200: Fix breakage after VfsFat refactor. | Paul Sokolovsky | |
| 2016-02-15 | extmod/vfs_fat_ffconf: Reusable FatFs module, move from stmhal/ffconf. | Paul Sokolovsky | |
| TODO: Probably merge into vfs_fat_diskio. | |||
| 2016-02-15 | extmod/vfs_fat_file: Reusable FatFs module, move from stmhal/file. | Paul Sokolovsky | |
| 2016-02-15 | extmod/vfs_fat_diskio: Reusable FatFs module, move from stmhal/diskio. | Paul Sokolovsky | |
| 2016-02-15 | py/mpstate.h: fs_user_mount is now standard, reusable uPy functionality. | Paul Sokolovsky | |
| 2016-02-14 | tests/vfs_fat_ramdisk: Allow to override sector size. | Paul Sokolovsky | |
| 2016-02-14 | tests/vfs_fat_ramdisk: Switch to ioctl-based blockdev API. | Paul Sokolovsky | |
| 2016-02-14 | stmhal/diskio: Add provision for default returns for ioctl INIT/SEC_SIZE. | Paul Sokolovsky | |
| If None was returned for such requests (which likely means that user simply didn't handle them), it means successful init and default sector size of 512 bytes respectively. This makes only BP_IOCTL_SEC_COUNT a mandatory request, and thus re-establishes parity with old interface, where only .count() is mandatory(). | |||
| 2016-02-14 | tests/vfs_fat_ramdisk: Add test for VfsFat. | Paul Sokolovsky | |
| 2016-02-14 | stmhal/file: Paranoid compiler warnings cleanness. | Paul Sokolovsky | |
| 2016-02-14 | stmhal/diskio,file: Nanbox cleanness. | Paul Sokolovsky | |
| 2016-02-14 | extmod/fsusermount,vfs_fat: Nanbox cleanness. | Paul Sokolovsky | |
| 2016-02-14 | unix: Enable VfsFat support. | Paul Sokolovsky | |
| 2016-02-14 | extmod/vfs_fat: Object-oriented encapsulation of FatFs VFS. | Paul Sokolovsky | |
| This implements OO interface based on existing fsusermount code and with minimal changes to it, to serve as a proof of concept of OO interface. Examle of usage: bdev = RAMFS(48) uos.VfsFat.mkfs(bdev) vfs = uos.VfsFat(bdev, "/ramdisk") f = vfs.open("foo", "w") f.write("hello!") f.close() | |||
| 2016-02-14 | py/obj.h: If not float support is enabled, define mp_obj_is_float(o) to false. | Paul Sokolovsky | |
| We have so many configuration options, that finally having shortcuts like this is helpful and cuts on number of ifdef's. | |||
| 2016-02-14 | tests/bytearray1: Add testcases for "in" operator. | Paul Sokolovsky | |
| 2016-02-14 | py/objarray: Implement "in" operator for bytearray. | Paul Sokolovsky | |
| 2016-02-14 | eagle.rom.addr.v6.ld: More symbols from SDK 1.5.0. | Paul Sokolovsky | |
| 2016-02-13 | extmod/fsusermount: umount: Add NULL pointer checks. | Paul Sokolovsky | |
| 2016-02-13 | float/string_format: Split large test in 2. | Paul Sokolovsky | |
| 2016-02-13 | tests/run-tests: Add esp8266 target. | Paul Sokolovsky | |
| 2016-02-13 | test/float2int: Make test output clearer. | Paul Sokolovsky | |
| 2016-02-12 | esp8266/modpybrtc: Simplify multiplication by fixed-point value. | Paul Sokolovsky | |
| 2016-02-10 | stmhal: NUCLEO 401 - Add definitions for I2C2 and I2C3 | Dave Hylands | |
| 2016-02-10 | stmhal: CERB40 - Add pins defines for I2C3 | Dave Hylands | |
| 2016-02-10 | stmhal: NUCLEO 401 - Add a bunch of missing pins and reorder the pins | Dave Hylands | |
| This groups the pins for a port together and puts them in numerical order. It also adds ARDUINO pin names. | |||
| 2016-02-10 | stmhal: Add a function for setting the pin alternate function | Dave Hylands | |
| mp_hal_gpio_set_af will search for a given function and unit and set the alternate function to the alternate function index found. | |||
| 2016-02-10 | extmod/fsusermount: Move BP_IOCTL_xxx constants to fsusermount.h. | Damien George | |
| 2016-02-10 | extmod/fsusermount: Support mounting of multiple block devices. | Damien George | |
| This patch adds support to fsusermount for multiple block devices (instead of just one). The maximum allowed is fixed at compile time by the size of the fs_user_mount array accessed via MP_STATE_PORT, which in turn is set by MICROPY_FATFS_VOLUMES. With this patch, stmhal (which is still tightly coupled to fsusermount) is also modified to support mounting multiple devices And the flash and SD card are now just two block devices that are mounted at start up if they exist (and they have special native code to make them more efficient). | |||
| 2016-02-10 | stmhal: Add mount/umount/mkfs to os module. | Damien George | |
| 2016-02-10 | extmod/fsusermount: Expose umount as a public function. | Damien George | |
| 2016-02-10 | stmhal: Expose flash and SD card as proper objects with block protocol. | Damien George | |
| You can now create (singleton) objects representing the flash and SD card, using: flash = pyb.Flash() sdcard = pyb.SDCard() These objects provide the block protocol. | |||
| 2016-02-10 | tests/pyb: Add simple test for stm module on pyboard. | Damien George | |
| 2016-02-10 | extmod/modmachine: Truncate integers that are to be stored using mem*. | Damien George | |
| Addresses issue #1835. | |||
| 2016-02-10 | stmhal: Improve NUCLEO-F401RE build, with UART2 as REPL. | Dave Hylands | |
| This enables MICROPY_HW_HAS_FLASH which got missed. The HW has UART2 on the 401 connected to the STLINK procesor which exposes it as USB serial. This connects that up so that you can get a REPL using the USB serial. | |||
| 2016-02-10 | lib/fatfs: Add support for sector sizes larger than 512 bytes. | Damien George | |
| If MICROPY_FATFS_MAX_SS is defined to power of 2 value between 1024 and 4096, support for dynamic sector size in FatFs will be enabled. Note that FatFs reserves static buffer of MICROPY_FATFS_MAX_SS size for each filesystem in use, so that value should be set sparingly. Initial patch provided by @pfalcon. | |||
| 2016-02-10 | extmod/fsusermount: Change block protocol to support ioctl method. | Damien George | |
| The new block protocol is: - readblocks(self, n, buf) - writeblocks(self, n, buf) - ioctl(self, cmd, arg) The new ioctl method handles the old sync and count methods, as well as a new "get sector size" method. The old protocol is still supported, and used if the device doesn't have the ioctl method. | |||
| 2016-02-10 | extmod/fsusermount: Implement separate umount() function. | Paul Sokolovsky | |
| 2016-02-10 | extmod/fsusermount: Introduce separate mkfs() function. | Paul Sokolovsky | |
| Per the previously discussed plan. mount() still stays backward-compatible, and new mkfs() is rought and takes more args than needed. But is a step in a forward direction. | |||
| 2016-02-09 | py/viper: Allow uint as index to load/store, and give better error msg. | Damien George | |
| 2016-02-09 | py/viper: Allow casting of Python integers to viper pointers. | Damien George | |
| This allows you to pass a number (being an address) to a viper function that expects a pointer, and also allows casting of integers to pointers within viper functions. This was actually the original behaviour, but it regressed due to native type identifiers being promoted to 4 bits in width. | |||
| 2016-02-08 | esp8266/README: Add hint about adding toolchain to PATH. | Paul Sokolovsky | |
| 2016-02-08 | esp8266/modpybrtc: pyb_rtc_memory(): Fix copy-paste error. | Paul Sokolovsky | |
| 2016-02-08 | esp8266/modesp: Implement flash_write(), flash_erase(). | Alex March | |
| 2016-02-07 | cc3200: Add stmhal/builtin_open.c to build. | Paul Sokolovsky | |
| 2016-02-07 | stmhal/file: For self-contained usecase, don't define global types. | Paul Sokolovsky | |
| If MICROPY_VFS_FAT is defined, mp_type_fileio & mp_type_textio won't be defined, as these may be alredy defined elsewhere. The idea is to have compartmentalized VFS FatFs class, which can work in parallel with some other "main" filesystem. E.g., for unix port, mp_type_fileio, etc. will be defined for the main POSIX filesystem, while stmhal/file.c will be a self-contained VFS file class. | |||
| 2016-02-07 | stmhal/file: Recast as "FatFs file" class, to support other VFS types. | Paul Sokolovsky | |
| Move definition of mp_builtin_open_obj to a separate module, then file.c becomes more or less compartmentalized FatFs file class, which can be used together with file class implementations for other (V)FSes. | |||
| 2016-02-06 | extmod/fsusermount: Common subexpression elimination. | Paul Sokolovsky | |
| Don't repeat MP_STATE_PORT(fs_user_mount), use local var. | |||
