1. 22 Sep, 2016 1 commit
  2. 21 Sep, 2016 1 commit
  3. 16 Sep, 2016 1 commit
  4. 26 May, 2016 1 commit
  5. 16 Dec, 2015 1 commit
  6. 12 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. · c4e8b04f
      Johny Mattsson authored
      There was only one genuine use of this macro, all other places were
      using it only as a necessary compensation. While this was fine as long as
      it was the first meg of flash which was mapped, it became incorrect and
      quite dangerous whenever this assumption did not hold (such as when
      running from the second slot in an OTA scenario).
      
      The flash API now uses actual addresses, not translated/mapped
      addresses, and the users of this API have been adjusted accordingly.
      This makes the flash API work correctly regardless of what flash mapping
      is in use.
      
      The old macro is still available under the new name
      INTERNAL_FLASH_MAPPED_ADDRESS, and this is used to detect flash writes
      where the source is mapped flash (and thus has to be bounced), and to
      adjust the _flash_used_end linker symbol when used with
      flassh_find_sector() by the filesystem code. The latter usage is not
      OTA-proof, but in an OTA scenario the filesystem needs a fixed location
      anyway and thus would not use this code path.
      c4e8b04f
  7. 12 Oct, 2015 1 commit
  8. 31 Jul, 2015 1 commit
    • Johny Mattsson's avatar
      Reduced SPIFFS cache, freeing ~0.5k RAM. · 4a47813e
      Johny Mattsson authored
      Also made the cache on/off configurable via user_config.h. Uncached writes
      are not a very good idea, but for read-only deployments a further ~0.5k RAM
      can be gained by disabling the cache.
      
      Tweaked the file.read() workhorse to read large chunks at a time rather
      than use getc(), to compensate for potential unavailability of cache.
      4a47813e
  9. 29 May, 2015 2 commits
  10. 21 May, 2015 3 commits
  11. 02 Apr, 2015 1 commit
  12. 09 Mar, 2015 1 commit
  13. 13 Feb, 2015 1 commit
  14. 11 Feb, 2015 1 commit
  15. 27 Jan, 2015 2 commits
  16. 08 Jan, 2015 1 commit
  17. 07 Jan, 2015 1 commit
  18. 05 Jan, 2015 1 commit
  19. 22 Dec, 2014 1 commit