1. 12 Dec, 2015 2 commits
    • Johny Mattsson's avatar
      d84a24fc
    • 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
  2. 06 Dec, 2015 4 commits
  3. 05 Dec, 2015 3 commits
  4. 03 Dec, 2015 2 commits
  5. 02 Dec, 2015 1 commit
  6. 01 Dec, 2015 3 commits
  7. 28 Nov, 2015 1 commit
  8. 24 Nov, 2015 2 commits
  9. 23 Nov, 2015 1 commit
    • TerryE's avatar
      Merge Onewire changes from Master into Dev · 583049f6
      TerryE authored
      Master contained two OW changes one of which was already reimplemented in dev using the
      correct macros.  The second was from hazarkarabay (f6d0c0c) that onewire_search()
      returns a device address vector even when no device is found.  I've reimplemented this
      but using the correct index, rom_byte_number, rather than declaring a new temp index i.
      583049f6
  10. 22 Nov, 2015 2 commits
  11. 20 Nov, 2015 1 commit
  12. 19 Nov, 2015 5 commits
  13. 18 Nov, 2015 4 commits
  14. 17 Nov, 2015 5 commits
  15. 16 Nov, 2015 4 commits