- 12 Apr, 2016 1 commit
-
-
Damien George authored
-
- 07 Apr, 2016 1 commit
-
-
Martin Fischer authored
SOF irqs are now standard for rx/tx USB transfers, so enable them for both FS and HS modes. Fixes #1944.
-
- 13 Mar, 2016 3 commits
-
-
Dave Hylands authored
Added definitions for SPI1, SPI2, and SPI3 Removed USB stuff (that could be removed) Updated BOARD name defintion
-
Dave Hylands authored
This makes the board match the name printed on the board (and agree with the documentation)
-
Dave Hylands authored
-
- 09 Mar, 2016 3 commits
-
-
Christopher Arndt authored
-
Ryan Shaw authored
-
Christopher Arndt authored
-
- 08 Mar, 2016 2 commits
-
-
Damien George authored
-
Damien George authored
tools/pydfu.py is now the recommended way of deploying a DFU file. Old behaviour of dfu-util can be obtained by passing USE_PYDFU=0 when invoking make. The main README.md file has been updated to reflect this change.
-
- 07 Mar, 2016 4 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
-
Dave Hylands authored
-
Pavol Rusnak authored
To make it easier to spot differences.
-
- 03 Mar, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 28 Feb, 2016 2 commits
-
-
Paul Sokolovsky authored
Moved from stmhal.
-
Paul Sokolovsky authored
-
- 25 Feb, 2016 1 commit
-
-
Damien George authored
-
- 15 Feb, 2016 2 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
- Put the I2C bus on the corect pins - Add the appropriate board_init to power the shield
-
- 14 Feb, 2016 7 commits
-
-
Paul Sokolovsky authored
TODO: Probably merge into vfs_fat_diskio.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
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().
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 11 Feb, 2016 4 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
-
Dave Hylands authored
This groups the pins for a port together and puts them in numerical order. It also adds ARDUINO pin names.
-
Dave Hylands authored
mp_hal_gpio_set_af will search for a given function and unit and set the alternate function to the alternate function index found.
-
- 10 Feb, 2016 7 commits
-
-
Damien George authored
-
Damien George authored
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).
-
Damien George authored
-
Damien George authored
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.
-
Dave Hylands authored
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.
-
Damien George authored
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.
-
Damien George authored
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.
-
- 09 Feb, 2016 1 commit
-
-
Paul Sokolovsky authored
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.
-
- 06 Feb, 2016 1 commit
-
-
Paul Sokolovsky authored
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.
-