1. 30 Jan, 2017 2 commits
  2. 27 Jan, 2017 1 commit
    • Damien George's avatar
      stmhal: Convert to use VFS sub-system and new ooFatFs component. · 84c614e7
      Damien George authored
      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.
  3. 24 Jan, 2017 1 commit
    • Damien George's avatar
      stmhal: Add ability to have filesystem stored on external SPI flash. · d6a2d001
      Damien George authored
      To use this feature a port should define MICROPY_HW_SPIFLASH_SIZE_BITS
      along with x_CS, x_SCK, x_MOSI, x_MISO (x=MICROPY_HW_SPIFLASH).  This will
      then use external SPI flash on those pins instead of the internal flash.
      The SPI is done using the software implementation.  There is currently only
      support for standard SPI (ie not dual or quad mode).
  4. 13 Dec, 2016 2 commits
  5. 26 Nov, 2016 1 commit
  6. 04 Oct, 2016 1 commit
    • Dave Hylands's avatar
      stmhal: Fix linker map for STM32L476 chips. · 1f433c71
      Dave Hylands authored
      In particular, this makes the L4 .isr_vector section 16K in size so it's
      the same as the F4/F7 MCUs.  The patch also moves the L4 filesystem to
      the end of flash, which allows for 512K filesystem on the 1Mb devices
      like the STM32L476DISC.
  7. 21 Apr, 2016 1 commit
  8. 09 Mar, 2016 1 commit
  9. 10 Feb, 2016 3 commits
  10. 25 Nov, 2015 1 commit
  11. 01 Nov, 2015 1 commit
  12. 02 Aug, 2015 1 commit
    • Dave Hylands's avatar
      stmhal: Add STM32F7 support for USB serial and storage. · 8f1eced6
      Dave Hylands authored
      USB serial is now working for F7.
      Internal file storage is now working for F7.  The flash is laid out a bit
      differently to the F4 - 4 x 32K, 1 x 128K with the rest 256K, so the
      internal storage is 96K.
      Added more pind definitions for STM32F7DISC board.  Made USART1 be the
      default HWUART repl.  The STLINK usb connector also looks like a USB
      serial port which is attached to USART1 on the STM32F7DISC.
  13. 29 Jul, 2015 2 commits
  14. 27 Jun, 2015 1 commit
  15. 18 Apr, 2015 3 commits
  16. 01 Jan, 2015 1 commit
  17. 28 Jun, 2014 1 commit
  18. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
  19. 16 Apr, 2014 1 commit
    • Damien George's avatar
      stmhal: Improve flash storage cache management. · 6d983539
      Damien George authored
      Internal flash used for the filesystem is now written (from the cache)
      only after a 5s delay, or when a file is closed, or when the drive is
      unmounted from the host.  This delay means that multiple writes can
      accumulate in the cache, and leads to less writes to the flash, making
      it last longer.
      It's implemented by a high-priority interrupt that takes care of flash
      erase and write, and flushing the cache.
      This is still only an interim solution for the flash filesystem.  It
      eventually needs to be replaced with something that uses less RAM for
      the cache, something that can use more of the flash, and something that
      does proper wear levelling.
  20. 17 Mar, 2014 1 commit
  21. 08 Feb, 2014 1 commit
  22. 21 Jan, 2014 1 commit
  23. 06 Jan, 2014 2 commits
  24. 04 Jan, 2014 2 commits
  25. 21 Dec, 2013 1 commit
    • Damien's avatar
      Change object representation from 1 big union to individual structs. · d99b0528
      Damien authored
      A big change.  Micro Python objects are allocated as individual structs
      with the first element being a pointer to the type information (which
      is itself an object).  This scheme follows CPython.  Much more flexible,
      not necessarily slower, uses same heap memory, and can allocate objects
      Also change name prefix, from py_ to mp_ (mp for Micro Python).
  26. 20 Dec, 2013 1 commit
  27. 17 Dec, 2013 1 commit
  28. 11 Dec, 2013 1 commit
  29. 23 Oct, 2013 1 commit
  30. 19 Oct, 2013 2 commits